GNU bug report logs - #71849
pdflatex.fmt error using pandoc/pdflatex

Previous Next

Package: guix;

Reported by: Antero Mejr <mail <at> antr.me>

Date: Sun, 30 Jun 2024 03:58:01 UTC

Severity: normal

To reply to this bug, email your comments to 71849 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#71849; Package guix. (Sun, 30 Jun 2024 03:58:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antero Mejr <mail <at> antr.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 30 Jun 2024 03:58:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antero Mejr <mail <at> antr.me>
To: bug-guix <at> gnu.org
Cc: rekado <at> elephly.net, andreas <at> enge.fr
Subject: pdflatex.fmt error using pandoc/pdflatex
Date: Sun, 30 Jun 2024 03:54:57 +0000
When using pandoc to export markdown to PDF, the following error occurs:

```
kpathsea: Running mktexfmt pdflatex.fmt
mktexfmt: No such file or directory

kpathsea: Running mktexfmt pdflatex.fmt
mktexfmt: No such file or directory
Error producing PDF.
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/GNU Guix) (preloaded format=pdflatex)
 restricted \write18 enabled.
I can't find the format file `pdflatex.fmt'!
```

It appears that the texlive packages were refactored lately, so it is
difficult to tell what packages are needed. Currently the following
packages are installed:

texlive-base
texlive-bin
texlive-scripts
texlive-latex-base

Also I think the pandoc package should propagate the packages it needs
to build PDFs.




Information forwarded to bug-guix <at> gnu.org:
bug#71849; Package guix. (Sun, 30 Jun 2024 07:01:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Antero Mejr <mail <at> antr.me>
Cc: andreas <at> enge.fr, bug-guix <at> gnu.org
Subject: Re: pdflatex.fmt error using pandoc/pdflatex
Date: Sun, 30 Jun 2024 09:00:29 +0200
Antero Mejr <mail <at> antr.me> writes:

> When using pandoc to export markdown to PDF, the following error
> occurs: [...]

Could you please show us what command you used?  It's hard to work on
this when we can't easily reproduce the problem.

-- 
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#71849; Package guix. (Sun, 30 Jun 2024 15:08:02 GMT) Full text and rfc822 format available.

Message #11 received at 71849 <at> debbugs.gnu.org (full text, mbox):

From: Antero Mejr <mail <at> antr.me>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: andreas <at> enge.fr, 71849 <at> debbugs.gnu.org
Subject: Re: pdflatex.fmt error using pandoc/pdflatex
Date: Sun, 30 Jun 2024 15:07:17 +0000
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Antero Mejr <mail <at> antr.me> writes:
>
>> When using pandoc to export markdown to PDF, the following error
>> occurs: [...]
>
> Could you please show us what command you used?  It's hard to work on
> this when we can't easily reproduce the problem.

The command was:
```
pandoc -f markdown -t pdf -o out.pdf in.md
```

Any markdown file should reproduce the issue.




Information forwarded to bug-guix <at> gnu.org:
bug#71849; Package guix. (Sun, 30 Jun 2024 15:31:01 GMT) Full text and rfc822 format available.

Message #14 received at 71849 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Antero Mejr <mail <at> antr.me>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, andreas <at> enge.fr, 71849 <at> debbugs.gnu.org
Subject: Re: bug#71849: pdflatex.fmt error using pandoc/pdflatex
Date: Sun, 30 Jun 2024 17:30:11 +0200
Hello,

Antero Mejr <mail <at> antr.me> writes:

> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> Antero Mejr <mail <at> antr.me> writes:
>>
>>> When using pandoc to export markdown to PDF, the following error
>>> occurs: [...]
>>
>> Could you please show us what command you used?  It's hard to work on
>> this when we can't easily reproduce the problem.
>
> The command was:
> ```
> pandoc -f markdown -t pdf -o out.pdf in.md
> ```
>
> Any markdown file should reproduce the issue.

FWIW, I can export the following "in.md" Markdown file:

--8<---------------cut here---------------start------------->8---
# Titre de niveau 1
## Titre de niveau 2
### Titre de niveau 3

**Texte en gras**

*Texte en italique*

~~Texte barré~~

> Texte cité

- Liste à puces
- Avec plusieurs éléments

1. Liste numérotée
2. Avec plusieurs éléments

`Code en ligne`
--8<---------------cut here---------------end--------------->8---

using the command:

  guix shell --pure pandoc texlive-collection-latexrecommended texlive-ulem -- pandoc -f markdown -t pdf -o out.pdf in.md

Regards,
-- 
Nicolas Goaziou






This bug report was last modified 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.