9

Consider the following example:

\documentclass{article}
\usepackage{fixme}
\makeindex
\begin{document}
    Ignorance is strength\index{strength}.
\end{document}

Then there will be a white space between “strength” and the full stop. What is the best way to circumvent this problem?

2 Answers 2

12

You only really needed to give the first two words of your subject:-).

It had to be a missing %, in this case in the fixme package.

Adding

\makeatletter
\def\@wrindex#1{%
  \ifthenelse{\equal{\cmdfx@note@target}{thepage}}{%
    \protected@write\@indexfile{}{\string\indexentry{#1}{\thepage}}}{%
    \protected@write\@indexfile{}{\string\indexentry{#1}{\cmdfx@note@target}}}%<<<
  \endgroup
  \@esphack}
\makeatother

Fixes fixme

1
  • Thanks. I probably should have found that myself ;-) Anyway, I sent a message to the maintainer of fixme about it.
    – bodo
    Jan 17, 2013 at 10:25
6

Thanks for the report. This bug has already been fixed in a new version of FiXme that I basically failed to release for the last 2 years... :-) Keep the faith !

4
  • Welcome to TeX.sx, didier! Jan 17, 2013 at 13:38
  • This bug is now officially and publicly fixed (version 4.2 of FiXme is out). Jan 29, 2013 at 16:05
  • @Barbara Good to hear from you! Jan 29, 2013 at 16:05
  • @Joseph After 5 attempts at reading your comment, I think I finally understand it. I've never used SX before so I failed to grasp the notions of comments vs. answers. Thanks for the hint. Jan 29, 2013 at 16:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.