On Fri, Jun 01, 2007 at 02:27:56PM +0200, Steffen Moeller wrote:
> Hi, the --figonly does not work for me, it is just ignored.
> | sed -e '1,/Start of code/d' -e '/End of code/,$d' 
> is what I do to circumvent this problem, but you may have
> another idea about it.

This problem seems to only occur if the tikz output format is used.  The
attached patch should solve the problem.  I will make a release shortly
with the patch included.

Thanks,
-- 
Peter
--- dot2tex	2007-05-10 10:45:18.000000000 +0100
+++ dot2tex	2007-06-01 15:38:47.000000000 +0100
@@ -1970,6 +1970,13 @@
 % End of code
 <<endoutputsection>>
 \end{document}
+<<startfigonlysection>>
+\begin{tikzpicture}[>=latex',<<graphstyle>>]
+<<figpreamble>>%
+<<drawcommands>>
+<<figpostamble>>%
+\end{tikzpicture}
+<<endfigonlysection>>
 """
 
 TIKZ_FIGCODETEMPLATE = \

Attachment: signature.asc
Description: Digital signature

Reply via email to