public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* French quotation marks \og \fg support
@ 2021-04-08 18:56 Pierre Willaime
  2021-04-08 19:01 ` Joost Kremers
  2021-04-08 19:52 ` Albert Krewinkel
  0 siblings, 2 replies; 7+ messages in thread
From: Pierre Willaime @ 2021-04-08 18:56 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hello,

I have a bunch of LaTeX files using \og and \fg commands. These
commands are provided by babel package for French and produces French
quotation marks ("<<", ">>").

Pandoc skips these commands when converting from LaTeX to html (see
below). Is there a simple workaround?

Minimal working example:
test.tex
---
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\begin{document}
\og test \fg{}
\end{document}
---

$ pandoc test.tex --verbose -o test.html
[INFO] Could not load include file 'inputenc.sty' at line 2 column 28
[INFO] Could not load include file 'fontenc.sty' at line 3 column 25
[INFO] Could not load include file 'babel.sty' at line 4 column 27
[INFO] Skipped '\og ' at line 6 column 5
[INFO] Skipped '\og ' at line 6 column 5
[INFO] Skipped '\fg{}' at line 6 column 15


$ pandoc -v
pandoc 2.9.2.1
Compiled with pandoc-types 1.20, texmath 0.12.0.2, skylighting 0.8.5


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

end of thread, other threads:[~2021-04-09 15:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 18:56 French quotation marks \og \fg support Pierre Willaime
2021-04-08 19:01 ` Joost Kremers
     [not found]   ` <87mtu8oako.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org>
2021-04-09  6:51     ` Pierre Willaime
2021-04-09  6:56       ` Joost Kremers
2021-04-08 19:52 ` Albert Krewinkel
     [not found]   ` <87pmz4d061.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2021-04-09  9:03     ` Pierre Willaime
2021-04-09 15:40     ` 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).