Discussion:
[Latex2rtf-users] Issue with citation (numbers are put outside brackets)
Daniel Leidert
2013-05-09 11:51:37 UTC
Permalink
Hi,

I suffer a bug in how latex2rtf create s a citation. I attach two
testfiles. Check out the resulting DVI file and compare it to the RTF
output. latex2rtf puts the brackets behind every number instead to put
the number(s) into the brackets. Guess, the solution is easy. However I
wasn't able to figure it out myself. Hope you can fix it :)

Regards, Daniel
Wilfried Hennings
2013-05-13 15:00:22 UTC
Permalink
Post by Daniel Leidert
I suffer a bug in how latex2rtf create s a citation. I attach two
testfiles. Check out the resulting DVI file and compare it to the RTF
output. latex2rtf puts the brackets behind every number instead to put
the number(s) into the brackets. Guess, the solution is easy. However I
wasn't able to figure it out myself. Hope you can fix it :)
natbib by default generates named citations but you are forcing it to
generate numbered citations.
The problem is that latex2rtf recognizes natbib and assumes an aux file
compatible with named citations but the aux file generated by latex is
made for numbered citations.
Solution:
Comment-out the line
\usepackage[square,sort&compress,comma,numbers]{natbib}
, then first run latex again (to update the aux file), then latex2rtf
works correctly.

Regards
Wilfried

Loading...