[texworks] german umlaut in TeXWorks
Juergen Fenn
jfenn at gmx.net
Sun Jul 30 21:18:17 CEST 2023
This should still work, but, as Andreas pointed out, UTF-8 has become
the standard input encoding, so it should suffice to set your editor to
UTF-8 in order to compile with a recent pdflatex. Of course, the new
enginges LuaTeX and XeTeX are unicode engines in the first place from
the start.
But speaking of German characters, on testing TeXworks I have realised
that although there is a switch for German quotes in TeXworks, I don't
get any in the editor. I only get English quotes, although I have set my
editor to German language and German quotes, no matter if TeX ligatures
or TeX commands. So, if you could help me with this, I would be quite
grateful.
My usual editor is Aquamacs on macOS Ventura.
Thanks in advance,
Jürgen.
Am 30.07.23 um 20:47 Uhr schrieb J. R. Setti:
> I think that LaTeX supports UTF-8 since a few years ago.
> Perhaps the issue could be solved with these magic LaTeX command at the
> beginning of the file:
>
> % !TeX encoding = UTF-8
> % !TeX TS-program = pdflatex
>
> and the package
>
> \usepackage[T1]{fontenc}
>
> This is what I do when I need to use accents in Portuguese.
> More details in
> https://tex.stackexchange.com/questions/44694/fontenc-vs-inputenc
> <https://tex.stackexchange.com/questions/44694/fontenc-vs-inputenc>
>
> --jrs.
> ----------------
> *José Reynaldo Setti*
> jrasetti at gmail.com <mailto:jrasetti at usp.br>
> (55-16) 3374-4835 (resid)
> (55-16) 9-9618-9890 (cel.)
>
>
> On Sun, Jul 30, 2023 at 9:30 AM Duncan Murdoch <murdoch.duncan at gmail.com
> <mailto:murdoch.duncan at gmail.com>> wrote:
>
> On 30/07/2023 6:18 a.m., Wilhelm Koen via texworks wrote:
> > Hello!
> >
> >
> > Where and how can i install the german Umlauts in TeXWorks?
> >
> > The Words
> >
> > genügte natürlich
> >
> > looks like
> >
> > genï¿ 1gtenatï¿221 rlich
> >
> > after setting the Text.
>
> That's a TeX issue, not TeXWorks. You can use a different engine than
> pdftex (e.g. XeTeX), or if you're using LaTeX, use a package to support
> non-ascii characters. You can also use one of the old escapes for
> umlauts; it's been a while since I used those, but I think
>
> gen\"ugte nat\"urlich
>
> might be what you want.
>
> Duncan Murdoch
>
More information about the texworks
mailing list.