/+junk/build-libffmpeg-for-chromium

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/build-libffmpeg-for-chromium

« back to all changes in this revision

Viewing changes to build-pdf.sh

  • Committer: Gustav Hartvigsson
  • Date: 2021-06-07 20:27:50 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210607202750-5pxyhi0bzewu254g
Added first set of tests. (More to come).

Added script to do some processing of the LaTeX code to make nice looking tables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
    exit 127
106
106
  fi
107
107
  
108
 
  pandoc -F pandoc-crossref\
109
 
         --from markdown --to pdf\
 
108
  pandoc -s -F pandoc-crossref\
 
109
         --from markdown --to latex\
110
110
         --reference-links\
111
111
         ${_MD_NAME}.md\
112
 
         -o ${_PDF_NAME}.pdf
 
112
         -o ${_PDF_NAME}_pre.tex
 
113
  
 
114
  cat ${_PDF_NAME}_pre.tex | ./tex_table_verts.py > ${_PDF_NAME}_post.tex
 
115
  
 
116
  pdflatex ${_PDF_NAME}_post.tex
 
117
  mv ${_PDF_NAME}_post.pdf ${_PDF_NAME}.pdf
 
118
  rm *.tex *.toc *.aux *.log
113
119
  
114
120
  ___test_xdg___
115
121