Issue 142 in abntex2: Incompatibilidade com Circuitikz

136 views
Skip to first unread message

abn...@googlecode.com

unread,
Mar 19, 2015, 7:47:40 AM3/19/15
to abn...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 142 by edno...@gmail.com: Incompatibilidade com Circuitikz
https://code.google.com/p/abntex2/issues/detail?id=142

Estou utilizando o modelo canônico para relatórios técnicos, e um simples
diagrama com circuitikz simplesmente não compila:

\begin{circuitikz} \draw
(0,0) to[battery] (0,4)
to[ammeter] (4,4) -- (4,0)
to[lamp] (0,0)
;
\end{circuitikz}

Eu utilizo o sharelatex como editor. Alguem já teve problemas com
circuitikz?

Estes são os erros resultantes:

Package tikz Error: + or - expected.

See the tikz package documentation for explanation. Type H <return> for
immediate help. ... l.7 (0,0) to[battery] (0,4) This error message was
generated by an \errmessage command, so I can't give any explicit help.
Pretend that you're Hercule Poirot: Examine all clues, and deduce the truth
by order and method.
03resultados/resultados.tex, line 7

Package tikz Error: Giving up on this path. Did you forget a semicolon?.

See the tikz package documentation for explanation. Type H <return> for
immediate help. ... l.7 (0,0) to[battery] (0,4) (That was another
\errmessage.)
00main.tex, line 7

Undefined control sequence.

\pgf@let@token ...ape, rotate=\pgf@circ@direction , yscale=\ctikzvalof
{mirr... l.7 (0,0) to[battery] (0,4) The control sequence at the end of the
top line of your error message was never \def'ed. If you have misspelled it
(e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox').
Otherwise just continue, and I'll forget about whatever was undefined.
00main.tex, line 7

Undefined control sequence.

<argument> \pgf@circ@direction l.7 (0,0) to[battery] (0,4) The control
sequence at the end of the top line of your error message was never
\def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget
about whatever was undefined.
00main.tex, line 7

Missing number, treated as zero.

<to be read again> p l.7 (0,0) to[battery] (0,4) A number should have been
here; I inserted `0'. (If you can't figure out why I needed to see a
number, look up `weird error' in the index to The TeXbook.)
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawsmartlabel ...um \pgfcircmathresult > 20 \ifnum
\pgfcircmathre... l.7 (0,0) to[battery] (0,4) The control sequence at the
end of the top line of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g.,
`I\hbox'). Otherwise just continue, and I'll forget about whatever was
undefined.
00main.tex, line 7

Missing number, treated as zero.

<to be read again> > l.7 (0,0) to[battery] (0,4) A number should have been
here; I inserted `0'. (If you can't figure out why I needed to see a
number, look up `weird error' in the index to The TeXbook.)
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawreglabel ...chor = \pgf@circ@labanc ] at (\ctikzvalof
{bipole/... l.7 (0,0) to[battery] (0,4) The control sequence at the end of
the top line of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g.,
`I\hbox'). Otherwise just continue, and I'll forget about whatever was
undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawreglabel ...le/name}.\pgf@circ@temp ) {\pgf@circ@finallabel
{}} l.7 (0,0) to[battery] (0,4) The control sequence at the end of the top
line of your error message was never \def'ed. If you have misspelled it
(e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox').
Otherwise just continue, and I'll forget about whatever was undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawvoltage ...mals \pgf@circ@direction \pgf@nil } \par \ifnum
\pg... l.7 (0,0) to[battery] (0,4) The control sequence at the end of the
top line of your error message was never \def'ed. If you have misspelled it
(e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox').
Otherwise just continue, and I'll forget about whatever was undefined.
00main.tex, line 7

Argument of \pgf@circ@stripdecimals has an extra }.

<inserted text> \par l.7 (0,0) to[battery] (0,4) I've run across a `}' that
doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}'
would produce this error. If you simply proceed now, the `\par' that I've
just inserted will cause me to report a runaway argument that might be the
root of the problem. But if your `}' was spurious, just type `2' and it
will go away.
00main.tex, line 7

Paragraph ended before \pgf@circ@stripdecimals was complete.

