Advertisement
AMFeldman

color-texscript.sh

Jan 26th, 2016
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. cat > $1.tex <<'THEEND'
  4. \documentclass {scrartcl}
  5. \usepackage {fontspec} %% this loads luaotfload as well
  6. \setmainfont {TeX Gyre Schola}
  7. \usepackage{microtype}
  8. \usepackage{pdfpages}
  9. \usepackage{setspace}
  10. \input beegradients.tex
  11. \definegradientgroup [color][255*0*0, 0*0*0, 0*0*255]
  12. \usepackage{xspace}
  13.  
  14. \makeatletter
  15.  
  16. \let\maybe@space@\xspace
  17.  
  18. \makeatother
  19.  
  20. \usepackage{abbrevs}
  21.    
  22. \input abbrev.tex
  23.  
  24. \begin {document}
  25.   \startbeegradients [color]
  26.     \input temp.tex
  27.   \stopbeegradients
  28. \end {document}
  29.  
  30. THEEND
  31.  
  32.  
  33. lualatex -interaction=nonstopmode $1.tex
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement