public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Converting headings (.odt -> .tex)
@ 2023-05-15 16:34 Ian Fantom
       [not found] ` <1201761b-53e9-f3bc-a6b5-4eedaf3b5146-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Ian Fantom @ 2023-05-15 16:34 UTC (permalink / raw)
  To: pandoc-discuss

I've tried converting a book in .odt (LibreOffice Writer / Ubuntu) to 
.tex and viewing it in Texstudio.

It's not converting any of the headings and subheadings - just producing 
normal text. I used the '-s' and the '-o' options.

I think there must be something I haven't understood in the Pandoc User 
Guide (https://pandoc.org/MANUAL.html)

I was expecting some way of defining a conversion table from Writer to 
Latex. For instance:

'Preface' is in style 'subtitle' in Writer, and is converted to: 
'\protect\hypertarget{anchor-4}{}{}Preface' and appears as normal text 
in .tex.

Any ideas how I should proceed?

Thanks, Ian Fantom



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

end of thread, other threads:[~2023-05-16 15:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-15 16:34 Converting headings (.odt -> .tex) Ian Fantom
     [not found] ` <1201761b-53e9-f3bc-a6b5-4eedaf3b5146-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org>
2023-05-15 17:15   ` BPJ
     [not found]     ` <CADAJKhBLFXzYf_mNc+uZ2Ur+1kYn3zpgBR7B7tFqjOWaAGCiRQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-15 19:26       ` Ian Fantom
     [not found]         ` <3BA7371B-D3AC-43A2-B8E3-C6FAB0A977E4-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org>
2023-05-16 10:32           ` Ian Fantom
     [not found]             ` <7316b85d-27a0-abf5-1e0b-09e0c40186fd-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org>
2023-05-16 10:59               ` Bastien DUMONT
2023-05-16 15:09                 ` Ian Fantom
     [not found]                   ` <df607dbb-adfd-e034-7f88-0510ecdfdc3a-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org>
2023-05-16 15:18                     ` Bastien DUMONT
2023-05-16 15:24                     ` BPJ
2023-05-15 17:18   ` Bastien DUMONT
2023-05-15 19:20     ` Ian Fantom

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