Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Following the manual of Circuit macros for LaTeX, just at the beginning I try to make the first circuit picture in LaTeX "quick.m4" processing that first with m4, then dpic, and adding the code exactly like in the manual to a new LaTeX document. I have tried a lot of time but I have always the same error about the line

\psset{noCurrentPoint}

What does it mean?

P.S. I run pdflatex on linux.

share|improve this question
add comment

closed as too localized by Speravir, Kurt, Xavier, Werner, percusse May 4 '13 at 5:11

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers

up vote 4 down vote accepted

See page 36 of the manual:

15.PSTricks anomaly: If you are using PSTricks and you get the error message Graphics parameter ‘noCurrentPoint’ not defined.. then your version of PSTricks is older than August 2010. You can do the following ...

share|improve this answer
    
thanks. The version of PStricks was of 2009, because Ubuntu still use this obsolete version of latex... I am updating all the packages –  nunzio13n Apr 9 '13 at 16:57
add comment

\spline is a basic eepic drawing command rather than a pstricks macro so it looks like you have invoked dpic without the -p (or other) option. Look at the Quick Start section of the Circuit_macros manual to fix the problem.

share|improve this answer
add comment

The important file is quick.tex; make sure that it contains valid PSTricks code; that is, it should start with the two lines

\psset{unit=1in,cornersize=absolute,dimen=middle}%
\begin{pspicture}
...

If it does not then m4 and dpic -p have not been called correctly. If it does then it sounds as if you are not using a postscript viewer that displays graphics. The command sequence should be

latex q
dvips q

which produces the postscript file q.ps. Print it or look at it with gsview.

share|improve this answer
    
@Jerry: Note that you can edit your answers in case if you want to add further information. If this is however intended as a separate alternative solution than it is ok to post it separatly. –  Martin Scharrer May 6 '13 at 13:36
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.