From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28362 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Randy Yates Newsgroups: gmane.text.pandoc Subject: Re: Markdown to PDF via TeX: Tyring to change section title color Date: Sat, 15 May 2021 22:14:17 -0400 Message-ID: <47556979-9357-c3d3-b3ed-a3031a195127@ieee.org> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33664"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 To: John MacFarlane , pandoc-discuss Original-X-From: pandoc-discuss+bncBCB75SPSW4EBB6X7QGCQMGQERVKZXQQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 16 04:14:24 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1li6IO-0008Uk-TK for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 16 May 2021 04:14:20 +0200 Original-Received: by mail-ot1-f59.google.com with SMTP id g93-20020a9d2de60000b02902e3d740ec6asf2444950otb.19 for ; Sat, 15 May 2021 19:14:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1621131260; cv=pass; d=google.com; s=arc-20160816; b=nKnfY4xJQe4SeMxoN9lTxmt41Ohs1c4pNKSR5nYLjN6/SY72EiG3ZoT8tKSY4tgppr LV5OqcQwzMIBxOLACIp4BfhobUgHpsrqrv/DiOVt5yMkkaUTERG/WRJOA1ml06q90uak xUVu1iE8XnigB/8NeV2mAM9zTdSBf0xGsFTuT8qtPPqfxVOMGV5Zt+a4UOpm71YY3PVO 9wEI3S92Pnrwn78pP3w8mf1nCEtYwW4ar3IQrZDq9WA9Hmrq8vXKa+n+qaGKMEPcpjje 2g6o90nvFE9qY2RXlv5QOkrcy9332vQiR89h0jfkJq8U/mYCkiycF4ErLjexEWs1YaQz 0xig== 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:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:sender:dkim-signature; bh=JZWAWTPrL3QsaC07xDy0DQd2URXluMcmrp9CtBbax38=; b=aBruYsONI/N5caBgBYAqTLRTdTu66FobOzE06Bphgkw5jfVkZPHTgx0+10tyffscOC 2L7cdraMed08kC5WV26Rvwg4KMvCoUGn0icTHc+kZFSdkx5Uoqx6wAtikFqJz4sc9QBh ZvOoaJ0yiNdYENFdymuDceYPrJpjGA7LIcvaHq17vO2UTFguxuyLVua3VWJdsOtrIf5H gVYSCDPn3WMwqjBvNj5JH1capmQDDBckeHwGbPGACEFDcPQudKU32zcZgaafv0bmu10T xmMJGC+dK82h35IdxH13T+4srsjqjIkni4dUWOrFVO/uEiPmT2E0BVo4UMhzQWXm2+q2 RH+Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b="RrIMMdT/"; spf=pass (google.com: domain of yates-EkmVulN54Sk@public.gmane.org designates 2607:f8b0:4864:20::f2c as permitted sender) smtp.mailfrom=yates-EkmVulN54Sk@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ieee.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language: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=JZWAWTPrL3QsaC07xDy0DQd2URXluMcmrp9CtBbax38=; b=JWGyBUvLTivvDwH7cgHlMk5P1MmM/MzrefHMRp2Lohk5v8sTbbBYO/SYCpFi/pcX7C y5Pu4epGmCAh+4jG3BmG7jYBSg2VC4Pnzr0dMmBQh9ONHvGkib0ZDW8sOb0i27qxlGwU HYSZYoRnFGhd2S3ZF+VmYsr03Gg/VT9gg28hN6jT0Q+HPa8geGwDJpR9RLiRb2aobXjQ pXDPR0a+DPzD9g5iSebJQ1DWkJmhlfqiMaOmwAuGUp6PSatOenv2+oNHYHerq2nUIYGi DRgOWsBSOmricgMjW2EczWmqhGQsGmHA/ua/lVrFOliPQ1gDKG1sBUx5asVMK3qM0O2L jq3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :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=JZWAWTPrL3QsaC07xDy0DQd2URXluMcmrp9CtBbax38=; b=QRq1icu5a3aMB20pKDwEqOC3zHXRgXMl2k8EoO42SVO5LyWdHCs40ohh2BHuw8X3xh d7/CVnMQ5URwMuBTDTbwKwutcl2dCe9Ub99ymIE9FYGVbNMhhyZkWgx6NioAauZSOfSU LOcW//c+/gjHYcG6SX0SEdOGo19qCYkbxuQMtgJaXSbJoD9z1nwcGyq/+ekdoICzS5hG KdN9rlv8q/CO9Pj0BecIm/yP0XFm4xyYyjWwiteiwwNz8HpmVxjrf6GZWWD+Ho9VeEMe resxGV2UvRK9hTdXyZfI1OctRECYgsyhcjNCYMDo8ki6K0CQSqUxgnQtkCfKEognCukr Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533WRQNzQtuOvZdQlEVIaTpD1Y/qMp4V5ctnasGhFj2EVbdoq72/ 0n8ymBL6gC0YPceNDBKXT4Q= X-Google-Smtp-Source: ABdhPJwMQUg9QOk/VGu+Wn8QTNWj/kttDjuo21dbuKH3fVVNjx/75yiUtztHvdwXkbvUbljC/YHtFQ== X-Received: by 2002:a05:6830:160d:: with SMTP id g13mr45358432otr.176.1621131259938; Sat, 15 May 2021 19:14:19 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1f16:: with SMTP id u22ls3656715otg.7.gmail; Sat, 15 May 2021 19:14:18 -0700 (PDT) X-Received: by 2002:a05:6830:4a4:: with SMTP id l4mr32026574otd.194.1621131258577; Sat, 15 May 2021 19:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621131258; cv=none; d=google.com; s=arc-20160816; b=WP1VpBoUdrTxme6KqbxO/kOY4b4fcm227yIeGp/6eG7+gFGSgmPUgIZAb8QvU+AEKA oDEoSFVsZ8jZ2T8bcofKjKCg/Y8Gs9htvfsapmoB3WItrfhZP6QRXnMuB/T4IElDjyvd PrlmaLN35Zv63lIbVRQRIr2FnUiN4deQkJnjHEwGmwcMDHmEG2E5hHRw/r5Q9txAKud8 PStLt2tR4cpDXTcrbE3xSJarko0u+VRsM/mEiIZN6CD4H9zYWuX/pS08hsjMeCXA2GcO 0gpJXmvBOYVH19zvX9ocrnBXAlz5fufCbnE7L3uzbtTi2bYSrqKfbRaRnGQJgjwJzJUM oOog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :dkim-signature; bh=dV4jbgoSYdIUKPArFf0670yErI57qO1dzAJvk6yT/zk=; b=v9TS3N+lcTKldF/3Nm1kq4uTdojyEIaHTsj1uHP52cpirRr7Xwn9pX3VRMCLMWqMmu pDhvWMyz+F9s19AqJZ9tRmabxS/XZ4qf2vCdcJeouwo+KUGQOwtZ6E/80+StaThs0Mba 1NDfiG8OrilKG5sKQF2FZ7uZNRKso1cet9UXw+/Ss2BRPLaC9VpllO6BynEZ+neoTo6L lLzeQ1vfn5pe5YKBrfHz1vQxjrRkv2WDZTWZmoCo2H76Oai6gKI9IXqoP98B8mcwwACd p8YGOwDaXgFiJ04x+zQoQYx5e6Q85PKiwf0+n0k17Asdjn9bsJAOWXSkfYW0FK4sSwnL j/ww== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b="RrIMMdT/"; spf=pass (google.com: domain of yates-EkmVulN54Sk@public.gmane.org designates 2607:f8b0:4864:20::f2c as permitted sender) smtp.mailfrom=yates-EkmVulN54Sk@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ieee.org Original-Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com. [2607:f8b0:4864:20::f2c]) by gmr-mx.google.com with ESMTPS id y199si197584oie.5.2021.05.15.19.14.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 May 2021 19:14:18 -0700 (PDT) Received-SPF: pass (google.com: domain of yates-EkmVulN54Sk@public.gmane.org designates 2607:f8b0:4864:20::f2c as permitted sender) client-ip=2607:f8b0:4864:20::f2c; Original-Received: by mail-qv1-xf2c.google.com with SMTP id r13so1546118qvm.7 for ; Sat, 15 May 2021 19:14:18 -0700 (PDT) X-Received: by 2002:ad4:5f48:: with SMTP id p8mr50635981qvg.55.1621131257896; Sat, 15 May 2021 19:14:17 -0700 (PDT) Original-Received: from localhost.localdomain (fv-nc-f7af8b91e1-234237-1.tingfiber.com. [64.98.102.7]) by smtp.gmail.com with ESMTPSA id h65sm7807572qkd.112.2021.05.15.19.14.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 May 2021 19:14:17 -0700 (PDT) In-Reply-To: Content-Language: en-US X-Original-Sender: yates-EkmVulN54Sk@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b="RrIMMdT/"; spf=pass (google.com: domain of yates-EkmVulN54Sk@public.gmane.org designates 2607:f8b0:4864:20::f2c as permitted sender) smtp.mailfrom=yates-EkmVulN54Sk@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ieee.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:28362 Archived-At: John, First of all, no matter what approach, let me thank you for such a powerful and wonderful tool. Regarding your TUG talk on youtube, the problem with using markdown as the source document for our documentation flow is that we use the markdown as input to doxygen to generate our final doxygen (html) output, and AFAIK doxygen does not honor any of the special pandoc-specific extensions to markdown. So this brings me to the following important question: when using pandoc to convert from markdown input to markdown output, is the markdown output "standard" markdown with all the pandoc-specific extenions implemented as native markdown? If so, that would work with our doxygen flow. I am still not on-board with the idea that markdown is the ideal or best input language, but having options is always better than the old days. --Randy On 5/15/21 8:12 PM, John MacFarlane wrote: > Randy Yates writes: > >> Don't use markdown as your source document format. Latex's capabilities for >> generating rich output are far, far greater than markdown, > This is true. > >> which can't even generate numbered section headers. > It can. pandoc -f markdown --number-sections > >> 1. Elegant mathematics > Also accessible from within pandoc markdown, which allows you > to use tex math and even macros. > >> 2. An extensive bibliography/citation system > Pandoc's markdown has one too (see Citations in the user's guide and pandoc --citeproc). > >> 3. The ability to natively generate graphics using Tikz/Pgm. > This can be done in pandoc markdown using a filter: https://github.com/pandoc/lua-filters/tree/master/diagram-generator > > Although it's true that LaTeX is more expressive and more powerful > than markdown, but many users may find that pandoc's extended > markdown has all the power they need. In addition, there are > advantages to writing in this more limited format, especially > if you may need to target output formats other than PDF. > I discuss this in my TUG 2020 talk "Pandoc for TeXnicians": > video: https://www.youtube.com/watch?v=T9uZJFO54iM > slides: https://johnmacfarlane.net/tug-2020-pandoc-for-texnicians.pdf > >> So in general, choose a source document format that's the least "lossy" in >> terms of typographical capability, then translation to other formats incurs >> the least loss possible. > Conversions from LaTeX to other formats are notorious for being > lossy -- precisely *because* of the expressiveness of LaTeX. I > look at a couple examples in the talk. If translation to other > formats is an issue, you've got good reason to use a less > expressive source format which can be translated more reliably.