New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgfmath regression #991

Closed
dginev opened this Issue May 8, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@dginev
Collaborator

dginev commented May 8, 2018

The sine plot has funnily enough turned into a flatline in the tikz showcase example:

\documentclass{article}
\usepackage{tikz}
\begin{document}

\section{Plot of $\sin(x)$}
\begin{tikzpicture}
\draw plot (\x,{sin(\x r)});
\end{tikzpicture}

\end{document}

latexml produces 48 errors of the kind:

Error:pgfparse:pgfparse Parse of 'sin(-5r)' failed
	at /tmp/test.tex; line 7 col 27
	LTX: '0'
	Left: sin(-5r)
	Next token is T_CS[\let]
	In Core::Definition::Expandable[\lx@pgfm... from pgfmath.code.tex.ltxml line 320
	 <= Core::Gullet[@0x559065c97ab8] <= Core::Stomach[@0x559065c9f738] <= Core::Definition::Primitive[Begin] <= ...

which may be easy to fix

@brucemiller

This comment has been minimized.

Owner

brucemiller commented May 10, 2018

Did that actually work correctly before? Not sure when/where it broke, but it should be good now. Thanks for the report!

@dginev

This comment has been minimized.

Collaborator

dginev commented May 11, 2018

Just as a note - yes, it worked correctly years ago, when i made the showcase examples. Thanks for reviving it!

@dginev dginev changed the title from pdgfmath regression to pgfmath regression May 11, 2018

@dginev dginev added this to the LaTeXML-0.8.3 milestone May 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment