AMFeldman

texscrip.sh

Jan 26th, 2016
121
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 [black][0*0*0, 0*0*0, 0*0*0]
  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 [black]
  26.     \input temp.tex
  27.   \stopbeegradients
  28. \end {document}
  29.  
  30. THEEND
  31.  
  32. lualatex -interaction=nonstopmode $1.tex
RAW Paste Data