Markdown to Lyx
Dr Eberhard W Lisse
nospam at lisse.NA
Thu Dec 10 17:33:15 UTC 2020
I would not do that through an import from the LyX GUI.
Convert to LaTeX (with pandoc) and then modify the template pandoc uses
in steps until the TeX file it produces converts into proper LyX
Write yourself a Makefile, especially if a little Perl or Python is
required to make changes to the LyX file.
I once had to take a MindMap and generate a Beamer presentation, so a
little AppleScript was even required in the Makefile to export to
Markdown, but eventually this worked out great.
Same for trying to dictate, which does not work with LyX at all.
Markdown works very well, and a little Makefile produces very nice LyX.
make is part of the XCode Command Line Tools which you get from the
command line with
sudo xcode-select --install
On 2020-12-10 05:15 , Murat Yildizoglu wrote:
> Hello All,
> I am trying to find a way to directly import markdown documents in Lyx.
> I have created a Markdown file type and a filter Markdown->Latex using
a pandoc command for the conversion:
> pandoc -f markdown_mmd -t latex -o $$o $$I
> But Lyx does not include this type in the import menu.
> What am I missing?
> How can I do this?
> Is this possible?
> Thank you for your help!
More information about the lyx-users