-
Notifications
You must be signed in to change notification settings - Fork 75
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
\DIFadd & \DIFdel seem to work within \citep #17
Comments
Unfortunately, this is not trivial, as normally only the last argument of a command can be treated as non-atomic text. For now there is only the option to disable markup in citations completely (using --disable-citation-markup option) or choose a different markup style without underlining (e.g. -t CFONT) |
Thanks for help! The "-t CFONT" option solved the issue for me. |
If you want to use latexdiff with strikethrough/underline style and still get nice citation diffs, check out latexdiffcite. :) |
Sounds interesting. I will give it a try soon, and adding to the
README/docs sounds like a good idea (be patient, though).
|
👍 |
Two years later I happened to Google my own question :) ... but that's not the point. \citep[text text $\dot{T}$][text text]{label}. The parser exits with:
HTH, |
@slayoo Since this is not related to latexdiff (which I'm not affiliated with in any way) but rather to latexdiffcite, and since it seems to be the same issue as twilsonco/latexdiffcite#2, please post there. And see my most recent comment in that thread - enable debug logging or terminal output and let me know what it says. |
I will close this as @cmeeren correctly points out that this is an issue for latexdiffcite (sorry for not yet following up on my earlier promise to somehow work on integration or at least highlight latexdiffcite in the docs - it's not forgotten, though) |
Thanks for your replies! |
Hello,
Trying to troubleshoot overly-long \mboxes introduced by latexdiff when handling changes within optional arguments to natbib's \citep[], I've realised that the mboxes seem not to be needed:
works fine.
How to force latexdiff to behave like that? (i.e., I guess there's no such option, but perhaps it's doable with a short patch?).
Thanks for help,
Sylwester
The text was updated successfully, but these errors were encountered: