Latex(带有 pandoc)\ldots 无法渲染

Latex(带有 pandoc)\ldots 无法渲染

我正在 pandoc 中处理一个文档,将其转换为 LaTeX 以进行 pdf 输出。出于某种原因,似乎\ldots无法正确呈现,总是给出紧密间隔的句点 (...)。在转换过程中,我看到 pandoc 正确地将所有输入 ... 转换为\dots,但它似乎呈现为无间隔的句点。因此 LaTeX 似乎将其理解\dots为三个点,但间距很奇怪。我似乎无法在我的某个软件包中找到会导致此问题的原因:

\documentclass[a4paper,12pt,oneside]{book}  
% GENERAL 
\usepackage[top=2.5cm,bottom=2.5cm,left=2.75cm,right=2.75cm]{geometry} % margins
\usepackage[english]{babel} % language of headings, etc.
\usepackage[notes,backend=biber]{biblatex-chicago} % for chicago style footnotes 
\usepackage[marginal,bottom,ragged]{footmisc} % for hanging footnotes
\usepackage{fnpct} % footnote kerning

% FONTS
\usepackage[T1]{fontenc}
\usepackage{fontspec}

% GRAPHICS & TABLES 
\usepackage{graphicx} % for including graphics
\setkeys{Gin}{keepaspectratio}
\usepackage{longtable}
\usepackage{booktabs} % for tables
\usepackage{multirow} % for tables
\usepackage[justification=raggedright,font=footnotesize,labelfont={sc}]{caption} % for caption settings

% STRAIGHT COPY
\usepackage[all]{nowidow} % orphan / widow control
\usepackage{setspace} % for line spacing
\usepackage{enumitem} % for creating lists 
\setlist{nosep} % removes too much vertical spacing in lists
\renewcommand{\quote}{\small\singlespacing\list{}{\rightmargin=\leftmargin\topsep=0pt}\item\relax}
\frenchspacing % single space after periods
\usepackage{ellipsis}
\renewcommand{\ellipsisgap}{12pt}

% HYPERLINKS   
\RequirePackage{xcolor}
\usepackage[hyperfootnotes=true,colorlinks=true,allcolors=blue]{hyperref} % hyperref colour

% HEADER
\pagestyle{myheadings} % page number top right

% TITLES
\usepackage{sectsty}
\chapterfont{\Large\normalfont\centering}
\sectionfont{\normalfont\large}
\subsectionfont{\normalfont\large\it}

\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\hbadness=10000

\begin{document}

\begin{quote}
The criteria of \emph{harmonia} {[}harmony{]} are hearing and reason,
not however in the same way\ldots Hearing is concerned with the matter
and the modification, reason with the form and the cause, since it is in
general characteristic of the senses to discover what is approximate and
to adopt from elsewhere what is accurate, and of reason to adopt from
elsewhere what is approximate, and to discover what is
accurate\ldots.Since matter is determined and bounded only by form, and
modifications only by the causes of movements, and since of these the
former\ldots belong to sense perception, the latter to reason, it
follows naturally that the apprehensions of the senses are determined
and bounded by those of reason, first submitting to them the
distinctions that they have grasped in rough outline\ldots and being
guided by them towards distinctions that are accurate and accepted. This
is because it is a feature of reason that it is simple and unmixed, and
is therefore autonomous and ordered, and is always the same in relation
to the same things, while perception is always involved with
multifariously mixed and changeable matter, so that because of the
instability of this matter, neither the perception of all people, nor
even that of the very same people, remains the same when directed
repeatedly to objects in the same condition; but it needs, as it were as
a crutch, the additional teaching of reason.
\end{quote}

\end{document}

您甚至可以看到,我尝试将省略号间距放大(12 pt!)以查看是否会产生效果,但没有任何效果。有什么想法吗?

以下是上面渲染后的区块引用的截图: 在此处输入图片描述

答案1

\ldots在文本模式下扩展\textellipsis为由以下格式定义的

\DeclareTextCommandDefault{\textellipsis}{%
   .\kern\fontdimen3\font
   .\kern\fontdimen3\font
   .\kern\fontdimen3\font}

这意味着它是一个特定于编码的命令,.如果字体没有提供其他内容,则使用三个由 tex 空格分隔的命令。

xelatex 和 luatex 使用 TU (Unicode) 编码,并且tuenc.def具有

\DeclareTextSymbol{\textellipsis}        \UnicodeEncodingName{"2026}

因此它将使用 U+2026,它在不同的字体中看起来不同,但在当前字体中它看起来像:...

答案2

显然hyperref必须在之前加载ellipsis(tex.stackexchange.com/a/43959/202950)

相关内容