* Issue with single Latex run producing incomplete pdf
@ 2023-11-27 17:06 Matthias Güdemann
[not found] ` <c17d418c-d9c5-469a-bf07-089ef375fb9bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Matthias Güdemann @ 2023-11-27 17:06 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1181 bytes --]
Hi all,
since the following commit
```
bb36f127e * LaTeX template: include bookmark package unconditionally.`
```
I get an incomplete pdf output for slides based on beamer. The first slide
is incomplete, slide numbers are incorrect and headers are missing.
Creating a .tex and running xelatex / lualatex two times produces the
desired output, running either only once reproduces the effect of the
incomplete pdf.
The commit message of the above commit states
```
As a consequence, we now default to running LaTeX only
once in producing a PDF (instead of twice). If a table
of contents is present, we still have to run three times
to get the page numbers.
```
is there a way to force running latex twice/thrice even if there is not toc?
best regards
Matthias
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c17d418c-d9c5-469a-bf07-089ef375fb9bn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1775 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Issue with single Latex run producing incomplete pdf
[not found] ` <c17d418c-d9c5-469a-bf07-089ef375fb9bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-11-27 19:00 ` John MacFarlane
[not found] ` <48242F5E-8DF4-49AD-BC67-6B74A5EA0111-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: John MacFarlane @ 2023-11-27 19:00 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 2232 bytes --]
The most reliable way would be to use mklatex as your pdf-engine. It will always run the right number of times.
Sounds like we need two runs for beamer slides. Can you put an issue on the bug tracker?
https://github.com/jgm/pandoc/issues
> On Nov 27, 2023, at 9:06 AM, Matthias Güdemann <matthias.gudemann@gmail.com> wrote:
>
> Hi all,
>
> since the following commit
>
> ```
> bb36f127e * LaTeX template: include bookmark package unconditionally.`
> ```
>
> I get an incomplete pdf output for slides based on beamer. The first slide is incomplete, slide numbers are incorrect and headers are missing.
>
> Creating a .tex and running xelatex / lualatex two times produces the desired output, running either only once reproduces the effect of the incomplete pdf.
>
> The commit message of the above commit states
>
> ```
> As a consequence, we now default to running LaTeX only
> once in producing a PDF (instead of twice). If a table
> of contents is present, we still have to run three times
> to get the page numbers.
> ```
>
> is there a way to force running latex twice/thrice even if there is not toc?
>
> best regards
> Matthias
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c17d418c-d9c5-469a-bf07-089ef375fb9bn%40googlegroups.com <https://groups.google.com/d/msgid/pandoc-discuss/c17d418c-d9c5-469a-bf07-089ef375fb9bn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/48242F5E-8DF4-49AD-BC67-6B74A5EA0111%40gmail.com.
[-- Attachment #2: Type: text/html, Size: 3172 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Issue with single Latex run producing incomplete pdf
[not found] ` <48242F5E-8DF4-49AD-BC67-6B74A5EA0111-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2023-11-27 19:35 ` BPJ
[not found] ` <CADAJKhCsDHPO-L_U5vix4pasj9AswJgX6A83pJw+0-caEbmVaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-28 9:35 ` Matthias Güdemann
1 sibling, 1 reply; 6+ messages in thread
From: BPJ @ 2023-11-27 19:35 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1: Type: text/plain, Size: 2981 bytes --]
Den mån 27 nov. 2023 20:01John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
> The most reliable way would be to use mklatex as your pdf-engine. It will
> always run the right number of times.
>
You mean *latexmk* (not "mklatex") right?
> Sounds like we need two runs for beamer slides. Can you put an issue on
> the bug tracker?
> https://github.com/jgm/pandoc/issues
>
>
> On Nov 27, 2023, at 9:06 AM, Matthias Güdemann <
> matthias.gudemann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hi all,
>
> since the following commit
>
> ```
> bb36f127e * LaTeX template: include bookmark package unconditionally.`
> ```
>
> I get an incomplete pdf output for slides based on beamer. The first slide
> is incomplete, slide numbers are incorrect and headers are missing.
>
> Creating a .tex and running xelatex / lualatex two times produces the
> desired output, running either only once reproduces the effect of the
> incomplete pdf.
>
> The commit message of the above commit states
>
> ```
> As a consequence, we now default to running LaTeX only
> once in producing a PDF (instead of twice). If a table
> of contents is present, we still have to run three times
> to get the page numbers.
> ```
>
> is there a way to force running latex twice/thrice even if there is not
> toc?
>
> best regards
> Matthias
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/c17d418c-d9c5-469a-bf07-089ef375fb9bn%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/c17d418c-d9c5-469a-bf07-089ef375fb9bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/48242F5E-8DF4-49AD-BC67-6B74A5EA0111%40gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/48242F5E-8DF4-49AD-BC67-6B74A5EA0111%40gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhCsDHPO-L_U5vix4pasj9AswJgX6A83pJw%2B0-caEbmVaw%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 4772 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Issue with single Latex run producing incomplete pdf
[not found] ` <CADAJKhCsDHPO-L_U5vix4pasj9AswJgX6A83pJw+0-caEbmVaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2023-11-28 4:45 ` John MacFarlane
0 siblings, 0 replies; 6+ messages in thread
From: John MacFarlane @ 2023-11-28 4:45 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Sorry, right: latexmk
> On Nov 27, 2023, at 11:35 AM, BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org> wrote:
>
>
>
> Den mån 27 nov. 2023 20:01John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
> The most reliable way would be to use mklatex as your pdf-engine. It will always run the right number of times.
>
> You mean *latexmk* (not "mklatex") right?
>
>
> Sounds like we need two runs for beamer slides. Can you put an issue on the bug tracker?
> https://github.com/jgm/pandoc/issues
>
>
>> On Nov 27, 2023, at 9:06 AM, Matthias Güdemann <matthias.gudemann@gmail.com> wrote:
>>
>> Hi all,
>>
>> since the following commit
>>
>> ```
>> bb36f127e * LaTeX template: include bookmark package unconditionally.`
>> ```
>>
>> I get an incomplete pdf output for slides based on beamer. The first slide is incomplete, slide numbers are incorrect and headers are missing.
>>
>> Creating a .tex and running xelatex / lualatex two times produces the desired output, running either only once reproduces the effect of the incomplete pdf.
>>
>> The commit message of the above commit states
>>
>> ```
>> As a consequence, we now default to running LaTeX only
>> once in producing a PDF (instead of twice). If a table
>> of contents is present, we still have to run three times
>> to get the page numbers.
>> ```
>>
>> is there a way to force running latex twice/thrice even if there is not toc?
>>
>> best regards
>> Matthias
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c17d418c-d9c5-469a-bf07-089ef375fb9bn%40googlegroups.com.
>
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/48242F5E-8DF4-49AD-BC67-6B74A5EA0111%40gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhCsDHPO-L_U5vix4pasj9AswJgX6A83pJw%2B0-caEbmVaw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2028937B-2D61-4D2B-9D9C-33D84161EC49%40gmail.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Issue with single Latex run producing incomplete pdf
[not found] ` <48242F5E-8DF4-49AD-BC67-6B74A5EA0111-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-11-27 19:35 ` BPJ
@ 2023-11-28 9:35 ` Matthias Güdemann
[not found] ` <CAGkX0vcD1C4k38YTnW2sY0fidLdBgOvdOXtpBxT1x22_m20Lbg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
1 sibling, 1 reply; 6+ messages in thread
From: Matthias Güdemann @ 2023-11-28 9:35 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Hi John,
> The most reliable way would be to use mklatex as your pdf-engine. It will always run the right number of times.
thanks. I was not aware that I can use latexmk as pdf-engine. I
confirm that this solves my problem.
> Sounds like we need two runs for beamer slides. Can you put an issue on the bug tracker?
> https://github.com/jgm/pandoc/issues
Sure, will do.
Best regards
Matthias
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Issue with single Latex run producing incomplete pdf
[not found] ` <CAGkX0vcD1C4k38YTnW2sY0fidLdBgOvdOXtpBxT1x22_m20Lbg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2023-11-28 16:58 ` John MacFarlane
0 siblings, 0 replies; 6+ messages in thread
From: John MacFarlane @ 2023-11-28 16:58 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
>
>> Sounds like we need two runs for beamer slides. Can you put an issue on the bug tracker?
>> https://github.com/jgm/pandoc/issues
>
> Sure, will do.
>
When you do, include a short md file and complete command to reproduce the issue.
I was not able to see a problem with a small test on my end.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-11-28 16:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 17:06 Issue with single Latex run producing incomplete pdf Matthias Güdemann
[not found] ` <c17d418c-d9c5-469a-bf07-089ef375fb9bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-11-27 19:00 ` John MacFarlane
[not found] ` <48242F5E-8DF4-49AD-BC67-6B74A5EA0111-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-11-27 19:35 ` BPJ
[not found] ` <CADAJKhCsDHPO-L_U5vix4pasj9AswJgX6A83pJw+0-caEbmVaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-28 4:45 ` John MacFarlane
2023-11-28 9:35 ` Matthias Güdemann
[not found] ` <CAGkX0vcD1C4k38YTnW2sY0fidLdBgOvdOXtpBxT1x22_m20Lbg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-28 16:58 ` John MacFarlane
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).