<to be read again> \par l.7 (0,0) to[battery] (0,4) I suspect you've
forgotten a `}', causing me to apply this control sequence to too much
text. How can we recover? My plan is to forget the whole thing and hope for
the best.
00main.tex, line 7

Missing number, treated as zero.

<to be read again> \par l.7 (0,0) to[battery] (0,4) A number should have
been here; I inserted `0'. (If you can't figure out why I needed to see a
number, look up `weird error' in the index to The TeXbook.)
00main.tex, line 7

Missing = inserted for \ifnum.

<to be read again> \par l.7 (0,0) to[battery] (0,4) I was expecting to see
`<', `=', or `>'. Didn't.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawvoltagegeneric ... \distacefromnode ! (\ctikzvalof
{bipole/nam... l.7 (0,0) to[battery] (0,4) The control sequence at the end
of the top line of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g.,
`I\hbox'). Otherwise just continue, and I'll forget about whatever was
undefined.
00main.tex, line 7

Missing number, treated as zero.

<to be read again> ! l.7 (0,0) to[battery] (0,4) A number should have been
here; I inserted `0'. (If you can't figure out why I needed to see a
number, look up `weird error' in the index to The TeXbook.)
00main.tex, line 7

Illegal unit of measure (pt inserted).

<to be read again> ! l.7 (0,0) to[battery] (0,4) Dimensions can be in units
of em, ex, in, pt, pc, cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a
new one! I'll assume that you meant to say pt, for printer's points. To
recover gracefully from this error, it's best to delete the erroneous
units; e.g., type `2' to delete two letters. (See Chapter 27 of The
TeXbook.)
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawvoltagegeneric ...irc@voltage@angle :(\ctikzvalof
{bipole/name... l.7 (0,0) to[battery] (0,4) The control sequence at the end
of the top line of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g.,
`I\hbox'). Otherwise just continue, and I'll forget about whatever was
undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawvoltagegeneric ...irc@voltage@angle : (\ctikzvalof
{bipole/nam... l.7 (0,0) to[battery] (0,4) The control sequence at the end
of the top line of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g.,
`I\hbox'). Otherwise just continue, and I'll forget about whatever was
undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawvoltagegeneric ....center) ! \bumpb ! (\ctikzvalof
{bipole/nam... l.7 (0,0) to[battery] (0,4) The control sequence at the end
of the top line of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g.,
`I\hbox'). Otherwise just continue, and I'll forget about whatever was
undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawvoltage ...pole@voltage@label@where ) coordinate (Vlab) at
($(... l.7 (0,0) to[battery] (0,4) The control sequence at the end of the
top line of your error message was never \def'ed. If you have misspelled it
(e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox').
Otherwise just continue, and I'll forget about whatever was undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawvoltage ...@europeanvoltage \eudist \else \ctikzvalof
{voltage... l.7 (0,0) to[battery] (0,4) The control sequence at the end of
the top line of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g.,
`I\hbox'). Otherwise just continue, and I'll forget about whatever was
undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawvoltage ...pole@voltage@label@where )$) node
[anchor=\pgf@circ... l.7 (0,0) to[battery] (0,4) The control sequence at
the end of the top line of your error message was never \def'ed. If you
have misspelled it (e.g., `\hobx'), type `I' and the correct spelling
(e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever
was undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawvoltage ...ole@voltage@label@anchor , inner sep=0] at (Vlab)
{... l.7 (0,0) to[battery] (0,4) The control sequence at the end of the top
line of your error message was never \def'ed. If you have misspelled it
(e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox').
Otherwise just continue, and I'll forget about whatever was undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawcurrent ...fff {\pgf@circ@direction } \def
\pgfcircmathresult ... l.7 (0,0) to[battery] (0,4) The control sequence at
the end of the top line of your error message was never \def'ed. If you
have misspelled it (e.g., `\hobx'), type `I' and the correct spelling
(e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever
was undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawcurrent ...pole@current@label@where ) node
[anchor=\pgf@circ@d... l.7 (0,0) to[battery] (0,4) The control sequence at
the end of the top line of your error message was never \def'ed. If you
have misspelled it (e.g., `\hobx'), type `I' and the correct spelling
(e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever
was undefined.
00main.tex, line 7

Undefined control sequence.

\pgf@circ@drawcurrent ...de [anchor=\pgf@circ@dir ] { \pgf@circ@finallabel
{... l.7 (0,0) to[battery] (0,4) The control sequence at the end of the top
line of your error message was never \def'ed. If you have misspelled it
(e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox').
Otherwise just continue, and I'll forget about whatever was undefined.
00main.tex, line 7

Undefined control sequence.

\tikz@invoke@collected@onpath ...mmand \tikz@temp \pgf@stop
\tikz@node@is@a@... l.7 (0,0) to[battery] (0,4) The control sequence at the
end of the top line of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g.,
`I\hbox'). Otherwise just continue, and I'll forget about whatever was
undefined.
00main.tex, line 8

Package tikz Error: + or - expected.

See the tikz package documentation for explanation. Type H <return> for
immediate help. ... l.8 to[ammeter] (4,4) -- (4,0) (That was another
\errmessage.)
00main.tex, line 8

Package tikz Error: Giving up on this path. Did you forget a semicolon?.

See the tikz package documentation for explanation. Type H <return> for
immediate help. ... l.8 to[ammeter] (4,4) -- (4,0) (That was another
\errmessage.) Missing character: There is no ) in font nullfont! Missing
character: There is no n in font nullfont! Missing character: There is no o
in font nullfont! Missing character: There is no d in font nullfont!
Missing character: There is no e in font nullfont! Missing character: There
is no [ in font nullfont! Missing character: There is no a in font
nullfont! Missing character: There is no m in font nullfont! Missing
character: There is no m in font nullfont! Missing character: There is no e
in font nullfont! Missing character: There is no t in font nullfont!
Missing character: There is no e in font nullfont! Missing character: There
is no r in font nullfont! Missing character: There is no s in font
nullfont! Missing character: There is no h in font nullfont! Missing
character: There is no a in font nullfont! Missing character: There is no p
in font nullfont! Missing character: There is no e in font nullfont!
Missing character: There is no , in font nullfont! Missing character: There
is no r in font nullfont! Missing character: There is no o in font
nullfont! Missing character: There is no t in font nullfont! Missing
character: There is no a in font nullfont! Missing character: There is no t
in font nullfont! Missing character: There is no e in font nullfont!
Missing character: There is no = in font nullfont! ! Undefined control
sequence. \pgf@let@token ...ape, rotate=\pgf@circ@direction ,
yscale=\ctikzvalof {mirr... l.8 to[ammeter] (4,4) -- (4,0) The control
sequence at the end of the top line of your error message was never
\def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget
about whatever was undefined.
00main.tex, line 8

Undefined control sequence.

<argument> \pgf@circ@direction l.8 to[ammeter] (4,4) -- (4,0) The control
sequence at the end of the top line of your error message was never
\def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the
correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget
about whatever was undefined. ! Missing number, treated as zero. <to be
read again> p l.8 to[ammeter] (4,4) -- (4,0) A number should have been
here; I inserted `0'. (If you can't figure out why I needed to see a
number, look up `weird error' in the index to The TeXbook.)
00main.tex, line 8

Undefined control sequence.

\pgf@circ@drawsmartlabel ...um \pgfcircmathresult > 20 \ifnum
\pgfcircmathre... l.8 to[ammeter] (4,4) -- (4,0) The control sequence at
the end of the top line of your error message was never \def'ed. If you
have misspelled it (e.g., `\hobx'), type `I' and the correct spelling
(e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever
was undefined. ! Missing number, treated as zero. <to be read again> > l.8
to[ammeter] (4,4) -- (4,0) A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number, look up `weird
error' in the index to The TeXbook.)
00main.tex, line 8

Undefined control sequence.

\pgf@circ@drawreglabel ...chor = \pgf@circ@labanc ] at (\ctikzvalof
{bipole/... l.8 to[ammeter] (4,4) -- (4,0) (That makes 100 errors; please
try again.) Here is how much of TeX's memory you used: 30630 strings out of
493109 601251 string characters out of 6135009 757182 words of memory out
of 5000000 33436 multiletter control sequences out of 15000+600000 57728
words of font info for 58 fonts, out of 8000000 for 9000 1141 hyphenation
exceptions out of 8191 60i,12n,59p,410b,714s stack positions out of
5000i,500n,10000p,200000b,80000s ! ==> Fatal error occurred, no output PDF
file produced!


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

abn...@googlecode.com

unread,
Mar 19, 2015, 7:59:46 AM3/19/15
to abn...@googlegroups.com

Comment #1 on issue 142 by yche...@gmail.com: Incompatibilidade com
Circuitikz
https://code.google.com/p/abntex2/issues/detail?id=142

Compilei com abntex2 e rodou sem problemas. Portanto, deve ser alguma
incompatibilidade com algum pacote do modelo que está utilizando.

abn...@googlecode.com

unread,
Mar 19, 2015, 8:24:03 AM3/19/15
to abn...@googlegroups.com

Comment #3 on issue 142 by edno...@gmail.com: Incompatibilidade com
Circuitikz
https://code.google.com/p/abntex2/issues/detail?id=142

Tambem testei utilizando apenas o pacote abntex2. Ocorreram os mesmos
problemas

abn...@googlecode.com

unread,
Mar 19, 2015, 8:25:25 AM3/19/15
to abn...@googlegroups.com

Comment #4 on issue 142 by edno...@gmail.com: Incompatibilidade com
Circuitikz
https://code.google.com/p/abntex2/issues/detail?id=142

Não tenho muito controle sobre a versão do pacote no sharelatex, talvez
seja outra versão. Vi que anteriormente existiu uma certa incompatibilidade
com Tikz, e o circuitikz é baseado no Tikz.

abn...@googlecode.com

unread,
Mar 19, 2015, 8:43:47 AM3/19/15
to abn...@googlegroups.com

Comment #5 on issue 142 by edno...@gmail.com: Incompatibilidade com
Circuitikz
https://code.google.com/p/abntex2/issues/detail?id=142

Descobrir o problema. Na verdade, se eu fizer:
\documentclass[12pt,oneside,a4paper,english,french,spanish,brazil]{abnt}

Não compila!!!

Mas, se fizer:
\documentclass[12pt,oneside,a4paper,english,spanish,brazil]{abnt}

COMPILA!!!

Tem algum bug com a opção french então.

abn...@googlecode.com

unread,
Mar 19, 2015, 8:45:09 AM3/19/15
to abn...@googlegroups.com

Comment #6 on issue 142 by edno...@gmail.com: Incompatibilidade com
Circuitikz
https://code.google.com/p/abntex2/issues/detail?id=142

Descobrir o problema. Na verdade, se eu fizer:
\documentclass[12pt,oneside,a4paper,english,french,spanish,brazil]{abntex2}

Não compila!!!

Mas, se fizer:
\documentclass[12pt,oneside,a4paper,english,spanish,brazil]{abntex2}

COMPILA!!!

Tem algum bug com a opção french então.

Quando você fez o teste, compilou com a opão french?

abn...@googlecode.com

unread,
Mar 19, 2015, 9:59:13 AM3/19/15
to abn...@googlegroups.com

Comment #7 on issue 142 by yche...@gmail.com: Incompatibilidade com
Circuitikz
https://code.google.com/p/abntex2/issues/detail?id=142

Sim: \documentclass[french,brazil]{abntex2} compila normalmente
(sharelatex).
Se não está escrevendo nada em francês, retire a opção e pronto.

abn...@googlecode.com

unread,
Mar 19, 2015, 12:14:56 PM3/19/15
to abn...@googlegroups.com

Comment #8 on issue 142 by laurocesar: Incompatibilidade com Circuitikz
https://code.google.com/p/abntex2/issues/detail?id=142

Aviso: não utilizar as issues do GoogleCode. As issues devem sem abertas no
novo portal do Github: https://github.com/abntex/abntex2

Hyan Gontijo

unread,
Jun 18, 2018, 8:12:07 AM6/18/18
to abnTeX2
MUITO OBRIGADO, FUNCIONOU!!! DÁ NEM PRA ACREDITAR!!!
Reply all
Reply to author
Forward
0 new messages