> On 07/10/11 09:01, Ulrike Fischer wrote:
>> Am Thu, 6 Oct 2011 23:16:25 -0700 (PDT) schrieb j. 'mach' wust:
>>
>>> There certainly is a long s (ſ) character in Latin Modern. You can
>>> access it through xelatex or lualatex:
>>>
>>> \documentclass{article}
>>> \usepackage{fontspec}
>>> \usepackage{lmodern}
>>> \begin{document}
>>> This is a long `ſ'
>>> \end{document}
>>>
>>> See also p. 12 in:
>>> http://ctan.org/tex-archive/fonts/lm/doc/fonts/lm/lm-info.pdf
>>>
>>> The question is how to access that character in latex.
>>
>> Well this example use the open type version of the fonts . pdflatex
>> uses the type1 version of the fonts. So the first question is if the
>> char is in this version of the fonts (it is). The second question if
>> it has been encoded somewhere. Looking at the char tables in
>> lm-info.pdf one can find it in the TS1-encoding.
>
> That's the piece of information I was missing, thank you.
> I don't seem to have lm-info.pdf on my systems.
it's in tex live and miktex.
>> So you can get it this way:
>>
>> \documentclass{article}
>> \usepackage[TS1,T1]{fontenc}
>> \usepackage{lmodern}
>>
>> \begin{document}
>> {\fontencoding{TS1}\selectfont \char115}
>> \end{document}
>
> What is the effect of the [autogenerated] parameter in uni-1.def for
> this character? In other words, *what* process is supposed to
> auto-generate it?
>
> Is it possible to re-work the definition
>
> \uc@dclc{383}{autogenerated}{\unichar{115}}%
>
> so that the character itself (ſ) would invoke TS1 on itself?
no doubt. however, since you're using unicode to start with, you would
be far better off switching to xelatex. that way you get the letter
without hassle, and it's treated as a letter (so words containing it can
participate in hyphenation).
the alternative arrangements all treat the character as a symbol, as is
so often the case when you push the envelope with (la)tex.
I'm still using the TL2009 that Ubuntu supplies with 11.04.
[...]
> no doubt. however, since you're using unicode to start with, you would
> be far better off switching to xelatex.
I certainly would, and I plan to as soon as my current work dependencies
allow. Right now, I have too many multiple simultaneous ongoing projects
depending on the current installation to start breaking them by making
that switch. And XeLaTeX doesn't appear to have had quite all the bugs
knocked out of it yet, to judge by the posts here and elsewhere.
///Peter