From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Bold Type in Cyrillic not working in Markdown to PDF
Date: Mon, 24 Oct 2022 10:30:47 -0700 [thread overview]
Message-ID: <5A532BF5-2F68-49BD-AA26-45752F8665E1@gmail.com> (raw)
In-Reply-To: <EC4CEDB6-78D3-4315-B147-ED2E2CC8AF40-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Try using `--pdf-engine=xelatex` and adding `maintfont:` to your metadata, specifying a font with good Cyrillic support.
You could also try using L[aTEX commands that set a special font just for Cyrillic, e.g. (untested)
\newfontfamily\cyrillicfont[Script=Cyrillic]{Times New Roman}
> On Oct 24, 2022, at 12:51 AM, 'Marek Stepanek' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
>
> Thank you John for your answer.
>
> I am using pdflatex and no definition of any fonts. I am using the default fonts - and this is certainly the problem:
>
>
> ```
> ---
> documentclass: scrartcl
> fontsize: 12pt
> pagesize: a4paper
> colorlinks: red
> urlcolor: mygray
> header-includes:
> - \setcounter{secnumdepth}{3}
> - \newcommand{\HRule}{\begin{center}\rule{0.5\linewidth}{0.2mm}\end{center}}
> - \newenvironment{itquote}{\begin{quote}\itshape}{\end{quote}\ignorespacesafterend}
> - \newenvironment{itpars}{\par\itshape}{\par}
> - \newenvironment{largecite}{\par\large\color{mygray}}{\par}
> - \newenvironment{largecite2}{\par\large\itshape\color{mygray}}{\par}
> - \usepackage{longtable}
> - \usepackage{graphicx}
> - \usepackage{booktabs}
> - \usepackage[font=small,labelfont=bf]{caption}
> - \usepackage[russian,english,french,main=ngerman]{babel}
> etc etc
> ```
>
> My Makefile:
>
> all: save typeset open
>
> .PHONY: all
> save:
> w
>
> typeset:
> pandoc \
> --from markdown \
> --to latex \
> --out important_txt23.pdf \
> --pdf-engine pdflatex \
> --bibliography important_txt23.bib \
> --citeproc \
> --csl csl/din-1505-2-numeric-alphabetical.csl \
> --lua-filter pandoc-gls.lua \
> important_txt23.md
>
> open:
> open important_txt23.pdf
>
>
> Thx again
>
>
> marek
>
>
>
>> On 24. Oct 2022, at 06:09, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>
>> Are you using xelatex, lualatex, or pdflatex?
>> How are you setting up fonts for Cyrillic?
>>
>>>
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/EC4CEDB6-78D3-4315-B147-ED2E2CC8AF40%40googlemail.com.
next prev parent reply other threads:[~2022-10-24 17:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-23 8:39 'Marek Stepanek' via pandoc-discuss
[not found] ` <21AD61A3-8B7D-43A0-BF9F-F671C0865EAA-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2022-10-24 4:09 ` John MacFarlane
[not found] ` <2A5BF708-9E3F-4FD7-A4A6-13FCFF891428-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-24 7:51 ` 'Marek Stepanek' via pandoc-discuss
[not found] ` <EC4CEDB6-78D3-4315-B147-ED2E2CC8AF40-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2022-10-24 17:30 ` John MacFarlane [this message]
[not found] ` <5A532BF5-2F68-49BD-AA26-45752F8665E1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-25 14:43 ` 'Marek Stepanek' via pandoc-discuss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5A532BF5-2F68-49BD-AA26-45752F8665E1@gmail.com \
--to=fiddlosopher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).