From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31701 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Once again: Cyrillic bold characters not rendered by Pandoc Date: Sat, 5 Nov 2022 22:48:33 +0100 Message-ID: References: <80AF9A20-6302-439E-8339-3BD515916020@googlemail.com> <6A3A0C74-3F96-498F-9B7E-2FB3558216BD@googlemail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000075b0a705ecc027a4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10590"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBPNUTONQMGQE4XYAIBY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Nov 05 22:48:49 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f187.google.com ([209.85.214.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1orR21-0002WP-DI for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 05 Nov 2022 22:48:49 +0100 Original-Received: by mail-pl1-f187.google.com with SMTP id n12-20020a170902e54c00b00188515e81a6sf6131148plf.23 for ; Sat, 05 Nov 2022 14:48:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667684928; cv=pass; d=google.com; s=arc-20160816; b=wTBVD9ekaIiUX8LWmtCdMzb5ac6UgbiqpJ9vKm8xD8srz9uVjNXo4p08aC9rTU3nM+ XCCCyRQkRZB+I4c93SOnGAKxToNufw7KIkTmb9b/UmwStyNpUmUL7ccPBPDJwUGyvL5W BzPbAGlVq/kQBUs1TNEovjVvEZcnObOz3V5MGJmuWjUBlbZDYxTSXnjzbl62dTIwPoBX rsEiC5tupN2LTTGVnkG1xZPbrAO5UED3fGq1fBheBhJHzAez9TWVGc8PVfOrebJko8ur nCqF4seXFkb2TOmy4xS6lnMaPt6cae3i89WNjlqxW29Otjk4d3RtYQFApiJiwac74LOs gCtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=ZrY0wAEApShkqt+5wMtcZZ9EhOXy+yeDPPbD7tnDZN0=; b=adLs04EeK4D6YmzfiHRei326FtUA8Wl5KKhnhgcZCHpdHgdkdMaflR3voVsnCbHWx0 m1Tdz03kj7mfW9uKy0uHG4hdXDDxio2atMFJbdd3gEjr6AOhp6/lnZA0h/rgr3WIxIDI 4g+WDWvOXnR2EySC1rLYVGP8QxUTR3pfuUtFdmkVAcp4Xb6wDDeXBRHy8Iu2WF82ojgb EIx5dVMG8l2DD3z1nlVunXq3W560bkmo0A/OJKNfnhz+L62ZzI0prCpEtg4uNvDmY6OI 63S88lapbDr3DE7ERUvuhEQF9c/E8kEFF9jocQTBR3AcBk8XBsAFQtNz/oPYpUoDe9I8 BdFQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eKisf+i9; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1130 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=ZrY0wAEApShkqt+5wMtcZZ9EhOXy+yeDPPbD7tnDZN0=; b=ikLY74IYfpKxLvE208WVL0lJsOdodO+MkwZTdZWZVMp/PnfpFm1obsHe3gohougExN es7iSOKFLhPF/I07Mm8xu0FhvbY6Au5g6v6LOA7hRTGnPB1dbhpNURLvRmV/Y6+AwLMl HQG6+qrMYklskIccJ4ujcY/pGCCAloH2XhVKbJY7zJtY5Glzn3ZQPEWLLWig7o+gBaHX yV/K7M3fhlY+d0jMvIp1+QnA2V78xJI7TVtLsHG4YFRFhdkG8Lj5YeL5btpIu54s33Yp kI60tSy8NKLG4ww/LOwjP5LP0tym+gVNnZ3tgx07ToMGjIK+IAV9Pr4QCb8YgBDJUZCs c/Rg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=ZrY0wAEApShkqt+5wMtcZZ9EhOXy+yeDPPbD7tnDZN0=; b=O7E/K5e2TlSJrBMLWju3OzK3BjQVhSWr4eSapQd6XG2bxuVQ78SEdKDoGTs+Xv+c3Q 7E4b/blwPuzoyrU/sDo/nEA2gDT2/J1kRCCt0dnB7lgltTeEe+qnHHADc9rHkhgv1iFT nTHyT8r1yeVpSF24TeOmOsCIF931pVSPQq+6MQPRHOzIyTDPUxdWrMwi5CjH1oZGvqbS O2VJulZMmWpRx9+zX4BSq75FHRFRZKpPh/okNSfrY6DUtuuuO1TX8AWpD160wXELr4lM 6LZ3JaRBp+Sfr2pzDDfsMvWIj0/aRnf3fqut6MjH8FBNLma8Qgke1ym28WNbUwvFpGBA DOlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=ZrY0wAEApShkqt+5wMtcZZ9EhOXy+yeDPPbD7tnDZN0=; b=x/hogqK47GlSzixoveBQMYQdD4EE9f13lF7HXNJwN+0oxANZAKF+2SPqnaXbTp2l0q CCxuEbrw7qf+4R+RXByZrUVUJEai12b69OSn262E6h6qxI3XR4Kwu92sgO4eswSMC9x8 SLQu0EGLw5f2bS0hvQGDvqFn06MEDmuXXmcmPqLgMDr4fU5OT36faqREZx5JVWixLxZA BwjKenxgd1pLpB0rXgBJnMziCloeFnE89gcvTfoc6pBMKb3K+2+E7MGMRppNume9t/xu KvUpcHey6Czw1NSc+f3l7EUOdRMq2vf3ni1P50ypgC5+2O Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf2tjLvxL1SwQPR7h2xhi5SmfovhwWwyJUFfyJCyzL/zbi6mQv7b NxtOk88lK4zt3k5fVQZjbh4= X-Google-Smtp-Source: AMsMyM6yM5Vpyhy6k44pmUM5QqRTeWexG+HwnX6c9DKFBOcqmN3AAuk+7MV6axo+2WBNvdvP2n2mhQ== X-Received: by 2002:a17:903:2283:b0:187:21f6:fde2 with SMTP id b3-20020a170903228300b0018721f6fde2mr33001789plh.49.1667684928003; Sat, 05 Nov 2022 14:48:48 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:788f:b0:178:35a3:84d9 with SMTP id q15-20020a170902788f00b0017835a384d9ls5675469pll.10.-pod-prod-gmail; Sat, 05 Nov 2022 14:48:44 -0700 (PDT) X-Received: by 2002:a17:90b:4a4a:b0:213:43bc:91b3 with SMTP id lb10-20020a17090b4a4a00b0021343bc91b3mr60976697pjb.151.1667684924405; Sat, 05 Nov 2022 14:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667684924; cv=none; d=google.com; s=arc-20160816; b=jXqe+CSRlVYaAentvBtTzFOPAzL6aOb8ZoUknYRNWZJuek8X2OeVx7+jg8YcPWJKy0 xCfkkLvntOnKslk2VWhy8B7zWrahfFUa+llqnzKRw51ZI6cBapz8k7TBg3kpsnAefyZf nH8vtwZ852+iNYMbqt2thQY2NKsTQMAMAVqbV6akzAC5eJ5hh1qIQ27URRxi5RHQ2WIb X5ebWjtYVmmdZnpOIk9kq3Dpr22JbzAXLe0EuoihHQrEwR81qKiRo10+Z9kUUhd/F+0p bVI3NylWEBbbd3TQsN/VwwiZoY2q4S/CzsYdsIvAEe9q3zbYFMUU7lOjVtsk0aOijJ8X kttA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Asvx/ckcD16pTFS+DQX+31DWW69iMGt0/1mZVO3hC8A=; b=gyzxTGe/kcUGstHLxGo5OWWv6oIWlAJFzKev634Iab2OM0ON9cyvKjxjfJ7lTP3cb1 sF032x28mTc59sc2b2dQdLbYutzXN1z+5sxipvVGYWqu1fnBSDpOOs1suFTPlylfPQHF X1tFMzjtSvoun9zkNowYf0RLPtt28yLYM6/r/acs1fROVtrw7o521VJOnmaUqpJdvHRQ adCLTFJtiFUvtHh09A0zPusK+D/x9uTtQ2xdvUcseZpx+xWKse6a+EG89M0SPb/4o7up vg7Gernwb985BSas+Bw4iUrPjL5iYBD5fkS5rJ8HS3BhjAyKhoDFpQ9DmRwc5aRBOd1n 3q8w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eKisf+i9; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1130 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com. [2607:f8b0:4864:20::1130]) by gmr-mx.google.com with ESMTPS id ob6-20020a17090b390600b00213290fa218si127938pjb.2.2022.11.05.14.48.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 05 Nov 2022 14:48:44 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1130 as permitted sender) client-ip=2607:f8b0:4864:20::1130; Original-Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-37063f855e5so73230727b3.3 for ; Sat, 05 Nov 2022 14:48:44 -0700 (PDT) X-Received: by 2002:a81:6687:0:b0:369:2a73:9cb8 with SMTP id a129-20020a816687000000b003692a739cb8mr40129468ywc.150.1667684923452; Sat, 05 Nov 2022 14:48:43 -0700 (PDT) In-Reply-To: <6A3A0C74-3F96-498F-9B7E-2FB3558216BD-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eKisf+i9; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1130 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31701 Archived-At: --00000000000075b0a705ecc027a4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Download the Noto fonts. They are excellent (and are still maintained!) https://fonts.google.com/noto/use Den l=C3=B6r 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=3Dxelatex) > > making a `locate -i dejavu` in my shell I realised that my TeXLive instal= l > has DajaVu fonts but without space between. Without space XeLateX compile= s > 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 render= s > sucessfully when: > > > > =E2=80=93 removing all the lines related to inputenc and fontenc > > =E2=80=93 adding `mainfont: "DejaVu Serif"` and `sansfont: "DejaVu San= s"` (or > whatever suitable fonts); > > =E2=80=93 compiling with --pdf-engine=3Dxelatex. > > > > (BTW, there is a typo in one of the lines you commented out: =E2=80=9Cm= ainfont=E2=80=9D, > not =E2=80=9Cmaintfont=E2=80=9D.) > > > > As for me, I have no experience with pdflatex :-) > > > > Le Saturday 05 November 2022 =C3=A0 05:52:46PM, 'Marek Stepanek' via > pandoc-discuss a =C3=A9crit : > >> Hello all! > >> > >> Sorry, I already asked this question here. But I could not resolve thi= s > 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=3D12pt,a4paper]{scrartcl} > >> \usepackage[russian,english,french,main=3Dngerman]{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{=D0=A3 =D0=BD=D0=B0=D1=81, =D1=83 =D1=80=D1=83=D1=81=D1=81=D0= =BA=D0=B8=D1=85, =D0=B4=D0=B2=D0=B5 =D0=A0=D0=BE=D0=B4=D0=B8=D0=BD=D1=8B = =E2=80=93 =D0=BD=D0=B0=D1=88=D0=B0 =D0=A0=D0=BE=D1=81=D1=81=D0=B8=D1=8F =D0= =B8 =D0=95=D0=B2=D1=80=D0=BE=D0=BF=D0=B0.} > >> > >> \textbf{=D0=92=D1=8B=D1=85=D0=BE=D0=B6=D1=83 =D0=BE=D0=B4=D0=B8=D0=BD = =D1=8F =D0=BD=D0=B0 =D0=B4=D0=BE=D1=80=D0=BE=D0=B3=D1=83;}\newline > >> =D0=A1=D0=BA=D0=B2=D0=BE=D0=B7=D1=8C =D1=82=D1=83=D0=BC=D0=B0=D0=BD = =D0=BA=D1=80=D0=B5=D0=BC=D0=BD=D0=B8=D1=81=D1=82=D1=8B=D0=B9 =D0=BF=D1=83= =D1=82=D1=8C =D0=B1=D0=BB=D0=B5=D1=81=D1=82=D0=B8=D1=82;\newline > >> =D0=9D=D0=BE=D1=87=D1=8C =D1=82=D0=B8=D1=85=D0=B0. =D0=9F=D1=83=D1=81= =D1=82=D1=8B=D0=BD=D1=8F =D0=B2=D0=BD=D0=B5=D0=BC=D0=BB=D0=B5=D1=82 =D0=B1= =D0=BE=D0=B3=D1=83,\newline > >> =D0=98 =D0=B7=D0=B2=D0=B5=D0=B7=D0=B4=D0=B0 =D1=81 =D0=B7=D0=B2=D0=B5= =D0=B7=D0=B4=D0=BE=D1=8E =D0=B3=D0=BE=D0=B2=D0=BE=D1=80=D0=B8=D1=82. > >> > >> \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=3Dngerman]{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. > >> > >> ```{=3Dlatex} > >> \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! > >> > >> ```{=3Dlatex} > >> \selectlanguage{russian} > >> % \newfontfamily\cyrillicfont[Script=3DCyrillic]{Times New Roman} > >> ``` > >> # =D0=A3 =D0=BD=D0=B0=D1=81, =D1=83 =D1=80=D1=83=D1=81=D1=81=D0=BA=D0= =B8=D1=85, =D0=B4=D0=B2=D0=B5 =D0=A0=D0=BE=D0=B4=D0=B8=D0=BD=D1=8B =E2=80= =93 =D0=BD=D0=B0=D1=88=D0=B0 =D0=A0=D0=BE=D1=81=D1=81=D0=B8=D1=8F =D0=B8 = =D0=95=D0=B2=D1=80=D0=BE=D0=BF=D0=B0. > >> > >> **=D0=92=D1=8B=D1=85=D0=BE=D0=B6=D1=83 =D0=BE=D0=B4=D0=B8=D0=BD =D1=8F= =D0=BD=D0=B0 =D0=B4=D0=BE=D1=80=D0=BE=D0=B3=D1=83;**\newline > >> =D0=A1=D0=BA=D0=B2=D0=BE=D0=B7=D1=8C =D1=82=D1=83=D0=BC=D0=B0=D0=BD = =D0=BA=D1=80=D0=B5=D0=BC=D0=BD=D0=B8=D1=81=D1=82=D1=8B=D0=B9 =D0=BF=D1=83= =D1=82=D1=8C =D0=B1=D0=BB=D0=B5=D1=81=D1=82=D0=B8=D1=82;\newline > >> =D0=9D=D0=BE=D1=87=D1=8C =D1=82=D0=B8=D1=85=D0=B0. =D0=9F=D1=83=D1=81= =D1=82=D1=8B=D0=BD=D1=8F =D0=B2=D0=BD=D0=B5=D0=BC=D0=BB=D0=B5=D1=82 =D0=B1= =D0=BE=D0=B3=D1=83,\newline > >> =D0=98 =D0=B7=D0=B2=D0=B5=D0=B7=D0=B4=D0=B0 =D1=81 =D0=B7=D0=B2=D0=B5= =D0=B7=D0=B4=D0=BE=D1=8E =D0=B3=D0=BE=D0=B2=D0=BE=D1=80=D0=B8=D1=82. > >> > >> *** > >> > >> > >> > >> > >> > >> > >> > >> -- > >> 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%40local= host > . > > -- > 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 > . > --=20 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 e= mail 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.g= mail.com. --00000000000075b0a705ecc027a4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Download the Noto fonts. They are excellent (and are stil= l maintained!)


Den l=C3=B6r 5 nov. 2022 18:57'Marek Stepanek' via pandoc-discus= s <pandoc-discuss@goo= glegroups.com> skrev:
Thx Ba= stien,

on my macOS DejaVu Serif and Sans are not found (pdfengine=3Dxelatex)

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 <return>.
=C2=A0...

l.21=C2=A0 =C2=A0\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 th= e 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 LaT= eX to XeLaTeX? OMG! XeLateX needs much longer to compile. Hope there will b= e 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?<= br>


> On 5. Nov 2022, at 18:20, Bastien DUMONT <bastien.dumont@pos= teo.net> wrote:
>
> On my installation, your LaTeX sample does not output any Cyrillic cha= racters at all with the Latin Modern font. However, the md file renders suc= essfully when:
>
>=C2=A0 =E2=80=93 removing all the lines related to inputenc and fontenc=
>=C2=A0 =E2=80=93 adding `mainfont: "DejaVu Serif"` and `sansf= ont: "DejaVu Sans"` (or whatever suitable fonts);
>=C2=A0 =E2=80=93 compiling with --pdf-engine=3Dxelatex.
>
> (BTW, there is a typo in one of the lines you commented out: =E2=80=9C= mainfont=E2=80=9D, not =E2=80=9Cmaintfont=E2=80=9D.)
>
> As for me, I have no experience with pdflatex :-)
>
> Le Saturday 05 November 2022 =C3=A0 05:52:46PM, 'Marek Stepanek= 9; via pandoc-discuss a =C3=A9crit :
>> 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 hun= dert 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=3D12pt,a4paper]{scrartcl}
>> \usepackage[russian,english,french,main=3Dngerman]{babel}
>> % \usepackage[T1]{fontenc}
>> % \usepackage[T1,T2A]{fontenc}
>> % \usepackage[utf8]{inputenc}
>>
>> \begin{document}
>>
>> \tableofcontents
>>
>> \bigskip
>>
>> \section{Wir, Russen, haben zwei Heimaten: unser Russland und Euro= pa.}
>>
>> \selectlanguage{english}
>>
>> Chapters in \textbf{Cyrillic} are not bold. Text between two aster= isks are not rendered bold. Could somebody help me out?
>>
>> I tried with
>>
>> \begin{verbatim}
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 --pdf-engine=C2=A0 =C2=A0xelatex=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0\
>> \end{verbatim}
>>
>> Second Question: how to comment out lines in a Makefile?
>>
>> Thank you for your help!
>>
>> \selectlanguage{russian}
>>
>> \section{=D0=A3 =D0=BD=D0=B0=D1=81, =D1=83 =D1=80=D1=83=D1=81=D1= =81=D0=BA=D0=B8=D1=85, =D0=B4=D0=B2=D0=B5 =D0=A0=D0=BE=D0=B4=D0=B8=D0=BD=D1= =8B =E2=80=93 =D0=BD=D0=B0=D1=88=D0=B0 =D0=A0=D0=BE=D1=81=D1=81=D0=B8=D1=8F= =D0=B8 =D0=95=D0=B2=D1=80=D0=BE=D0=BF=D0=B0.}
>>
>> \textbf{=D0=92=D1=8B=D1=85=D0=BE=D0=B6=D1=83 =D0=BE=D0=B4=D0=B8=D0= =BD =D1=8F =D0=BD=D0=B0 =D0=B4=D0=BE=D1=80=D0=BE=D0=B3=D1=83;}\newline
>> =D0=A1=D0=BA=D0=B2=D0=BE=D0=B7=D1=8C =D1=82=D1=83=D0=BC=D0=B0=D0= =BD =D0=BA=D1=80=D0=B5=D0=BC=D0=BD=D0=B8=D1=81=D1=82=D1=8B=D0=B9 =D0=BF=D1= =83=D1=82=D1=8C =D0=B1=D0=BB=D0=B5=D1=81=D1=82=D0=B8=D1=82;\newline
>> =D0=9D=D0=BE=D1=87=D1=8C =D1=82=D0=B8=D1=85=D0=B0. =D0=9F=D1=83=D1= =81=D1=82=D1=8B=D0=BD=D1=8F =D0=B2=D0=BD=D0=B5=D0=BC=D0=BB=D0=B5=D1=82 =D0= =B1=D0=BE=D0=B3=D1=83,\newline
>> =D0=98 =D0=B7=D0=B2=D0=B5=D0=B7=D0=B4=D0=B0 =D1=81 =D0=B7=D0=B2=D0= =B5=D0=B7=D0=B4=D0=BE=D1=8E =D0=B3=D0=BE=D0=B2=D0=BE=D1=80=D0=B8=D1=82.
>>
>> \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=3Dngerman]{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.
>>
>> ```{=3Dlatex}
>> \selectlanguage{english}
>> ```
>>
>> Chapters in **Cyrillic** are not bold. Text between two asterisks = are not rendered bold. Could somebody help me out?
>>
>> I tried with
>>
>> ```
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 --pdf-engine=C2=A0 =C2=A0xelatex=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0\
>> ```
>>
>> Second Question: how to comment out lines in a Makefile?
>>
>> Thank you for your help!
>>
>> ```{=3Dlatex}
>> \selectlanguage{russian}
>> % \newfontfamily\cyrillicfont[Script=3DCyrillic]{Times New Roman}<= br> >> ```
>> # =D0=A3 =D0=BD=D0=B0=D1=81, =D1=83 =D1=80=D1=83=D1=81=D1=81=D0=BA= =D0=B8=D1=85, =D0=B4=D0=B2=D0=B5 =D0=A0=D0=BE=D0=B4=D0=B8=D0=BD=D1=8B =E2= =80=93 =D0=BD=D0=B0=D1=88=D0=B0 =D0=A0=D0=BE=D1=81=D1=81=D0=B8=D1=8F =D0=B8= =D0=95=D0=B2=D1=80=D0=BE=D0=BF=D0=B0.
>>
>> **=D0=92=D1=8B=D1=85=D0=BE=D0=B6=D1=83 =D0=BE=D0=B4=D0=B8=D0=BD = =D1=8F =D0=BD=D0=B0 =D0=B4=D0=BE=D1=80=D0=BE=D0=B3=D1=83;**\newline
>> =D0=A1=D0=BA=D0=B2=D0=BE=D0=B7=D1=8C =D1=82=D1=83=D0=BC=D0=B0=D0= =BD =D0=BA=D1=80=D0=B5=D0=BC=D0=BD=D0=B8=D1=81=D1=82=D1=8B=D0=B9 =D0=BF=D1= =83=D1=82=D1=8C =D0=B1=D0=BB=D0=B5=D1=81=D1=82=D0=B8=D1=82;\newline
>> =D0=9D=D0=BE=D1=87=D1=8C =D1=82=D0=B8=D1=85=D0=B0. =D0=9F=D1=83=D1= =81=D1=82=D1=8B=D0=BD=D1=8F =D0=B2=D0=BD=D0=B5=D0=BC=D0=BB=D0=B5=D1=82 =D0= =B1=D0=BE=D0=B3=D1=83,\newline
>> =D0=98 =D0=B7=D0=B2=D0=B5=D0=B7=D0=B4=D0=B0 =D1=81 =D0=B7=D0=B2=D0= =B5=D0=B7=D0=B4=D0=BE=D1=8E =D0=B3=D0=BE=D0=B2=D0=BE=D1=80=D0=B8=D1=82.
>>
>> ***
>>
>>
>>
>>
>>
>>
>>
>> --
>> 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@goog= legroups.com.
>> To view this discussion on the web visit https://grou= ps.google.com/d/msgid/pandoc-discuss/80AF9A20-6302-439E-8339-3BD515916020%4= 0googlemail.com.
>
> --
> You received this message because you are subscribed to the Google Gro= ups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email to pandoc-discuss+unsubscribe@googlegr= oups.com.
> 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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit https://groups.google= .com/d/msgid/pandoc-discuss/6A3A0C74-3F96-498F-9B7E-2FB3558216BD%40googlema= il.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/CADAJKhCEQkhX50NnX7vFTegpijeZF9f2ckUPtTxg= EZ9wye2FSQ%40mail.gmail.com.
--00000000000075b0a705ecc027a4--