7
votes
3answers
222 views

Non-ascii character as argument

I want to do something special with some characters in the text. In this example that is just boldfacing them: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
2
votes
1answer
295 views

Beamer not working at all!

Suddenly I am getting the cryptic "Text line contains an invalid character" errors (100 of them) on all my beamer files. Even this MWE doesn't work right: \documentclass{beamer} \begin{document} ...
17
votes
2answers
416 views

Why characters UTF-8 encoded are ISO-8859-1 encoded when written in an external file

For an UTF-8 encoded file as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % \newwrite\outtmp \immediate\openout\outtmp=out.tmp % \begin{document} ...
2
votes
0answers
60 views

PDFLaTeX encoding problem [duplicate]

I am generating a pdf file with PDFLaTeX. The content of the pdf looks well at a first glance. However if I try to copy and paste the text to somewhere else the text look like this: ❉✐❡ ▼❡♥❣❡ ❛♥ ...
5
votes
1answer
164 views

Document in Spanish with IPA and Greek, failing in PDFLaTeX and XeLaTeX

I was passing some documents I had in HTML to LaTeX for a better printout. While the main language of those documents is Spanish (and a few more are in English) there have snips in other languages, ...
1
vote
0answers
113 views

Input Encoding bugged on Windows 7 WinEdt?

When my girlfriend processes her code in WinEdt on Windows 7, she gets awkward looking "special" letters. (Precisly, these are Serbian letters -- from our home country.) She used: \usepackage[T1, ...
7
votes
1answer
67 views

pdflatex: encoding problems for macros defined before documenclass

I use pdflatex to create a bunch of personalised documents. From a list of names I generate tex files for each John and Jane Doe of the form: \newcommand{\firstname}{John} \newcommand{\lastname}{Doe} ...
5
votes
1answer
164 views

What controls the encoding of the LaTeX log file – and how to change it?

I have a LaTeX document in UTF-8 encoding: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} ...
0
votes
1answer
159 views

Error with ASCII characters [closed]

I have an apostrophe as in educator's, which is displayed as eductaor's and prevents TeX from generating a pdf. I have used this as well: \usepackage[utf8]{inputenc} how can I fix that? ...
16
votes
2answers
1k views

In which order should I load inputenc and fontenc?

When I’m using pdfLaTeX, my preamble usually contains \usepackage[utf8]{inputenc} and \usepackage[T1]{fontenc} Should these two be loaded in any particular order? What problems could arise if ...
15
votes
1answer
802 views

Automatically change é to \'e – most convenient setup for accented letters?

I assume this is really basic question, I'm new to LaTeX, I read a first step tutorial to get ready to write some documents but I couldn't answer my own question at this time and I really don't know ...
10
votes
1answer
228 views

Encoding of non-ASCII characters (Umlauts) in \jobname

I need to parse \jobname to extract some metadata (such as the subject of a letter) that is encoded in the filename of the .tex file. The filenames are not restricted to ASCII, but maybe any UTF8 ...
4
votes
1answer
314 views

inserting png introduces inputenc error

I want to write an article in Chinese, which needs to insert pictures. It's fine when I insert pictures as .pdf but the following problem occurs if .png is inserted: ! Package inputenc Error: ...
6
votes
1answer
503 views

my french é is being shown as a weird Ãl’

I'm writing a Dutch / French document, so I defined \usepackage[dutch,french,british]{babel} in my headers, but my french é is being shown as a weird Ãl’. I tried changing the encoding in ...
0
votes
1answer
360 views

Problems with error message when using listings-package and inputenc.

I want to include the code of some script in my LaTeX document. In a "minimal" example, it works perfectly well - but only if I leave out the line \usepackage[latin1]{inputenc}: ...
13
votes
3answers
2k views

Using non ASCII characters in author names and titles within hyperref pdfinfo

I am trying to generate a PDF file (using pdflatex) with hyperref references; both the title and author should be visible as pdf properties, and both contain accents or non us-ASCII. The rest of the ...
7
votes
2answers
830 views

Specify -job-name option to pdflatex with special characters

I'm working on a python script that will compile a series of latex documents according to a work list. Basically, the script reads the file name and title of a document, adds a couple of things that ...