Skip to content
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

Tikz "\clip" does not seem to be taken into account #791

kaagithub opened this issue Jul 25, 2016 · 2 comments

Tikz "\clip" does not seem to be taken into account #791

kaagithub opened this issue Jul 25, 2016 · 2 comments


Copy link


I just tested the 0.8.2 version and this still does not seem to work (I waited to post it): the clipping presented in the following example does not seem to appear correctly in the Epub I generated (I tested several viewers this time ;-)


% Suppose we have three circles or ellipses or whatever. Let us define
% commands for their paths since we will need them repeatedly in the
% following:

\def\firstcircle{(0,0) circle (1.5cm)}
\def\secondcircle{(45:2cm) circle (1.5cm)}
\def\thirdcircle{(0:2cm) circle (1.5cm)}

% Now we can draw the sets:
    \draw \firstcircle node[below] {$A$};
    \draw \secondcircle node [above] {$B$};
    \draw \thirdcircle node [below] {$C$};

    % Now we want to highlight the intersection of the first and the
    % second circle:

      \clip \firstcircle;
      \fill[red] \secondcircle;


@dginev dginev added this to the LaTeXML-0.8.4 milestone Jul 25, 2016
Copy link

I don't know if there's something specific about ePub or ePub viewers here, but when I tested generating html (html5 w/ svg), it looks exactly the same in the browser as the pdf. The \clip just causes the red portion to be the intersection of circles A & B, right? Seems to work in the current code.

Copy link

I just tried the Venn diagram example from TeXamples, and it works fine in html. It's hard to see how conversion to ePub could break it, but if you're convinced that's the case, please reopen.

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

No branches or pull requests

3 participants