Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

带有\unroll的beamer导出时的页码错误 #1566

Open
PannenetsF opened this issue Jan 15, 2024 · 0 comments
Open

带有\unroll的beamer导出时的页码错误 #1566

PannenetsF opened this issue Jan 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@PannenetsF
Copy link

Mogan 版本

2.12

操作系统版本和架构

macOS 14.2.1 23C71 arm64

描述问题

如果吧\unroll去掉,导出pdf的页码就是正常的;如果带有\unroll,导出的页码只有1/1

<TeXmacs|2.1.2>

<style|<tuple|beamer|cite-sort|shadowed-titles|framed-title>>

<\body>
  <\hide-preamble>
    \;

    <assign|bibliography|<\macro|aux|style|file-name|body>
      <render-bibliography|Reference|<arg|body>>
    </macro>>

    <assign|tit|<macro|body|<with-tit-color|<with|font-size|<if|<value|title-old-style>|1.189|<value|title-font-size>>|ornament-color|<title-bar-color>|ornament-sunny-color|<value|title-sunny-color>|ornament-shadow-color|<value|title-shadow-color>|ornament-border|<value|title-border>|ornament-vpadding|<plus|<value|ornament-vpadding>|<value|title-vpadding>>|<decorated-extra|<with|ornament-sunny-color|dark
    red|ornament-title-style|classic|ornament-color|white|<\ornament>
      <title-left|<arg|body>><htab|5mm><with|font-series|bold|math-font-series|bold|<space|0em|-0.6ex|1.6ex><arg|body>><htab|5mm><title-right|<arg|body>><assign|gpag-length|<macro|<minus|1pag|3fn>>>
    </ornament>>>>>>>

    <assign|bib-list|<\macro|largest|body>
      <\with|bibitem-width|<minimum|<box-info|<transform-bibitem|<arg|largest>>.|w.>|3em>|item-hsep|<value|bibitem-hsep>|bibitem-nr|0|par-flexibility|2.0>
        <\description>
          <tiny|<arg|body>>
        </description>
      </with>
    </macro>>
  </hide-preamble>

  <screens|<\shown>
    <screens|<\hidden>
      <tit|Outline>

      \;

      \;

      \;

      <\with|font-base-size|16>
        <\center>
          <\strong>
            <\with|font-base-size|16>
              Research Goals and Plans
            </with>
          </strong>
        </center>

        <\center>
          \ 
        </center>
      </with>
    </hidden>|<\shown>
      <\tit>
        Unroll
      </tit>

      <unroll|<\shown>
        Test

        \;
      </shown>|<\hidden*>
        Test
      </hidden*>>
    </shown>|<\hidden>
      <\tit>
        Test
      </tit>

      <\bibliography|bib|tm-plain|prop>
        <\bib-list|0>
          \;
        </bib-list>
      </bibliography>
    </hidden>|<\hidden>
      <\tit>
        Test
      </tit>

      \;

      \;

      \;

      \;

      <doc-data|<doc-title|Thanks! Q&A>>
    </hidden>>
  </shown>>
</body>

<\initial>
  <\collection>
    <associate|font|Apple SD Gothic Neo>
    <associate|font-family|rm>
    <associate|info-flag|minimal>
    <associate|math-font|math-stix>
    <associate|ornament-extra-color|white>
    <associate|ornament-hpadding|0spc>
    <associate|ornament-shape|classic>
    <associate|ornament-title-style|bottom right>
    <associate|page-height|auto>
    <associate|page-medium|beamer>
    <associate|page-type|16:9>
    <associate|page-width|auto>
    <associate|preamble|false>
    <associate|title-border|0ln>
    <associate|title-color|<macro|dark brown>>
    <associate|title-vpadding|0.0spc>
  </collection>
</initial>

<\references>
  <\collection>
    <associate|auto-1|<tuple|?|2>>
  </collection>
</references>

<\auxiliary>
  <\collection>
    <\associate|toc>
      <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|Reference>
      <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
      <no-break><pageref|auto-1><vspace|0.5fn>
    </associate>
  </collection>
</auxiliary>

期待的结果

带\unroll也有正常页码导出

@PannenetsF PannenetsF added the bug Something isn't working label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant