set outputPathAL to (path to desktop folder as string) & "Temporary Saved Doc for Latex Conversion. There is a glitch in MS Word, preventing a script from adding a paragraph before a table (as far as I know). Therefore, a table must not be located at paragraph 1. This script depends on a paragraph before a table. version 2.1 added list support using standard bullet or simple numbering buttons on the Word GUI. Now tables are coded as centered tabu tables. This document remains open when the script is finished and its contents can be copied to a tex editor e.g. The script creates a replica before processing, in order to avoid losing data. The frontmost document will be processed. This will automatically copy the "texified" Word Document into a new TeXShop Document and close the duplicated Word Document.įor the sake of keeping stackexchange self-contained, I will post the latest version as of this post here: (* Note that if you have TeXShop installed, you can optionally uncomment two lines: - `-my openInTeXShop()` Note that it keeps everything in unicode, therefore the fontspec package is recommended with xelatex. It has many limitations as far as pictures go (totally unsupported), but it handles the essentials (bold, italics, underscores, percent signs, dollar signs, tables (in tabu)). Sorc’d seamlessly integrates with numerous content creation systems. If you're running an AppleScript-compatible operating system, I've written a script to do this. Sorc’d empowers content creators to build stronger content, faster through a cloud-powered knowledge database of digestible snippets of relevant content, substantially decreasing research time and giving users more time to focus on what matters. I have known objects to move about and gradients to come out wrongly during a conversion, but it may be all fine. You may want to check though that everything has come out properly. It will go through various options and ultimately create your pdf for you. Basically you go into Word, and tell it to print your document and then select PDFcreator as your printer. When installed, this will become a print driver on your computer. They may even have a free pdf conversion tool, not sure about that. If creating a pdf from your word file is your ultimate goal, then there are much more sensible ways to do this. It is certainly not the only way to create a pdf file. Latex is a type setting language, and through programs such as pdflatex, you can turn this into a pdf file. This isn't technically an answer to the question you asked, but it looks from your question that you may have a misunderstanding.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |