Re: [SLUG] Latex question: fi --> theta
* Angus Lees ([EMAIL PROTECTED]) wrote: > > If you add \useencoding[T1] to your preamble, you'll end up using some > different font files that may bypass the problem. Thanks Gus, the encoding maybe influenced by me installing the ucs package, although it's hard to see how if I don't call it specifically. 'll check out the effect of adding the encoding command when I clock in tomorrow. > Either way, I'd start filing a bug with your distro provider. > Soon... the setup at home works fine. The machine at work is sort of a loose parallel with the one at home, but things can get our of sync when you're busy.. They're both debian unstable. > To test TeX's understanding of a font, you should be able to run "tex > testfont" and give the answer "putr7t" or something when asked which > font to test. At the "*" prompt type "\sample\bye" and you'll get a > dvi which shows the full font table (and a sample piece of text). If > this. In OT1 encoding (the LaTeX default) table, I believe the "fi" > ligature appears in position 014. > Interesting. putr7t as you suggest, shows the `fi' ligature. putb8r has f-theta in the same cell. More to find out here. Nick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Latex question: fi --> theta
At Fri, 11 Mar 2005 10:06:26 +1100, Nick Croft wrote: > Recently any occurrence of `fi' is rendered by a greek letter. So a word > like Office become OfØce. I'm not sure what to switch off or what kind of > package I'm using which does this. > > Typical preamble: > \documentclass[12pt]{article} > \renewcommand{\familydefault}{put} > \usepackage{color} > \pagestyle{empty} > \begin{document} I would guess that your font encoding has changed somehow. "fi" is a very common ligature, and if your font encoding is wrong (or virtual font out of whack) then you could end up with the wrong glyph everywhere that ligature is used. If you add \useencoding[T1] to your preamble, you'll end up using some different font files that may bypass the problem. Either way, I'd start filing a bug with your distro provider. To test TeX's understanding of a font, you should be able to run "tex testfont" and give the answer "putr7t" or something when asked which font to test. At the "*" prompt type "\sample\bye" and you'll get a dvi which shows the full font table (and a sample piece of text). If this. In OT1 encoding (the LaTeX default) table, I believe the "fi" ligature appears in position 014. -- - Gus -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Latex question: fi --> theta
* Michael Lake ([EMAIL PROTECTED]) wrote: > On Sat Mar 12, Nick Croft wrote: > > Ok then it's the fact that you don't have that glyph on your work setup. Mmm. Odd though. I'm back to thinking I need to install potato first, then upgrade to the latest, putting a couple of programs on hold. > > >The fix so far is to substitute for `fi' f\hspace{0mm}i . > > Excellent solution. You can shorten that to > f{}i > That _is_ neat. N -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Latex question: fi --> theta
On Sat Mar 12, Nick Croft wrote: It's the .tex file I send. And sorry, I change it at the other end, because unfortunately I can't get Utopia to work there, the installation at work is more recent and `put' (ps Utopia) is next to impossible to install and make work. Fortunately the home system is about 5 years old (with upgrades to unstable) and utopia is still available. Ok then it's the fact that you don't have that glyph on your work setup. snipped The fix so far is to substitute for `fi' f\hspace{0mm}i . Neat? Well it works. Typical phrase: 'Supply and fit in your Office. Final service call'. Excellent solution. You can shorten that to f{}i Just do a sed on your file so that fi becomes f{}i Mike -- Mike Lake Caver, Linux enthusiast and interested in anything technical. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Latex question: fi --> theta
* Michael Lake ([EMAIL PROTECTED]) wrote: > On Fri Mar 11, Nick Croft wrote: > >Having a little trouble here with latex. > > I am not sure when you mentioned mailing them to work whether you > mail the test.tex file or the test.dvi file. Mike, thanks for your thoughts. It's the .tex file I send. And sorry, I change it at the other end, because unfortunately I can't get Utopia to work there, the installation at work is more recent and `put' (ps Utopia) is next to impossible to install and make work. Fortunately the home system is about 5 years old (with upgrades to unstable) and utopia is still available. > > Also I dont have a font family called "put". What happens if you have > instead cmr or cmss - does the problem go away? No, unfortunately. > What happens if you make the dvi file a PostScript file and send it to > work? I'll give that a go, it's an idea to work on. Never thought of it, thanks. BTW with regard to Utopia, it relates to a theme I can't get out of my head, that the Golden Age is over. Good working programmes are `improved' beyond necessity. (I posted a lament on this about 6 months ago, and only got one response). In the case of Utopia, it used to come with tetex-extra, but since some licensing matter cam up, it is not standard issue. It's rumoured to be used by the fourier-Gutenberg package, but you still need to get it somewhere else, like http://www.tug.org/tex-archive/fonts/utopia/ but I can't get them to be recognised, even following the instructions in http://www.ctan.org/installationadvice/#installationguidelines?action=/index.html and using updmap. But I digress. The fix so far is to substitute for `fi' f\hspace{0mm}i . Neat? Well it works. Typical phrase: 'Supply and fit in your Office. Final service call'. Nick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Latex question: fi --> theta
On Fri Mar 11, Nick Croft wrote: Having a little trouble here with latex. I write things up at home, check in xdvi, then mail the tex files to work for printing. Recently any occurrence of `fi' is rendered by a greek letter. So a word like Office become Of?ce. I'm not sure what to switch off or what kind of package I'm using which does this. Typical preamble: \documentclass[12pt]{article} \renewcommand{\familydefault}{put} \usepackage{color} \pagestyle{empty} \begin{document} Is latex using math mode without me asking for it? If so, can I specify text mode only? I doubt that LaTeX is invoking math mode by itself. First I suspect it is a ligature problem as fi becomes a single glyph in the dvi file rather than a separate f and i. The same is true for ff and other character pairs. Next, I am not sure when you mentioned mailing them to work whether you mail the test.tex file or the test.dvi file. I bet its the dvi file that you email and your system at work does not have that font. The system substitutes a font which has a greek character at the location that the ligature should be occupying. Maybe.? Also I dont have a font family called "put". What happens if you have instead cmr or cmss - does the problem go away? What happens if you email the text file and run it on the machine at work? What happens if you make the dvi file a PostScript file and send it to work? Mike -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Latex question: fi --> theta
Morning, Having a little trouble here with latex. I write things up at home, check in xdvi, then mail the tex files to work for printing. Recently any occurrence of `fi' is rendered by a greek letter. So a word like Office become OfØce. I'm not sure what to switch off or what kind of package I'm using which does this. Typical preamble: \documentclass[12pt]{article} \renewcommand{\familydefault}{put} \usepackage{color} \pagestyle{empty} \begin{document} Is latex using math mode without me asking for it? If so, can I specify text mode only? Hope someone knows. Nick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html