General ⇒ TeXnicCenter: problem with French accents
TeXnicCenter: problem with French accents
I'm writing a French document but the accents (é, à, ê...) don't appear on my pdf file after compilation. Do you know how to solve this issue?
Cheers!
Alexis
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
TeXnicCenter: problem with French accents
[1] View topic: Avoidable mistakes
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
TeXnicCenter: problem with French accents
I first wrote my text in TexWorks and it worked well, but I decided to work on TeXnicCenter because it's more user friendly. However, I get � instead of "è" for example. If I replace those � by the right letters "è", "é"... it doesn't appear on my final pdf (i.e I get "prfrence" instead of "préférence"). So here am I!
Here's below the first part of my main page, I hope it will help:
Code: Select all
\documentclass[a4paper, french, 11pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{tabularx}
\usepackage{fullpage}
\usepackage{listings}
\usepackage{makeidx}
\usepackage[T1]{fontenc}
\usepackage{lmodern}Thanks for your help!
Alexis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
TeXnicCenter: problem with French accents
Code: Select all
\documentclass[11pt,a4paper,french]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\begin{document}
à â è é
\end{document}- Attachments
-
- The »Save As« dialogue window in TXC2 alpha 2.
- TXC2alpha2-SaveAs-Encoding.png (31.35 KiB) Viewed 12566 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: TeXnicCenter: problem with French accents
However, now in the Build section I get 3 errors:
Do you guys have any idea of what that means?
Thanks again!
Alexis
- Attachments
-
- Build errors
- Capture.PNG (21.41 KiB) Viewed 12565 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
TeXnicCenter: problem with French accents
From the screenshot I can only guess that you try to read an external file which is not present in the current working directory.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: TeXnicCenter: problem with French accents
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
TeXnicCenter: problem with French accents
In the same directory as the source file.petital wrote:[...] Where's the log file? [...]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
TeXnicCenter: problem with French accents
Code: Select all
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (preloaded format=pdflatex 2010.5.4) 4 MAY 2010 16:58
entering extended mode
**Files (x86)\MiKTeX 2.8\miktex\bin\pdflatex.exe C:\Users\Alexis\Desktop\ALEX.tex
! Emergency stop.
<*> Files
(x86)\MiKTeX 2.8\miktex\bin\pdflatex.exe C:\Users\Alexis\Desktop\A...
*** (job aborted, file error in nonstop mode)
Here is how much of TeX's memory you used:
2 strings out of 495285
15 string characters out of 3179876
45037 words of memory out of 3000000
3306 multiletter control sequences out of 15000+200000
3640 words of font info for 14 fonts, out of 3000000 for 9000
14 hyphenation exceptions out of 8191
0i,0n,0p,1b,6s stack positions out of 5000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!