loopspace / tikzmark

The dread tikzmark arrives on github
14 stars 3 forks source link

Command \iftikzmark ignores suffix #2

Closed paternal closed 5 years ago

paternal commented 7 years ago

Here is a MWE:

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{tikzmark}

\begin{document}

% Without suffix

\tikzmark{bar}
\iftikzmark{bar}{
  TIKZMARK BAR IS AVAILABLE
}{
  TIKZMARK BAR IS NOT AVAILABLE
}

% With suffix

\tikzset{tikzmark suffix=-foo}%

\tikzmark{baz}
\iftikzmark{baz}{
  TIKZMARK BAZ IS AVAILABLE
}{
  TIKZMARK BAZ IS NOT AVAILABLE
}

\end{document}

-- Louis

loopspace commented 6 years ago

Apologies for the delay in responding.

Absolutely right. Fixed (I believe) in https://github.com/loopspace/tikzmark/commit/909d18b78263ea1f78b8397882230c915632f470 (please test!)

paternal commented 6 years ago

please test!

Looks fine to me, but since I reported this issue six months ago, I no longer use this package (I stopped working on the project I used tikzmark for, since it was a bad answer to a badly stated problem). So I am looking at this issue with a naïve eye, and I might be missing obvious things…

Thanks for your work!

-- Louis

paternal commented 5 years ago

Had a look at this issue. Indeed, seems closed by 909d18b. Thanks