Personal commands do not work...
Hello,
I use \pdfmarkupcomment to mark a text line that has a personal command (defined by \newcommand) and PDFLaTeX cannot compile it.
Thank you for your attention
Comments (5)
-
repo owner -
repo owner - changed status to on hold
limitation of
soul
package -> workaround -
reporter Thanks Josef!
by using \soulregister{\newcommand}{#parameters} for new commands and { } for \ref{} and \cite{}, \pdfmarkupcomment works. However, it's not friendly to register every new command I define.
-
repo owner Hi,
i agree, it's not nice but the only available solution. PDF is a different beast compared to LaTeX and needs coordinate positions on the page. Not really a strength of LaTeX. It's quite easy for one line comments but almost impossible with arbitrary constructs. Then
soul
is neede to get the breakpoints and something likezref
for page positions.pdfcomment
usessoulpos
- more or less a combination of both. The parser insoul
will not be updated anymore, i'm afraid. And the pain seems not being big enough for somebpdy writing a replacement package. So there's no way out. Nevertheless, problem solved ! ;-)Josef
-
repo owner - changed status to resolved
workaround worked -> problem solved
- Log in to comment
Hello,
this is a limitation of the
soul
package (needed bypdfcomment
). For possible solutions see e.g.:http://tex.stackexchange.com/questions/42227/problem-with-a-counter-inside-a-ul-command
Josef