From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26794 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Unable to convert markdown to latex while it's in latex blocks Date: Wed, 11 Nov 2020 10:09:09 -0800 Message-ID: References: <8c50d176-a9cb-422a-b78f-1e8fd36dce52n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38006"; mail-complaints-to="usenet@ciao.gmane.io" To: Bernardo Giordano , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBU6RWD6QKGQEHYYZQ4Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 11 19:09:26 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f188.google.com ([209.85.222.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kcuYg-0009kL-L2 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 11 Nov 2020 19:09:26 +0100 Original-Received: by mail-qk1-f188.google.com with SMTP id 198sf1462221qkj.7 for ; Wed, 11 Nov 2020 10:09:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605118165; cv=pass; d=google.com; s=arc-20160816; b=UzkcohBmOgEfpKUTJSmVKWM9VbgTbcW+ZttFFuJZaTCVfWA/S5ExbR7yrrRsTvo4OV q78xvfQ2PuxN1nlBIAL5BODep12MB9u3mFqbmTkMlplrRXpEtnTLQf6beWvgm5ove169 wCfjp+jXxGilo/oFTwGe932zyYUAvSFmNGJ1yiIlcic5lUx2Jyfo1kV6yQPJ09dosTPS 4wRx3Ivci68wq4+2iWiR2Gk3YyXL2PpQuteNaXMY/kh3ymkPLfVuLyK9H66aMdP9t4mf JSp6JkYkj0cv6ebegpYwvVhYhDmSwq14GJNacHy+BtOKWOL/H0Ck8LhmcCh9giXcbecX vJKQ== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=j4jU31m/+m0xASxlxGZemWzKW7rhiV46aK0nQT7A/4c=; b=gxN62MFYsxUTG14UZJ38Ab20YaOLA4yDE+aqJfbaKba5ln1lJhAUNjd+hx5tlXdEre 9Lx+hUKSRDi/oB/EHpsMPmpJtivnujAgP2ZbCGhxN6CGhKMQOa5F1qfXSMu+Qcfu4OkD ja40DZBt/NGcUxkYPV/4RG8DoASTWvD3avYuInS8Mrch/JKEC50hfRCgzKoj5eCP72l3 9w85CVGRmFp9MbaH0/FXs3UtIPc1BuvNARcXYZieh3GB+kfog+0yCbRyi8GZRcTsiTT1 JbKcs9fciNpiD4kU9GbHlnrUUw7T4tiMUwRSc+2UQqNc24IqnBto7WJUQn8QKUThAAFt kwaA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=qpy2tkPz; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::635 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=j4jU31m/+m0xASxlxGZemWzKW7rhiV46aK0nQT7A/4c=; b=W+wdxTaPX+xK993WRRzwUnP+TXQZf6qaHw9Xis9cOhiNHMjxegbcRnMWiLRuShQOfx yWVHdbD3DAZVByHbuOqRtSr73UXqGAvXJJxPJ6w9EQPS2MqkZICvmRc8G6ezRGf2J9E4 2exAccd6WF4RSNCBd+ky0PQxddmVRtVEGZkzkHM5CAnLN26J8FGw4/yhAJpi1QMDM9GE 7g/sP43I0pKIH8SwYuavfcOnN6b1cCbyjWRVTIJH2hYiEX9CZNcQb1siiI/JpeJJgzDS hbCINdoqfa/+zBypF6bi7Ch80Qqc/acc/1TafjP1cJ5uw1V/o3pCznUsPDrdIdan9my5 KN0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=j4jU31m/+m0xASxlxGZemWzKW7rhiV46aK0nQT7A/4c=; b=MPhYT0ZiSBpobZ1WWtf8khGXa5CqAO9U073U8yp/LpcDNXu44cX2Dxf1CEEi+SX2d9 DnJcAidN/xj6JbtKw2GLQCE5KTZWUiBgXpywAVptv1au6am0AMRJ7csrmaFtguOAKuhX lE2AwcCJsdp3BRxlDCC7hxHFppmlTAkrke16Z7FxDoStBD9QjyX1plvTmYiCgnf3li4Y aNnnyGcoSJMN129z58IAcgHnTy9xU/eW5tklc7qJEATy7IOR623MeGirfgiPAxpU3aFl j24HRj/dCJYnrcz54DPRbhWZIJu5EokQjYsiblUJyRAqr0T2N3jUr4zRwyqvtp/0pJAY Q6Dg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533v9dFvGws599uXCC5vOjiy/AfMybbeaQ7Va4dB7H8P4VS3E9/6 eZtYxZreivyvWBp9oBqZ2Zs= X-Google-Smtp-Source: ABdhPJwrQrGyCskalcwh19noTwi0EOCPNwz6oFvK6NPy9LXyusOp5ixuqsH/z1NJtrKtgzWqljFFYw== X-Received: by 2002:a37:7447:: with SMTP id p68mr23479246qkc.339.1605118165651; Wed, 11 Nov 2020 10:09:25 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:59c9:: with SMTP id f9ls65345qtf.8.gmail; Wed, 11 Nov 2020 10:09:22 -0800 (PST) X-Received: by 2002:ac8:754a:: with SMTP id b10mr15748170qtr.15.1605118162646; Wed, 11 Nov 2020 10:09:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605118162; cv=none; d=google.com; s=arc-20160816; b=IrHxv8bemQN+O704kSu4nChLvCuAXF5FVVdqdQA9aQW2YFnEut7MdXskc4AzPPBfjO XGPx3iQyAMEzOtitaqhnXwd1+Zn/LKe1vC1aFc8BdH8Yp7/sFG6zSeM2YfjMmog8wggs NxRmqhjp5jmmol+Yf0dotVga2N1Rc6u8Mny9K3wKDy1H1PoZd1kt5UofdIC1fZkBG1cQ hIlg/BsmjNTWz48seg/fKC0iVavwepTjbFYGyY7LiRze2oida6O8Zasv7bKy/oFBtQRs lScO+b11wZ5f6q9Wb/gqagT+khiMPuuTG2wpv2nbw21nM6PetxSXayr9pgeoVt9ZuZ5q /sgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=DdxClSxWPcMXPI3TGet+2O0q1JW/jPODTc2O+pif4LE=; b=fIsP3MU5EFWAhr+QM4TMDPKrSIWdhrnpKe36pchZQ6/8l+InQ0nL7TzyEZelJW4Wbp qvAKPtj06gz2GOm8tqA2NmLZK7i+Tg1+9tVPgGjUmITi0AE7xRZSQZi1xsS61VeP6lT0 f0eig/Qye+KrNbekZ5/rHDZ+A9OtX1m13lE7t/bu+HT3qZ+XlkvfvCCM8a7WAvbe+cvj EKcpxYnKP6iKdN6/Am5YvGUJw4Y0ACi4LkTnhNKNbN3vKAHd7lqvwAIg+X/WYiRYC1Kb VgiPW5Prz/v7TrU3laBbFaSuYsClqSBzt7dtKSghUuKjmmmWuTvE2xYKl4I/6+dFAgcq K5sw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=qpy2tkPz; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::635 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com. [2607:f8b0:4864:20::635]) by gmr-mx.google.com with ESMTPS id h1si233506qkg.5.2020.11.11.10.09.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Nov 2020 10:09:22 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::635 as permitted sender) client-ip=2607:f8b0:4864:20::635; Original-Received: by mail-pl1-x635.google.com with SMTP id y22so1379251plr.6 for ; Wed, 11 Nov 2020 10:09:22 -0800 (PST) X-Received: by 2002:a17:902:9f85:b029:d6:e802:75b0 with SMTP id g5-20020a1709029f85b02900d6e80275b0mr23111204plq.29.1605118161561; Wed, 11 Nov 2020 10:09:21 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id g16sm3274105pfb.201.2020.11.11.10.09.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 10:09:20 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id D317FA18A; Wed, 11 Nov 2020 13:09:09 -0500 (EST) In-Reply-To: <8c50d176-a9cb-422a-b78f-1e8fd36dce52n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=qpy2tkPz; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::635 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org 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:26794 Archived-At: One workaround is to use commands rather than an environment (since pandoc will parse the whole environment as raw tex). \epigraph{ \centering with *italics* }{author} Bernardo Giordano writes: > Hello. I'm facing the following issue: > > I have a markdown document that occasionally contains latex blocks, e.g.: > > # My Title > > \epigraph{ > \begin{center} > Markdown text inside, > occasionally *italic* > \end{center} > }{some epigraph author} > > Normal markdown text > ... > > When converting from markdown to latex, italic text keeps the * rather than > being transformed to \emph{}. Is there a workaround? Thank you > > -- > 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/8c50d176-a9cb-422a-b78f-1e8fd36dce52n%40googlegroups.com.