Hello,
I'm a new one here, and I'm also 'new' in working with latex. I'm writing my master thesis in latex and I need to submit chemical schemes there in. So I use the chemscheme package. But I'm allways running in some errors, and I really don't know what I do wrong. Here is an example of my little 'test-file'
\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage[runs=2]{auto-pst-pdf}
\usepackage{chemscheme}
\begin{document}
\begin{scheme}[ht]
\schemeref[XX1]{benzene}
\schemeref[XX2]{nitrobenzene}
\includegraphics{test.eps}
\caption{this is a test}
\end{scheme}
This is a little test, just to check wheter my compounds are labeled or not. \compound{benzeen} is benzene while \compound{XX2} is nitrobenzene.
\end{document}
the error I get is:
Package pdftex.def Error: File `test2-pics.pdf' not found.
and I really don't know where that file 'test2-pics.pdf' comes from... :s
But if I replace the auto-pst-pdf package by the epstopdf package, I get my figure, but not my automated labels...
Can somebody help me with this?
Thanks,
Veer
Math & Science ⇒ Trouble with chemscheme package
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Trouble with chemscheme package
This file is generated by the (auto-)pst-pdf package to transfer all postscript stuff into this external file. See the manual for details.veer wrote:[...] and I really don't know where that file 'test2-pics.pdf' comes from [...]
Perhaps a second compiler run will do the trick. Check the log file for warnings.veer wrote:[...] But if I replace the auto-pst-pdf package by the epstopdf package, I get my figure, but not my automated labels [...]
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Trouble with chemscheme package
Hello,
thank you for your reply,
if I run it a second time, I still don't get my labels wright.
But I have found an alternative way:
I run my document with the chemscheme and auto-pst-pdf package but not latex=>pdf but latex=>ps and then I turn my ps file into a pdf file with ghostview.
kind regards
veer
thank you for your reply,
if I run it a second time, I still don't get my labels wright.
But I have found an alternative way:
I run my document with the chemscheme and auto-pst-pdf package but not latex=>pdf but latex=>ps and then I turn my ps file into a pdf file with ghostview.
kind regards
veer