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.

I'm using the tikz-timing package to do some timing diagrams, but it seems that it has an upper limit of 25 clock cycles.

While

\documentclass[a4paper]{article}
\usepackage{tikz-timing}
\begin{document}

\begin{tikztimingtable}
 clk          &  50{C} \\
 temp &   25{HL}  \\
\end{tikztimingtable}%
\end{document}

works just fine, but if I change to

\documentclass[a4paper]{article}
\usepackage{tikz-timing}
\begin{document}

\begin{tikztimingtable}
 clk          &  51{C} \\
 temp &   25{HL}  \\
\end{tikztimingtable}%
\end{document}

I get a "giving up on this path. did you forget a semicolon?" error. Anybody know how to do longer timing diagrams?

share|improve this question
    
Both compiles fine in my machine with TL2012, tikz-timing v0.7d –  hpesoj626 Dec 13 '12 at 10:58
    
Both examples works fine for me in a current miktex 2.9. –  Ulrike Fischer Dec 13 '12 at 10:59
1  
@Rasmus just to be sure, hpesoj626 was talking about the revision 'd' of the version 0.7 of the package. Do you really have the same revision index (you just write V0.7 without other precision)? –  Lionel MANSUY Dec 13 '12 at 12:53
1  
@Rasmus I'm using also Linux (Fedora) and I find that using a complete installation of Texlive is far easier than the Fedora's old package. Following this tug.org/texlive/quickinstall.html I have all installed under /opt/texlive so that it won't be conflicting with the Fedora's packaging system. The updating of the Texlive distrib is done with their tool. –  Lionel MANSUY Dec 13 '12 at 15:47
1  
@Rasmus: Please consider to accept my answer, so that this thread gets marked as completed. Thanks. –  Martin Scharrer Mar 21 '13 at 18:46
show 5 more comments

1 Answer

I'm the author of tikz-timing. This error happens when TikZ, which is internally used by tikz-timing, has to expand too many macros before finding the semicolon. The maximal number of macro expansions got reduced with PGF/TikZ v2.00 which causes trouble with tikz-timing which needs sometimes a lot of expansions, especially for longer signals (even if these can be written quite short).

To overcome this issue I changed tikz-timing in v0.7b to locally increase the maximum numbers of macro expansions inside the internal TikZ command to the original used value. Therefore an package update should fix this issue as already stated in the comments by others.

As a workaround you can ensure that the internal TikZ path is never too long by adding ; into your tikz-timing line. This characters closes the internal TikZ-path at this point (like ; does in TikZ). So, try 50{C};50{C} instead of 100{C} for example.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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