Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 12 down vote accepted

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

share|improve this answer
    
Thanks. I probably should have found that myself ;-) Anyway, I sent a message to the maintainer of fixme about it. –  canaaerus Jan 17 '13 at 10:25

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 !

share|improve this answer
    
Welcome to TeX.sx, didier! –  barbara beeton Jan 17 '13 at 13:38
    
This bug is now officially and publicly fixed (version 4.2 of FiXme is out). –  Didier Verna Jan 29 '13 at 16:05
    
@Barbara Good to hear from you! –  Didier Verna Jan 29 '13 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. –  Didier Verna Jan 29 '13 at 16:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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