Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| info:latex:lyx [2017/11/12 15:33] – radeff | info:latex:lyx [2022/11/24 14:07] (Version actuelle) – radeff | ||
|---|---|---|---|
| Ligne 7: | Ligne 7: | ||
| * https:// | * https:// | ||
| - | <note tip>note Fred: Editeur LaTeX que j' | + | <note tip>note Fred: Editeur LaTeX que j' |
| - | {{:info: | + | {{info: |
| LyX is a document processor that encourages an approach to writing based on the structure of your documents (WYSIWYM), and not simply their appearance (WYSIWYG). | LyX is a document processor that encourages an approach to writing based on the structure of your documents (WYSIWYM), and not simply their appearance (WYSIWYG). | ||
| Ligne 67: | Ligne 67: | ||
| https:// | https:// | ||
| + | |||
| + | ===== LyX export to markdown ===== | ||
| + | ==== Command line (Lyx > Markdown) ==== | ||
| + | |||
| + | |||
| + | lyx --export latex file.lyx | ||
| + | pandoc --no-wrap -f latex -t markdown file.tex > file.md | ||
| + | | ||
| + | | ||
| + | ==== Command line (Markdown > Lyx) ==== | ||
| + | |||
| + | |||
| + | pandoc --no-wrap -f markdown -t latex file.md > file.tex && tex2lyx | ||
| + | file.tex && lyx file.lyx | ||
| + | |||
| + | (--no-wrap makes sure we don't screw up e.g. \hrefs by spanning them over multiple lines) | ||
| + | |||
| + | sudo apt-get install pandoc lyx | ||
| + | |||
| + | source: https:// | ||