pandoc-doc-ja
pandoc-doc-ja copied to clipboard
Transifexエディタ内で訳文に改行を入れると反映されないときがある
他に例があるかも。
例
原文: Creating a PDF 日本語版: https://pandoc-doc-ja.readthedocs.io/ja/latest/users-guide.html#creating-a-pdf
原文:
When using LaTeX, the following packages need to be available (they are included with all recent versions of `TeX Live`_):
```amsfonts```_, ```amsmath```_, ```lm```_, ```unicode-math```_, ```ifxetex```_, ```ifluatex```_, ```listings```_
(if the ``--listings`` option is used), ```fancyvrb```_, ```longtable```_, ```booktabs```_, ```graphicx```_ (if the document contains images),
```hyperref```_, ```xcolor```_, ```ulem```_, ```geometry```_ (with the ``geometry`` variable set), ```setspace```_ (with ``linestretch``),
and ```babel```_ (with ``lang``). The use of ``xelatex`` or ``lualatex`` as the PDF engine requires ```fontspec```_. ``lualatex`` uses ```selnolig```_.
``xelatex`` uses ```polyglossia```_ (with ``lang``), ```xecjk```_, and ```bidi```_ (with the ``dir`` variable set).
If the ``mathspec`` variable is set, ``xelatex`` will use ```mathspec```_ instead of ```unicode-math```_.
The ```upquote```_ and ```microtype```_ packages are used if available, and ```csquotes```_ will be used for `typography`_
if the ``csquotes`` variable or metadata field is set to a true value.
The ```natbib```_, ```biblatex```_, ```bibtex```_, and ```biber```_ packages can optionally be used for `citation rendering`_.
The following packages will be used to improve output quality if present, but pandoc does not require them to be present: ```upquote```_
(for straight quotes in verbatim environments), ```microtype```_ (for better spacing adjustments), ```parskip```_ (for better inter-paragraph spaces),
```xurl```_ (for better line breaks in URLs), ```bookmark```_ (for better PDF bookmarks), and ```footnotehyper```_ or ```footnote```_ (to allow footnotes in tables).
訳文ソース: (読みにくいので改行を入れた)
LaTeXを用いる際には、下記のパッケージを利用できます(最近のバージョンの `TeX Live`_ に含まれます):
- ```amsfonts```_
- ```amsmath```_
- ```lm```_
- ```unicode-math```_
- ```ifxetex```_
- ```ifluatex```_
- ```listings```_ (``--listings`` オプション指定時)
- ```fancyvrb```_
- ```longtable```_
- ```booktabs```_
- ```graphicx```_ (文書に画像を含む場合)
- ```hyperref```_
- ```xcolor```_
- ```ulem```_
- ```geometry```_ (``geometry`` 変数の指定時)
- ```setspace```_ (``linestretch`` 変数の指定時)
- ```babel```_ (``lang`` 変数の指定時).
``xelatex`` または ``lualatex`` をPDFエンジンに利用する際は ```fontspec``` パッケージが必要です。
``lualatex`` には ```selnolig```_ パッケージが、 ``xelatex`` には ```polyglossia```_ (``lang`` 変数の指定時), ```xecjk```_, ```bidi```_ (``dir`` 変数がセットされているとき) の各パッケージが必要です。
``mathspec`` 変数がセットされているとき ``xelatex`` は ```unicode-math```_ のかわり ```mathspec```_ パッケージを利用します。可能なら ```upquote```_ および ```microtype```_ パッケージを利用します。また ``csquotes`` 変数(もしくはメタデータフィールド)が指定されている場合には ```csquotes```_ はタイポグラフィ(`typography`_ を参照)のために利用されます。パッケージ ```natbib```_, ```biblatex```_, ```bibtex```_, ```biber```_ は参考文献のレンダリング(`citation rendering`_ を参照)のために補助的に利用されます。
下記のパッケージは、もし存在すれば出力の品質を高めるために利用されます。もしパッケージが存在しないならPandocは利用しません。
- ```upquote```_ (verbatim 環境において引用符を真っ直ぐにする)
- ```microtype```_ (スペース調整を改善)
- ```parskip```_ (段落間スペースを改善)
- ```xurl```_ (URLの改行を改善)
- ```bookmark```_ (PDFブックマークの改善)
- ```footnotehyper```_ または ```footnote```_ (表組み内の脚注を有効にする)
Sphinxのレンダリング結果:(amsfonts 以下がなくなってしまった)
LaTeXを用いる際には、下記のパッケージを利用できます(最近のバージョンの TeX Live に含まれます)。