A processing wheel and processing messages should appear at the bottom of your LyX window. Go to File > Export > MS Word Office XML, or alternatively File > Export > OpenDocument (Pandoc). It's best to test with a simple one first (not many pages, no modules, customised LaTeX code or preamble etc). Click "Save" to save the preferences and close the preferences box.In the "Converter" field enter pandoc -s -f latex -o $$o -t odt $$i.Under "To format" select "OpenDocument (Pandoc)" or, if not available, "OpenDocument".Create a converter command from LaTex (plain) to OpenDocument.(If none are active, you already had the Pandoc converter configured as above.) Click "Add" or "Modify" - whichever is active.In the "Converter" field enter pandoc -s -f latex -o $$o -t docx $$i.If you want to be able to undo the switch to Pandoc simply copy and paste somewhere the content of the "Converter" and "Extra flag" fields. If "Modify" then you already have a converter set up for these from/to options, and the steps below will replace it with Pandoc. (Optional.) At that point one of the two top-right buttons "Add" or "Modify" will be active.Under "To format" select "MS Word Office XML" or, if not available, "MS Word".Under "From format" select "LaTeX (plain)".Create a converter command from LaTex (plain) to MS Word Office XML.Go to the section File Handling > Converter. Open Lyx and go to Edit > Preferences (Linux and Windows) or LyX > Preferences (Mac OS X). If later on you want or need to update things you have installed with Homebrew, open the Terminal and enter brew update (this updates Homebrew itself) and then upgrade** (this updates everything you have installed with Homebrew). To install it enter brew install latex2rtf in the Terminal. That converter allows LyX to export to the RTF format, which can also be opened and modified by MS Word, Libreoffice and other word processors. Now that you have Homebrew installed, it's straightforward to install Latex2rtf as well. This will ask for confirmation before downloading and installing Pandoc. Still in the Terminal app, enter the command brew install pandoc.You may need to enter your user password to allow for the installation. This will ask for confirmation before downloading install the Homebrew package manager. Double-click the code (should be something like /usr/bin/ruby -e "$(curl -fsSL (approve sites))", hit ⌘C (or do Edit > Copy), go to the Terminal app, hit ⌘V (or do Edit > Paste), hit ↩︎. This gives you a command code that you should copy and paste in the Terminal. In this tutorial and elsewhere on the LyX Wiki, when you see "enter" or "enter the command" followed by some code, this normally means that you should enter the code in question in the Terminal (one line at a time). This allows you to enter "commands" into your Mac, by typing or pasting some text and hitting the "↩︎" key. You'll find it in Applications > Utilities, or with Spotlight by hitting ⌘Space and typing "Terminal". As of 2016 however, some setup is required for Pandoc to take account bibliography (BibTeX) files. LyX (version 2.2 and later) uses conversions tools such as Pandoc and Latex2rtf out of the box. RTF file formats can be opened by MS Word, Libreoffice and other word processors. If your export using Pandoc is unsatisfactory you should try exporting to RTF format using latex2rtf to see if the output is better. These are subject to change as Pandoc is further developed. Some limitations of Pandoc are listed below. Not all features of LyX documents are properly exported to OpenDocument and Open Office XML. Pandoc is a free, open-source, multi-platform tool and, as of 2016, actively developed. This page explains how to do so using one of the main third-party converters, Pandoc. odt, Libreoffice, Openoffice) and Open Office XML (. LyX can be set up to export to OpenDocument (. Categories: Export, Tips, Bibliography, Pandoc, OpenDocument, Office Open XML >Įxport to OpenDocument (.odt) and Open Office XML (.docx) file formats with Pandoc
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |