From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31699 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'Marek Stepanek' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Once again: Cyrillic bold characters not rendered by Pandoc Date: Sat, 5 Nov 2022 18:56:22 +0100 Message-ID: <6A3A0C74-3F96-498F-9B7E-2FB3558216BD@googlemail.com> References: <80AF9A20-6302-439E-8339-3BD515916020@googlemail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21069"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBD6M3P4AXQHRBSOHTKNQMGQEAPYYMKQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Nov 05 18:56:31 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f64.google.com ([209.85.167.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1orNPC-0005EX-Qm for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 05 Nov 2022 18:56:30 +0100 Original-Received: by mail-lf1-f64.google.com with SMTP id be20-20020a056512251400b004aa9aadf60csf2725529lfb.20 for ; Sat, 05 Nov 2022 10:56:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667670990; cv=pass; d=google.com; s=arc-20160816; b=qAjr2sShpeqmPxw9EYmAwaT8G1PS/98NunC58OA+bQCdYLahQQTdK4NCei0P3QpEZd 2KuyItOjSJ0DKacuHuSvfgCgy1jzhkCaGvOHMWiMa/9J7w3C3DMIxhrQ40Ze/ede3ULJ La4llNha3y207K0qI0buzF0c2zlQvetWAzznrij33o6z0IAs/EwqvJFzJvSPKC+TjR5c ZhFs8qLY3tWazR4TIeoedOE0inhRWCKUJpx2Es2GEFtHm39Sq04RBsTuQGjx6DTsbYgZ NGMtj5T0arj9PIaKDRq6Ko3P3wv6aJRdaup+R/YCTBSiGaj5/1afXyRPIpCUc3QXvYWD IZsQ== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :dkim-signature; bh=DgKxhR4fHX/z3S6hG/ue+YHUmzHryvrluU1hI/LaDs0=; b=W2upcoAPU6oRJ5U6FmXu8pX5GW/IZOZroTLlREM1J0s2+/irkFd6HFzev5liSBJ60Q /5xOUuyLIQOarJEVzSG2ZJsL5ZlUOJabbyHgOTw0RkogUUkM1kSkS5JhmHKODkueRXYz dNR0QN95fIZknyaKkzCHkX/kycCMuzIeTQyvG+kSQ8NL/G0ZpqvSQ0pganlJgqNIAQFJ ZK7jLEfQSQMZquj5pjkpmBkdBE3OfrNCC9a03duMnsfFGCY8k2SIiCW/yBrRXKSS3I+V qW+ok/DFHJnDULbcNUpO0kQ1jUDzM3QrrCTkh45eyvX8JivronW9pyvWfa4bqm0s6iqu WQhg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=JeSRCaDs; spf=pass (google.com: domain of mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=DgKxhR4fHX/z3S6hG/ue+YHUmzHryvrluU1hI/LaDs0=; b=JtHRxNkhRZlxCyi4AUlKg/9DKcHpOaSRm+qi9hGK9AZtRx+uizvSzsdDOzQoQhjBvw QxTHBYgVRCqebZ1D0oBPK/164Smtw5+Vn9DY3qlyCKMiIgjHmxAlB1P0/HjV1xCMoBum OtdZLMHuCUZKveJT/p+AURXgyLxrGsPbDlYJjhCxRKH9gIh7MfkRELdU3/1tlaaU4ZRY yO2GSWYVd/n+/phfITJsUUuIf/VD2OjTq1hV9EOmOksMQhAmDJzbe2l8BZYwC0geACgf 0GUbp305ouXsJz3rhtJKZGz8iQXj2Ks+e5MVtHQpDqSHZ6ZR3+qvC99YJcHqiLyfcSXY 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DgKxhR4fHX/z3S6hG/ue+YHUmzHryvrluU1hI/LaDs0=; b=CWg2bdgZzCz595x3j2hm9K6Juq3KaciMFZZgAiRf6ESzSmE16spjVbaO7rB7PFRWfI AJWtIxZrhhkXhwrypbf+HPAQPtcFnEq5HqPPbO0BnZaToAYBfEWavmLhthsSzWYufnb5 xnwx0VpznlArx2J4RMfUp/9cQrCZS98r0iRV4jl6qpgFBigSsXKEeflQgJlaWFczd/iq cgsUV4MwsjsIXVmrhTWB5Q4lWE8stlUkcAr6ymsIn64dYChsw6fadY2KqRyePzDSe3Ya u1VFY/zYnvlt4OmjpfOEtCGhim8 X-Gm-Message-State: ACrzQf2koDb7WecViO/4CXs4Z/r5m5ekVh8uYdsEJRnBkCEhT1xUMsv1 tMDFZum/mQ6JbAG+qrTJbMw= X-Google-Smtp-Source: AMsMyM5ebJ1bIVpV8fBRMMi8PM00shqv+Yx4VTLL4JCPjcNc9mV7ioQxyN6thcG4JfpNQLijb18XLg== X-Received: by 2002:a05:6512:1105:b0:4ae:40e7:89ab with SMTP id l5-20020a056512110500b004ae40e789abmr16675472lfg.318.1667670989764; Sat, 05 Nov 2022 10:56:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:b012:0:b0:277:4af7:14ea with SMTP id y18-20020a2eb012000000b002774af714eals1574809ljk.2.-pod-prod-gmail; Sat, 05 Nov 2022 10:56:24 -0700 (PDT) X-Received: by 2002:a2e:87da:0:b0:277:1b4d:9ac5 with SMTP id v26-20020a2e87da000000b002771b4d9ac5mr3451129ljj.57.1667670984219; Sat, 05 Nov 2022 10:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667670984; cv=none; d=google.com; s=arc-20160816; b=u0Y3e+dygnaEYn8DA5xc6j3pPUqWBMgaU3J4/fYrbbO3PzOLyLYJl+5yk6o6XZnqVQ Nl1i/a0pE1iTNzYDbWuXYbUTloUUyp5XTHVSUrpo9zBphTrz7cj2BWlEbAECSi+Z9d1B OuAEre8fEFn5TJbVRZhPOfAEYEn9AU+6ezemeNYbZEt+LF+6hXhqpw7aUnxI9Ddx48oD wC/z3uc43PXYnSg9LpLawmgTZ0Evver2VoyltrbDdxg2SE26PCie04DLwQINa1y8Y2Et ruvXKxDXFPMawdDGhWR7KQIvDzSd5HfttH9HybkBsBnY1lfmNgno7DYC26paGHbYiCEb EPjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=RfjYqgp5X4shK29aZGOHUjLgzYN7AIGfIUms0rgtiDo=; b=0GaFZTqwBCmDNzk7VWlH5k1aGqx3+TtMoNjg7PoAAw4QTHlueMwEFiDa0PodSsH+QK tgC2U0moaUrJezGDdOKAAVqAcrUy+PghNUF0Ipm42KfqHfGoXzP6heS8H4UPEPBRxgAB /8sLHSsdcbyRdrZjMu+rAp+7f5dGah2ZqOs5epLv8endIKPuC3I2F+0Io9tewp9dtMei kk8PjBBCTJM7N0c04VEAo8BtXtCx43vNaN+t/FUF135rUsnLBUmiy70IrKcbnAQU4uMT oQnm91jWsTTZWedmO/uHOe7cIs/wG+EllZCwlD9RV199/cM0hbD4UJzFVSOG9P574hHx MZZQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=JeSRCaDs; spf=pass (google.com: domain of mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Original-Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com. [2a00:1450:4864:20::52a]) by gmr-mx.google.com with ESMTPS id u12-20020a05651220cc00b00499b6fc70ecsi99256lfr.1.2022.11.05.10.56.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 05 Nov 2022 10:56:24 -0700 (PDT) Received-SPF: pass (google.com: domain of mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org designates 2a00:1450:4864:20::52a as permitted sender) client-ip=2a00:1450:4864:20::52a; Original-Received: by mail-ed1-x52a.google.com with SMTP id v27so11895131eda.1 for ; Sat, 05 Nov 2022 10:56:24 -0700 (PDT) X-Received: by 2002:aa7:db4e:0:b0:463:2979:5e49 with SMTP id n14-20020aa7db4e000000b0046329795e49mr36835194edt.266.1667670983443; Sat, 05 Nov 2022 10:56:23 -0700 (PDT) Original-Received: from smtpclient.apple (p200300ee4f14b200181afcacaa5ea659.dip0.t-ipconnect.de. [2003:ee:4f14:b200:181a:fcac:aa5e:a659]) by smtp.gmail.com with ESMTPSA id g18-20020a17090604d200b0073d84a321c8sm1142155eja.166.2022.11.05.10.56.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Nov 2022 10:56:22 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Original-Sender: mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=JeSRCaDs; spf=pass (google.com: domain of mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com X-Original-From: Marek Stepanek 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:31699 Archived-At: 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 install = has DajaVu fonts but without space between. Without space XeLateX compiles = much longer, but finishes with:=20 ``` 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=20 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:=20 sansfont: "DejaVu Sans Mono for Powerline" (Who has had the idea to call th= is 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? > On 5. Nov 2022, at 18:20, Bastien DUMONT wrot= e: >=20 > On my installation, your LaTeX sample does not output any Cyrillic charac= ters at all with the Latin Modern font. However, the md file renders sucess= fully when: >=20 > =E2=80=93 removing all the lines related to inputenc and fontenc > =E2=80=93 adding `mainfont: "DejaVu Serif"` and `sansfont: "DejaVu Sans"= ` (or whatever suitable fonts); > =E2=80=93 compiling with --pdf-engine=3Dxelatex. >=20 > (BTW, there is a typo in one of the lines you commented out: =E2=80=9Cmai= nfont=E2=80=9D, not =E2=80=9Cmaintfont=E2=80=9D.) >=20 > As for me, I have no experience with pdflatex :-) >=20 > Le Saturday 05 November 2022 =C3=A0 05:52:46PM, 'Marek Stepanek' via pand= oc-discuss a =C3=A9crit : >> Hello all! >>=20 >> 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 soluti= on, I have to switch to LaTeX - and this will be hard for a three hundert p= age book.=20 >>=20 >> Pandoc does not render bold face in Cyrillic. I just tried to put my Mar= kdown document into LaTeX - and it is working!=20 >>=20 >> Here my Minimal Working (or not working) Examples: >>=20 >> 1. in LateX >> 2. in Markdown >> 3. Makefile for Markdown >>=20 >> *** >>=20 >> \documentclass[fontsize=3D12pt,a4paper]{scrartcl} >> \usepackage[russian,english,french,main=3Dngerman]{babel} >> % \usepackage[T1]{fontenc} >> % \usepackage[T1,T2A]{fontenc} >> % \usepackage[utf8]{inputenc} >>=20 >> \begin{document} >>=20 >> \tableofcontents >>=20 >> \bigskip >>=20 >> \section{Wir, Russen, haben zwei Heimaten: unser Russland und Europa.} >>=20 >> \selectlanguage{english} >>=20 >> Chapters in \textbf{Cyrillic} are not bold. Text between two asterisks a= re not rendered bold. Could somebody help me out? >>=20 >> I tried with=20 >>=20 >> \begin{verbatim} >> --pdf-engine xelatex \ >> \end{verbatim} >>=20 >> Second Question: how to comment out lines in a Makefile? >>=20 >> Thank you for your help! >>=20 >> \selectlanguage{russian} >>=20 >> \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.} >>=20 >> \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. >>=20 >> \end{document} >>=20 >> *** >>=20 >> --- >> 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 >> --- >>=20 >> # Wir, Russen, haben zwei Heimaten: unser Russland und Europa. >>=20 >> ```{=3Dlatex} >> \selectlanguage{english} >> ``` >>=20 >> Chapters in **Cyrillic** are not bold. Text between two asterisks are no= t rendered bold. Could somebody help me out? >>=20 >> I tried with=20 >>=20 >> ``` >> --pdf-engine xelatex \ >> ``` >>=20 >> Second Question: how to comment out lines in a Makefile? >>=20 >> Thank you for your help! >>=20 >> ```{=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. >>=20 >> **=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. >>=20 >> *** >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> --=20 >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/80AF9A20-6302-439E-8339-3BD515916020%40googlemail.com. >=20 > --=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/Y2abZXN9lSUoYplk%40localhost. --=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/6A3A0C74-3F96-498F-9B7E-2FB3558216BD%40googlemail.com.