From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28435 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Help: Pandoc is removing $ and next character on md to docx Date: Mon, 24 May 2021 13:39:54 -0700 Message-ID: References: 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="30308"; mail-complaints-to="usenet@ciao.gmane.io" To: Phil , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBJ46WCCQMGQEYBMYGDQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 24 22:40:10 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-il1-f186.google.com ([209.85.166.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1llHMw-0007fy-16 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 24 May 2021 22:40:10 +0200 Original-Received: by mail-il1-f186.google.com with SMTP id g14-20020a926b0e0000b02901bb2deb9d71sf32776677ilc.6 for ; Mon, 24 May 2021 13:40:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1621888808; cv=pass; d=google.com; s=arc-20160816; b=J5hkqmeB72Oho52Mvf0TXkvAh8WJh/pXmEiSbvcOB3Zpt3Dz6aGY577u8PUyUi4meA 3jpszFCOkfP6wuA4KiqPJsYgNmsdmVyWB0qEfA+I3ltRlWpjtw7CS0ahBWy+L0jV3PQb Tt0yN8LnnfTHPEJykc0ocnydeiyTAA/I4hLPyQfxzmx1mQCTCvzWKd0X0Pfey9KlreUt TIz4WbSxVdyRCYkOxNkGDPQ+8xmkvVotARAUHXOJpTqKsZuh97jwOTu8UBXGp+raYlts 5PmX3dRgF5WQqk1JRJX6RIKusvsqnOPa4Z5GFd6bMjyUz653QsxHbsGvO6eksGOwU51Q mH1A== 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=KBTf6Gcj7FXWM1P7kFu9UDxHjrcxzbFuJgyEf/Cv1Rg=; b=mAaGgJJ3yjIf3hpt/39+h9qVot4CE8Oi3nkwXUo99svMnSA0i0bqQh1qKlhVlFfKLO Tud8kwvALw3H+A/8OCGzEka9lSYdeIPm1AS1Z4TiJ7KNmCIQVX/yQRczLoMlxrqDvB3M xxi+MFQx5v9u9ZCBDpTR1h8tVQuMElqnux3uMFChv49rnt0I/hng/drUvbUWoqw1RGb5 C12+ErLUYvICeRiIeuLuXPhs2CWCeskPDzQq0KOL8QOb0dj9h4xK1yKVDSObdYxAsDlL dD5pY8fxlQAO6DLeWO7wo7+Xie1OfFLcYwI6wP3aUe232Gd1gO6ihtkEjSXegThOcR+I 0yeA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=IAEnwsuO; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52b 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=KBTf6Gcj7FXWM1P7kFu9UDxHjrcxzbFuJgyEf/Cv1Rg=; b=fWNfkM4gMR+IkVk42re3bJL2hP63+pP+sSuq9bq7b/Qw1tVWfQd0GXMOY/n/qlpQre 8sStV5BpUYG+8txXfDzrKXnw9ZyhRa/P2KbmgKoxmRXKM1Yx2GG1/Ck0X+oph2oqavaS F6ygCdC/tsnhyD2VAVUDs8MMKti4vUpMwz23K9ez/m2+Pfb1GhQL4E+d85Bk18vgJ/Ov RzTXG3CuJbGPTs44P17+LJaNnt0CycIHEzj6ZNrVZwZgA1bnsgIXWQSpBu9xJXRyb+/9 AGWrvKtWfrkFMJWHHPG6H38JZg8nXdF6b0h2CNig07IqBw4TiFq7j5RZVaADtgPDvYgs LPaw== 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=KBTf6Gcj7FXWM1P7kFu9UDxHjrcxzbFuJgyEf/Cv1Rg=; b=qo2zxwmYYQVyIdO1fxhNPKWzmbVbL7xWHRxQU+KHAx/G/vlfZPpUknYuXujmHLgqac 5xrVpoY8jdGOw78Dxb6bDM+tS9/wjGFgvHfEkg75MLWs2oMr98T6Ji3U6cGI2gannXCC rXWv9NG3l+uU55Al2Ht5rA3/WO+H/RqsiM0xWfG96ntuK3XiA2oJswbxUg9/Wg5aaNjT kzv2b5sZ0+cHJqjV+Yb5bS8xZwevw2QP0KmZB4dEaCRZGopxLNxU48jrW6kKpD9t/e3l eYjfDTZjFUPd8kAyt3DOxNaRjLqdRFChKZB8WEdMoo+r+0iK5KzC9Y7VkZQ1iQIlJPm/ QP4g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530wNqevuWEc0VbxaL6o0R8f1NE+yZf/i0fTD6kIFUVAtBsbz2wK u1JPfeQKKC1owEF1rOM8rYo= X-Google-Smtp-Source: ABdhPJz4RLHK16UU8gz7NrPE0Wq5nTUHT5allYOD7kXt9ZOahYsUA5sYzfNKJlkKcsaZXJR9U+DVfg== X-Received: by 2002:a6b:6012:: with SMTP id r18mr4185904iog.200.1621888808473; Mon, 24 May 2021 13:40:08 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6602:c8:: with SMTP id z8ls2320544ioe.6.gmail; Mon, 24 May 2021 13:40:07 -0700 (PDT) X-Received: by 2002:a05:6602:121a:: with SMTP id y26mr14536102iot.168.1621888807050; Mon, 24 May 2021 13:40:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621888807; cv=none; d=google.com; s=arc-20160816; b=piTy3077oX80vr+ac4mqDRsCNDMYUpkt5fJ7OnhiZze8hgsa7c/3ThpPu5WNZM6XyJ 4VOaG0sTa5iHHPkNJ7BLi0Gp1EPqGOIB/XTvl5PhT2Oj0LnGXFUYNxqDdjMkgPdSjHhG 9dAm4GDOoELru7f+yIlKrNrBuT5fywgqHb8xjQLhMBUHcSC7w4sP8NBLNApwSqn2zv+y NM9imzlTRGF9fgPjPD7pRRWySVy0hJUcEeJ7I2/t0dD5SMi50i2cqtwwiaahK0nQ5mbX O6wQJmK9F7VXKHp+dQmrBGTr4b/l7yqkpqspLCwjNB04L9R3NDP6FGofWrvZ+8LjB3fW 1XXQ== 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=d4QMvoXGTBOsBZ5wsc+DBPd1jKT+QvVmCCfkyUMTcls=; b=N0xTjaRJCypMwQ4GiV4XpbhqXnjCYku7taIwBVAbVn7qRl5YlTofjK6Xp0yHdW32tl R3b+PKrfW8Ty+IZvDmHXN6opEcyEa2txcF7kvKoOGtxlsS63yNDSI7O4/ixtNtWELabL NB+Q+yJQNfE1zBvGCEmTDNNqrxV7YSfVh52U0aFelXifE4bMO7942YgSywtHVumS8G08 dBuxU5GaNj33LJaYXB1srtYZWeI6sxsRs1s+pL7qJa6SrHBvwEHb3ksHY8T3F+Gx1o0k SJFMUalu79X6hT6xfiP7ZjwTLFv0s8UFMfHQqld2mmN/wArjv1yVvpR1a79Ff7H5N4DH 9wXA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=IAEnwsuO; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com. [2607:f8b0:4864:20::52b]) by gmr-mx.google.com with ESMTPS id l25si1744591ioh.2.2021.05.24.13.40.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 May 2021 13:40:07 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52b as permitted sender) client-ip=2607:f8b0:4864:20::52b; Original-Received: by mail-pg1-x52b.google.com with SMTP id v14so18249984pgi.6 for ; Mon, 24 May 2021 13:40:07 -0700 (PDT) X-Received: by 2002:a62:5846:0:b029:2e8:fde9:5c6d with SMTP id m67-20020a6258460000b02902e8fde95c6dmr3037416pfb.56.1621888806087; Mon, 24 May 2021 13:40:06 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id z1sm7411687pff.194.2021.05.24.13.40.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 13:40:05 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 77C8AA2A1; Mon, 24 May 2021 16:39:54 -0400 (EDT) In-Reply-To: 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=IAEnwsuO; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52b 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:28435 Archived-At: Phil writes: > I am having a problem with dollar signs getting removed on a markdown to > docx conversion. > > My markdown with "$10 to $65" shows in docx output as "0 to 5" > > This is pandoc version 2.9.2.1 My first advice would be to try upgrading (we're on 2.13). But I don't think that's the issue. > Here is the command I am running: > pandoc -f markdown+multiline_tables+hard_line_breaks+mmd_title_block > --reference-doc=refDoc.docx --output=tmp.docx tmp.txt" > Any idea how to fix? I don't see anything in version notes to suggest > upgrading pandoc from my current version would address an issue with dollar > signs. I've become aware of tex_math_dollars extension, but documentation > seems to suggest my input formatting should be exempted from this. tex_math_dollars is enabled by default in pandoc's 'markdown', so you could try disabling it. -f markdown-tex_math_dollars+hard_line_breaks etc. But I don't really see how you could be getting the results you say you are, even with this extension enabled. To say more, I'd need a minimal markdown input sufficient for generating the issue. But first try upgrading.