Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #261228
| From | David <curmudgeon@telaman.net.au> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: LaTex Unicode entry issues |
| Date | 2023-08-27 05:30 +0200 |
| Message-ID | <H7eDo-4FpW-5@gated-at.bofh.it> (permalink) |
| References | <H6phv-49n2-1@gated-at.bofh.it> <H6Gs1-4jNM-1@gated-at.bofh.it> <H70qJ-4wEU-11@gated-at.bofh.it> <H7etH-4Fms-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, 2023-08-27 at 10:16 +0700, Max Nikulin wrote:
> On 26/08/2023 19:08, Haines Brown wrote:
> > \documentclass[12pt]{article} %
> > \usepackage[utf8]{inputenc} %
> > \usepackage[T1]{fontenc} %
> > \usepackage[greek,english]{babel} % to make Greek charactes
> > available
>
> It seems, you are overestimating effect. You still need to provide
> fontenc containing Greek characters. Unless you have real reasons to
> avoid LuaTeX, I recommend you to use lualatex instead of pdflatex.
>
> > \DeclareUnicodeCharacter{2014}{\dash} % to get m-dash
>
> Do you really need it? Even without explicit declaration there is no
> issue with pdflatex and U+2014 character
>
> \begin{document}
> Test—character.
> \end{document}
>
> Not to mention
>
> Test---ligature.
> On the other hand in response to
>
> \begin{document}
> Test\dash{}test.
> \end{document}
>
> I get
>
> ! Undefined control sequence.
> l.7 Test\dash
> {}test.
> ?
>
> There is \textemdash command however. So you \DeclareUnicodeCharacter
> is
> incorrect and almost certainly unnecessary.
No need for any of it, just insert --- for an em dash and -- for an en
dash with numbers.
> > If I paste an upper case Omega % Ω
> > into a LaTeX file and run pdflatex on it I am told the character is
> > not
> > set up for LaTeX. \$ albatross tells me it is available in the
> > DejaVu
> > Sans font which I have installed.
>
> It is sour, but in general even with LuaTeX engine you have to
> explicitly specify particular font. In the specific case of "Ω", the
> character is available in lmodern (default font used by LuaTeX).
> Unlike
> browsers or office software, TeX engines do not try hard to find at
> least some font that can be used as a fallback for particular
> character.
>
>
Cheers!
--
A Kiwi in Australia,
doing my bit toward raising the national standard.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
LaTex Unicode entry issues Haines Brown <haines@histomat.net> - 2023-08-24 22:40 +0200
Re: LaTex Unicode entry issues David <curmudgeon@telaman.net.au> - 2023-08-24 23:00 +0200
Re: LaTex Unicode entry issues <tomas@tuxteam.de> - 2023-08-25 06:30 +0200
Re: LaTex Unicode entry issues tomas@tuxteam.de - 2023-08-25 06:30 +0200
Re: LaTeX Unicode entry issues Michel Verdier <mv524@free.fr> - 2023-08-25 08:30 +0200
Re: LaTex Unicode entry issues Max Nikulin <manikulin@gmail.com> - 2023-08-25 17:00 +0200
Re: LaTex Unicode entry issues Charles Kroeger <mbone@gmx.co.uk> - 2023-08-26 09:10 +0200
Re: LaTex Unicode entry issues debian-user@howorth.org.uk - 2023-08-26 13:20 +0200
Re: LaTex Unicode entry issues Haines Brown <haines@histomat.net> - 2023-08-26 14:20 +0200
Re: LaTex Unicode entry issues Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2023-08-26 14:30 +0200
Re: LaTex Unicode entry issues Max Nikulin <manikulin@gmail.com> - 2023-08-27 05:20 +0200
Re: LaTex Unicode entry issues David <curmudgeon@telaman.net.au> - 2023-08-27 05:30 +0200
Re: LaTex Unicode entry issues Max Nikulin <manikulin@gmail.com> - 2023-08-28 04:20 +0200
csiph-web