unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#71849: pdflatex.fmt error using pandoc/pdflatex
@ 2024-06-30  3:54 Antero Mejr
  2024-06-30  7:00 ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Antero Mejr @ 2024-06-30  3:54 UTC (permalink / raw)
  To: 71849; +Cc: rekado, andreas

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#71849: pdflatex.fmt error using pandoc/pdflatex
  2024-06-30  3:54 bug#71849: pdflatex.fmt error using pandoc/pdflatex Antero Mejr
@ 2024-06-30  7:00 ` Ricardo Wurmus
  2024-06-30 15:07   ` Antero Mejr
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2024-06-30  7:00 UTC (permalink / raw)
  To: Antero Mejr; +Cc: andreas, 71849

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.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#71849: pdflatex.fmt error using pandoc/pdflatex
  2024-06-30  7:00 ` Ricardo Wurmus
@ 2024-06-30 15:07   ` Antero Mejr
  2024-06-30 15:30     ` Nicolas Goaziou via Bug reports for GNU Guix
  0 siblings, 1 reply; 4+ messages in thread
From: Antero Mejr @ 2024-06-30 15:07 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: andreas, 71849

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#71849: pdflatex.fmt error using pandoc/pdflatex
  2024-06-30 15:07   ` Antero Mejr
@ 2024-06-30 15:30     ` Nicolas Goaziou via Bug reports for GNU Guix
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou via Bug reports for GNU Guix @ 2024-06-30 15:30 UTC (permalink / raw)
  To: Antero Mejr; +Cc: Ricardo Wurmus, andreas, 71849

Hello,

Antero Mejr <mail@antr.me> writes:

> 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:

--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






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-30 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-30  3:54 bug#71849: pdflatex.fmt error using pandoc/pdflatex Antero Mejr
2024-06-30  7:00 ` Ricardo Wurmus
2024-06-30 15:07   ` Antero Mejr
2024-06-30 15:30     ` Nicolas Goaziou via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).