![]() To create "beelines" pdf's make sure all the *.sh files are in a system wide directory, (eg, /usr/local/bin), fire up your terminal type color-glatex-beeline.sh (for red/black/blue text)Īnd it will produce a *.tex and a *.pdf and then pop up the pdf in evince pdf viewer.įor the black version of the same document do the same thing using glatex-beeline.sh Please note that for some reason I had to make links to a and beegradients.tex and those links had to be present in my compilation directory. It seemed easier to just make a "beelines" version in black instead. If I didn't make a black color version of the files, I would have to cut and paste the header from color-texscript.sh to my document in order to allow it to compile. These have to be used with glatex-beeline.sh and color-glatex-beeline.sh in order to work. The reason for the black script files is that the header cannot be in the LuaLaTeX file containing the text, your header has to be set out in a separate document that calls "beegradients.tex" which I wrote into the bash script files texscript.sh (black) and color-texscript.sh (red/black/blue). To do this I made 4 bash script files, two for black/red/blue beeline, and 2 for just black. To refresh when the google doc is changed run the script again.Ĭredit for the idea goes to Using GoogleDocs as Team editor for Latex-filesįor those who might want to use a " beeline reader" effect, I adapted solution which is in LuaLaTeX. ![]() This will then download the google doc, name it and compile it as tex file, produce a like named pdf file and then pop up evince with the pdf loaded. To use: a) Make a google doc, share it as a link and copy the link idī)on the command line, type your script's name, the link id, and a name for your local file, then Enter Make both bom-remove script and glatex script executable (chmod +), and then either put them both in /usr/local/bin or put an alias to each there. The bom-romove script is set out in this post bom_remover It is necessary because gdocs downloads with a "bom" included, which LaTeX will choke on. ![]() Mine, which I called "glatex.sh", looks like this: #!/bin/bash However, in Ubuntu 14.04, if you have fully working texlive installation, you can also "roll your own" so to speak by using a script. ![]()
0 Comments
Leave a Reply. |