mogan icon indicating copy to clipboard operation
mogan copied to clipboard

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

Open PannenetsF opened this issue 1 year ago • 0 comments

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 avatar Jan 15 '24 16:01 PannenetsF