MorganBauer / tufte-latex

Automatically exported from code.google.com/p/tufte-latex
0 stars 0 forks source link

Package microtype breaks newthought #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(Please attach an example .tex file demonstrating the problem or bug.)

Please describe the feature, problem, or bug:

When using microtype the space between the last word in a newthought and the 
following word 
is crushed. 

What is the expected output? What do you see instead?

I expect the space to be preserved, which it isn't.

What version of Tufte-LaTeX are you using?  With which TeX distribution?

Tufte-LaTeX book class r93 on MacTeX Live . 

Please provide any additional information below.

Adding an xspace in the newthought command fixes the problem:

%%
% An environment for paragraph-style section

\providecommand\newthought[1]{%
   \addvspace{1.0\baselineskip plus 0.5ex minus 0.2ex}%
   \noindent\textsc{#1}\xspace%
}

Original issue reported on code.google.com by lars.ron...@anchormodeling.com on 12 May 2009 at 4:28

GoogleCodeExporter commented 9 years ago
I'm either misunderstanding the problem you're describing, or I'm not seeing it 
here.

I created the following test document:

   \documentclass{tufte-handout}
   \usepackage{microtype}
   \begin{document}
   \newthought{Hello }world!

   \newthought{Hello} world!
   \end{document}

And both \newthought lines are shown the same way in the resulting PDF.  (I ran 
this
through pdflatex.)

If this isn't what you meant, can you provide a short example demonstrating the 
problem?

Thanks!

Original comment by godbyk@gmail.com on 15 May 2009 at 5:34

GoogleCodeExporter commented 9 years ago
The following test document produced the output in the attached file, using 
TeXShop 2.26 (released March 
2009) on OS X Tiger 10.4. If you want me to look into the specific versions of 
any packages, let me know. As 
you can see I am experiencing the problem described above.

    \documentclass{tufte-book} % r94
    \usepackage{microtype}
    \begin{document}
    \newthought{Hello }world!

    \newthought{Hello} world!
    \end{document}

Regards, 
Lars

Original comment by lars.ron...@anchormodeling.com on 15 May 2009 at 7:13

Attachments:

GoogleCodeExporter commented 9 years ago
Lars--

That's strange.  I'm not seeing that here.  Can you send me the Tufte.log file? 
 If
you add the 'debug' option to the document class:

  \documentclass[debug]{tufte-book}

then it will dump out some more debug info to the log file.

Thanks!

Original comment by godbyk@gmail.com on 15 May 2009 at 7:29

GoogleCodeExporter commented 9 years ago
Here's a section from the log file that looks suspicious:

Package microtype Info: Character `029' is missing
(microtype)             in font `T1/pplj/m/sc/10'.
(microtype)             Ignoring protrusion settings for this character.

Could it be related to the Palatino font? 

Regards,
Lars

Original comment by lars.ron...@anchormodeling.com on 15 May 2009 at 4:12

Attachments:

GoogleCodeExporter commented 9 years ago
Hello, Lars.

I was revisiting this bug and wondered if you were still experiencing these 
problems.
 I've not yet been able to reproduce it.

Thanks!

--Kevin

Original comment by godbyk@gmail.com on 25 Nov 2009 at 1:15

GoogleCodeExporter commented 9 years ago
Fix committed in r134 per Dan Abell.  Thanks, Dan!

Original comment by godbyk@gmail.com on 9 Dec 2009 at 1:49