help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks


From: Sebastian Urban
Subject: Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks
Date: Mon, 4 May 2020 23:52:37 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

> The problem is that directional double quotes don't appear in the
> standard TeX monowidth fonts.  Do you know where such glyphs could
> be found?  Does LaTeX use monowidth glyphs or the usual
> variable-width glyphs?

Frankly speaking I don't know if they exist at all.  Isn't typewriter
font based on design of chars from typewriters (devices)?  And there,
I guess, you can't find left/right double quotation marks.

In '\texttt', I think, that for ‘ and ’ glyphs, LaTeX simply use the
same glyphs as in case of ` and ', which is acceptable.  As for “ and
” (with T1) I believe it uses the same glyph as for `` and ''.  Small
test TeX file:

\documentclass[12pt]{minimal}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\begin{document}
\noindent QUOTES:\\
`--‘--'--’ ~~ \texttt{`--‘--'--’} ~~ \verb!`--‘--'--’!\\
``--“--''--”--" ~~ \texttt{``--“--''--”--"} ~~ \verb!``--“--''--”--"!\\
\end{document}

So maybe it's possible to tell Texinfo:
"When you see “ or ” in code environment, print glyph for `` or ''."


> It can be done with the patch to texinfo.tex below.  Do you think
> that lots of people would find an option for this useful?

Well, this was one of things I was missing, when I was reading Emacs
manual in PDF.  It's much easier to remember that "I should look into
chapter 15 later", than "I should look into..." and the name of the
chapter follows.  There are sections with their names as well and
again, it's easier to remember 15.3 rather then full name.  So, it
helps navigating the document, especially when it has ~650 pages and
many sections.  Therefore, I think people will find it useful.

I also tested patch on Emacs manual, all good.


S. U.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]