Re: odd behavior when converting to pdf
Don Raikes <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <2e70dce7-13c9-44f3-a11c-5df50e6afe15@default> |
Thanks, when I added the lines into my actual file and uncommented this line:
%\usepackage[T1]{fontenc} %step 1
All works fine now.
Now comes the fun part, actually writing all the text in the document. I just have a skeleton of the document so far.
-----Original Message-----
From: Ulrike Fischer [mailto:[email protected]]
Sent: Sunday, June 29, 2014 2:46 AM
To: [email protected]
Subject: Re: [MiKTeX] odd behavior when converting to pdf
Am Sat, 28 Jun 2014 22:08:37 -0700 (PDT) schrieb Don Raikes:
> According to the folks over on tex.stackexchange.com, the problem is
> that that the "fi" is being converted into a ligature in whatever
> encoding I am using.
> I am not specifying any special encoding, but am letting latex pick up
> whatever is the default.
> The stackexchange link is:
>http://tex.stackexchange.com/questions/187114/characters-getting-swallo
>wed
Here a copy of my example on tex.sx:
Your example probably doesn't say the truth about your document. I guess (as egreg in his comment) that in your document you don't have the two chars f + i but the fi glyph and this would disappear as you are using the default font encoding OT1, and this encoding doesn't have glyphs on every position.
Copy this here in an utf8-encoded file and compile:
\documentclass{article}
%\usepackage[T1]{fontenc} %step 1
%\usepackage[utf8]{inputenc} %step 2
%\usepackage{newunicodechar} %step 4
%\newunicodechar{fi}{fi} %step 4
\begin{document}
\symbol{65}=A
\symbol{66}=B
\symbol{228}=ä
% fi=fi %step 3
\end{document}
the 228-Symbol and the ä will not be there:
![enter image description here][1]
step 1: Now uncomment the fontenc-line: the symbol will apppear, but the ä won't be printed correctly.
![enter image description here][2]
step 2: Uncomment the inputenc line and now the ä will be okay.
step 3: Uncomment the fi line: You will get an error, as latex doesn't know this input glyph.
step 4: Uncomment the last two line in the preamble: now the fi works too.
![enter image description here][3]
[1]: http://i.stack.imgur.com/DXC1B.png
[2]: http://i.stack.imgur.com/HSwRm.png
[3]: http://i.stack.imgur.com/GBC3P.png
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________
MiKTeX-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/miktex-users
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
MiKTeX-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/miktex-users