[OS X TeX] Re: Cassiopeia won't run

Andreas Höschler ahoesch at advanced-science.com
Mon May 20 22:08:27 CEST 2013


Hi Iraj,

> =========
> Generating LaTeX (/var/folders/wl/j3k8p5448xj_wz0059b371400000gn/T/ 
> src) ...
> CreatingBibliographyWritingFiles 
> \documentclass[10pt,a4paper,titlepage,openbib]{article}
> \pagestyle{plain}
> \pagenumbering{arabic}
> \setlength{\parskip}{5pt}
> \setlength{\parindent}{0pt}
> \setlength{\oddsidemargin}{1.5cm}
> \setlength{\evensidemargin}{1.5cm}
> \usepackage{graphicx}
> \usepackage{float}
> \usepackage{makeidx}
> \setcounter{secnumdepth}{3}
>
> \begin{document}
> \tableofcontents
>
> \end{document}
>
> CompilingLaTeX ...
>

This looks like an empty document!?? There should be at least  
something between \begin{document} and \end{document}!?? Let's try to  
fix this first. Create a new document and type in a few words, e.g.

	This is a test!

Then press Command-p with the cursor still in this document and click  
on the brown wheel. The output in the print latex panel should then  
look like

> Generating LaTeX (/var/folders/wl/j3k8p5448xj_wz0059b371400000gn/T/ 
> src) ...
> \documentclass[10pt,a4paper,titlepage,openbib]{article}
> \pagestyle{plain}
> \pagenumbering{arabic}
> \setlength{\parskip}{5pt}
> \setlength{\parindent}{0pt}
> \setlength{\oddsidemargin}{1.5cm}
> \setlength{\evensidemargin}{1.5cm}
> \usepackage{graphicx}
> \usepackage{float}
> \usepackage{makeidx}
> \setcounter{secnumdepth}{3}
>
> \begin{document}
> \tableofcontents
> This is a test!
> \end{document}
>
> CompilingLaTeX ...


Can you confirm this??

Now if it does not compile get the path of the created temporary  
directory from the first line of the output. This will be a different  
directory each time, so choose the one from your output panel. In the  
above case the directory was

> /var/folders/wl/j3k8p5448xj_wz0059b371400000gn/T/src

In a terminal session change into this directory with

	cd /var/folders/wl/j3k8p5448xj_wz0059b371400000gn/T/src

and verify you have an output.tex in this directory.

	cat output.tex

Now try to compile this manualy by invoking pdflatex on the command  
line.

	pdflatex output.tex

If this does not work try a complete path like

	/usr/local/texlive/2012/bin/universal-darwin/pdflatex output.tex

Does this work? This should give you a file output.pdf in the  
temporary directory. Do a

	ls

to check that. And if the output.pdf is there do

	open output.pdf

to open it! If this works we are almost there!??

Thanks,

  Andreas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20130520/b0727d16/attachment.html>


More information about the macostex-archives mailing list