Download the Noto fonts. They are excellent (and are still maintained!) https://fonts.google.com/noto/use Den lör 5 nov. 2022 18:57'Marek Stepanek' via pandoc-discuss < pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> skrev: > Thx Bastien, > > on my macOS DejaVu Serif and Sans are not found (pdfengine=xelatex) > > making a `locate -i dejavu` in my shell I realised that my TeXLive install > has DajaVu fonts but without space between. Without space XeLateX compiles > much longer, but finishes with: > > ``` > kpathsea: Appending font creation commands to missfont.log. > Error producing PDF. > ! Package fontspec Error: The font "DejaVuSerif" cannot be found. > > For immediate help type H . > ... > > l.21 \setsansfont > ``` > > But now I inserted > > mainfont: "Times New Roman" > sansfont: "Times New Roman" > > (The second sansfont is senseless) So looking into my FontBook.app I see > the DejaVu is called: > > sansfont: "DejaVu Sans Mono for Powerline" (Who has had the idea to call > this font like this?) > > Working! Wow! This means: I really have to change after many years from > LaTeX to XeLaTeX? OMG! XeLateX needs much longer to compile. Hope there > will be no bad surprises changing my long text from LaTeX to XeLaTex ... > > > Once again thank you Bastien > > > ps: I don't like the fonts like that. Is it always as ugly in XeLaTeX? > > > > > On 5. Nov 2022, at 18:20, Bastien DUMONT > wrote: > > > > On my installation, your LaTeX sample does not output any Cyrillic > characters at all with the Latin Modern font. However, the md file renders > sucessfully when: > > > > – removing all the lines related to inputenc and fontenc > > – adding `mainfont: "DejaVu Serif"` and `sansfont: "DejaVu Sans"` (or > whatever suitable fonts); > > – compiling with --pdf-engine=xelatex. > > > > (BTW, there is a typo in one of the lines you commented out: “mainfont”, > not “maintfont”.) > > > > As for me, I have no experience with pdflatex :-) > > > > Le Saturday 05 November 2022 à 05:52:46PM, 'Marek Stepanek' via > pandoc-discuss a écrit : > >> Hello all! > >> > >> Sorry, I already asked this question here. But I could not resolve this > problem. I would be **very** grateful for a solution. If there is no > solution, I have to switch to LaTeX - and this will be hard for a three > hundert page book. > >> > >> Pandoc does not render bold face in Cyrillic. I just tried to put my > Markdown document into LaTeX - and it is working! > >> > >> Here my Minimal Working (or not working) Examples: > >> > >> 1. in LateX > >> 2. in Markdown > >> 3. Makefile for Markdown > >> > >> *** > >> > >> \documentclass[fontsize=12pt,a4paper]{scrartcl} > >> \usepackage[russian,english,french,main=ngerman]{babel} > >> % \usepackage[T1]{fontenc} > >> % \usepackage[T1,T2A]{fontenc} > >> % \usepackage[utf8]{inputenc} > >> > >> \begin{document} > >> > >> \tableofcontents > >> > >> \bigskip > >> > >> \section{Wir, Russen, haben zwei Heimaten: unser Russland und Europa.} > >> > >> \selectlanguage{english} > >> > >> Chapters in \textbf{Cyrillic} are not bold. Text between two asterisks > are not rendered bold. Could somebody help me out? > >> > >> I tried with > >> > >> \begin{verbatim} > >> --pdf-engine xelatex > \ > >> \end{verbatim} > >> > >> Second Question: how to comment out lines in a Makefile? > >> > >> Thank you for your help! > >> > >> \selectlanguage{russian} > >> > >> \section{У нас, у русских, две Родины – наша Россия и Европа.} > >> > >> \textbf{Выхожу один я на дорогу;}\newline > >> Сквозь туман кремнистый путь блестит;\newline > >> Ночь тиха. Пустыня внемлет богу,\newline > >> И звезда с звездою говорит. > >> > >> \end{document} > >> > >> *** > >> > >> --- > >> documentclass: scrartcl > >> # Tests also with documentclass: article > >> fontsize: 12pt > >> pagesize: a4paper > >> # maintfont: "Times New Roman" > >> colorlinks: red > >> urlcolor: mygray > >> header-includes: > >> - \usepackage[russian,english,french,main=ngerman]{babel} > >> - \usepackage[T1]{fontenc} > >> # - \usepackage[T1,T2A]{fontenc}# No bold Characters at all > >> # does not change anything: > >> - \usepackage[utf8]{inputenc} > >> - \usepackage{xcolor} > >> - \definecolor{mygray}{gray}{.45} > >> include-before: > >> - \tableofcontents > >> - \bigskip > >> --- > >> > >> # Wir, Russen, haben zwei Heimaten: unser Russland und Europa. > >> > >> ```{=latex} > >> \selectlanguage{english} > >> ``` > >> > >> Chapters in **Cyrillic** are not bold. Text between two asterisks are > not rendered bold. Could somebody help me out? > >> > >> I tried with > >> > >> ``` > >> --pdf-engine xelatex > \ > >> ``` > >> > >> Second Question: how to comment out lines in a Makefile? > >> > >> Thank you for your help! > >> > >> ```{=latex} > >> \selectlanguage{russian} > >> % \newfontfamily\cyrillicfont[Script=Cyrillic]{Times New Roman} > >> ``` > >> # У нас, у русских, две Родины – наша Россия и Европа. > >> > >> **Выхожу один я на дорогу;**\newline > >> Сквозь туман кремнистый путь блестит;\newline > >> Ночь тиха. Пустыня внемлет богу,\newline > >> И звезда с звездою говорит. > >> > >> *** > >> > >> > >> > >> > >> > >> > >> > >> -- > >> 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/80AF9A20-6302-439E-8339-3BD515916020%40googlemail.com > . > > > > -- > > 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/Y2abZXN9lSUoYplk%40localhost > . > > -- > 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/6A3A0C74-3F96-498F-9B7E-2FB3558216BD%40googlemail.com > . > -- 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/CADAJKhCEQkhX50NnX7vFTegpijeZF9f2ckUPtTxgEZ9wye2FSQ%40mail.gmail.com.