Skip to content

Mathapedia/latex-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The goal of this image is to make it super easy to have a turn-key LaTeX setup ;)

build

first time takes a while

make

create a local tex/ folder

On your computer in the same directory you create your LaTeX folder, call the folder tex/

  • Store your .tex files (or folders) here.
  • Any files (like pdfs) you create in the LaTeX box will be available here.
mkdir tex

ssh into the box

make ssh

create pdfs!

latex a file

latex doc.tex

turn the dvi into a pdf

dvipdfm doc

tips for lots of embedded graphics

Try out other approaches if this doesn't work, but I've found it works great.

latex math.tex
dvips -Ppdf -G0 math.dvi
ps2pdf math.ps

bibtex

At the bottom of your document, let's say awesome.tex include

\newpage
\bibliographystyle{cell}
\bibliography{sources}

\bibliography is referencing sources.bib in the current directory. Then run:

latex awesome.tex
bibtex awesome.tex
latex awesome.tex
latex awesome.tex

About

docker container for latex projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 97.5%
  • Shell 1.7%
  • Other 0.8%