tex, then opening those in TeXShop to go from there. If not: would a pandocfilter allow for that? Could a makefile do? TEXSHOP GIT PDFMy question is: would that be possible with pandoc? Can pandoc allow for more than one -pdf-engine in the same command? If not, is there a way to specify engines in individual files, and make pandoc compile a pdf according to the specifications in these files (so switching engines, I guess?). md with the pdfLaTeX engine, and another one with the LuaTeX engine, all while using the pandoc-citeproc filter. md file using the XeLaTeX engine, another. I use a mixture of pdflatex, LuaTeX, XeTeX and LaTeX dvips in my documents depending on a variety of factors, so for me this is extremely useful" The default engine in TeXShop is pdfLaTeX. This is mainly useful if you use multiple engines in your work. tex file will force compilation with XeLaTeX engine, even if another engine is selected in the TeXShop GUI menu.Īs Alan Munn wrote: the "% !TEX TS-program = allows you to choose the engine that will process the file directly in the file itself. Including the comment % !TEX TS-program = xelatex at the top of a. tex file, and specify, among other things, an engine to use for that document only. Magic comments are found at the top of a. I'm also new to pandoc and LaTeX.Īs TeX StackExchange contributor Doncherry wrote, a handful of editors accept "magic comments" (notably TeXShop for Mac). I've googled for many hours and haven't slept all that much in the past couple of days. gitxattr_json anisotropic_ss ideas_include technotes" \Īnyhow, I now have a nice, clean, 20MB repository suitable for putting on an ultraportable and for later uploading to GitHub/elsewhere to serve mankind.Please forgive me: I haven't been able to find a way to do this so far. Research_* _testproblems* _python* meeting_notes* *.h5 *.silo \ Git filter-branch -f -index-filter "git rm -rf -cached -ignore-unmatch \ Git clone -no-hardlinks /Users/seth/_research thesis git/refs/original and expiring the reflog. ( Stack Overflow was helpful in finding out the details.) The only sticking point was in getting the large HDF5 files to be removed in garbage collection ( git gc): removing. To preserve the history of modifications I'd already performed, git filter-branch is the way to go. Preferring to only modify my thesis, figures, and related files on my new MacBook Air, I chose to create a new "thesis" repository. Well, 18 months and many obsolete and regenerated results later, my repository is rather bloated. Because most of my computational experiments are small (i.e., single processor rather than supercluster), I've stored a number of results in the repository rather than in a separate directory. I've had my research in a git repository for more than a year and a half. TEXSHOP GIT UPDATEUPDATE 7: Modify the "reverse lookup" in Skim to be -remote-silent ":silent %line" "%file" to avoid the obnoxious Press ENTER to continue prompt in Vim. UPDATE 5: I've uploaded my vim scripts to GitHub. Command-R is a shortcut to compile and view. Typing \lv will open the thesis in Skim, \ls will jump from the TeX source to the corresponding output line, and command-shift-clicking in Skim will cause MacVim to jump to the appropriate source line. Now typing \ll in my individual chapter files will compile the true thesis. Let g:Tex_MainFileExpression = 'SRJMainFile(modifier)' The solution involves this feature of Vim-LaTeX, and the following function I wrote: " Look for main file by looking in the first 20 lines, same as TeXShop, for: Yet Vim-LaTeX won't play nicely with my dissertation, which uses a file for each chapter and the TeXShop convention of % !TEX root =. Skim with this configuration fit the bill. To switch away from TeXShop, I want both an integrated compiler and an external editor with SyncTeX. Most importantly, I sometimes use SyncTeX to jump between my compiled document and source. I do most of my editing in Vim using Vim-LaTeX, but I compile with TeXShop. I've been less than pleased with TeXShop on Lion.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |