Mike Broschinsky

less info
68 reputation
14
bio website
location
age
visits member for 3 years, 2 months
seen Jan 27 '11 at 23:53

Apr
17
awarded  Notable Question
Oct
26
awarded  Nice Question
Jan
17
awarded  Popular Question
Jan
27
awarded  Scholar
Jan
27
accepted How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?
Jan
27
comment How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?
@Herbert: Thanks. That's a helpful distinction. I expect I'll have more questions... :)
Jan
27
comment How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?
@Herbert: MiKTeX 2.8
Jan
27
comment How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?
This is what I have learned so far: 1) On my box, loading fontenc seemed to make a difference; 2) The hyphens weren't being converted to en-dashes or em-dashes, one hyphen was simply disappearing; and 3) (a test I ran just now) \texttt{} and \verb are not the same thing, for with \verb+--+ I get the two hyphens as I want. So maybe all of this was more of an issue of my using the wrong command for the wrong purpose, but still puzzling to me. Clearly, I need to learn more about (La)TeX. I hope I wasn't a waste of time. I'm grateful for your help.
Jan
27
comment How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?
Ah, perhaps a version issue then would explain our different experience? When I run pdflatex --version, the version number returned is 2.8.3759.
Jan
27
comment How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?
I must be a little slow... I still think fontenc must have something to do with it because I can get the double hyphen using \texttt{--} without the {} in between the hyphens if I don't load fontenc. But the conclusion I draw from what you have said (and I may be wrong; just trying to understand) is that I should always have to insert the {} between two hyphens, even if in the \texttt{} so that the hyphens don't collapse? And it's not that they hyphens are becoming either en- or em-dashes, it's that the second one hyphen seems to disappear.
Jan
27
comment How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?
I still don't understand why the difference between the first minimal example, which doesn't load fontenc and which does output multiple hyphens, and the second minimal which does load fontenc and collapses the hyphens.
Jan
27
comment How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?
@Hendrik: Thanks for the tip! I'll be more careful in future.
Jan
27
awarded  Student
Jan
27
asked How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?