pdflatex.fmt error using pandoc/pdflatex

  • Open
  • quality assurance status badge
Details
3 participants
  • Antero Mejr
  • Nicolas Goaziou
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Antero Mejr
Severity
normal
A
A
Antero Mejr wrote on 30 Jun 05:54 +0200
(address . bug-guix@gnu.org)
87h6db9jam.fsf@antr.me
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.
R
R
Ricardo Wurmus wrote on 30 Jun 09:00 +0200
(name . Antero Mejr)(address . mail@antr.me)
87msn2vrsi.fsf@elephly.net
Antero Mejr <mail@antr.me> writes:

Toggle quote (3 lines)
> 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
A
A
Antero Mejr wrote on 30 Jun 17:07 +0200
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87wmm6lba2.fsf@antr.me
Ricardo Wurmus <rekado@elephly.net> writes:

Toggle quote (8 lines)
> Antero Mejr <mail@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.
N
N
Nicolas Goaziou wrote on 30 Jun 17:30 +0200
Re: bug#71849: pdflatex.fmt error using pandoc/pdflatex
(name . Antero Mejr)(address . mail@antr.me)
87o77i8n3w.fsf@nicolasgoaziou.fr
Hello,

Antero Mejr <mail@antr.me> writes:

Toggle quote (17 lines)
> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> Antero Mejr <mail@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:

Toggle snippet (21 lines)
# 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`

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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 71849@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 71849
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch