From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28371 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Russ Urquhart Newsgroups: gmane.text.pandoc Subject: Re: Markdown to PDF via TeX: Tyring to change section title color Date: Mon, 17 May 2021 07:39:05 -0500 Message-ID: References: <47556979-9357-c3d3-b3ed-a3031a195127@ieee.org> 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="26363"; mail-complaints-to="usenet@ciao.gmane.io" Cc: John MacFarlane To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBD2NJ7OMTMJBB56HRGCQMGQEYWQ2OPY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 17 14:39:22 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f183.google.com ([209.85.208.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1licWo-0006i2-CP for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 17 May 2021 14:39:22 +0200 Original-Received: by mail-lj1-f183.google.com with SMTP id a11-20020a2eb54b0000b02900f53e39553esf904767ljn.5 for ; Mon, 17 May 2021 05:39:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1621255162; cv=pass; d=google.com; s=arc-20160816; b=N1ykiRyE3nupxuNK/nn+3aDNbJRlezCvCsR1FKPKEMHUWavYZ1muI/RD7BqUTw9Qfb KgdX3Ff9EuY9YYUIgWkyRuppYnv9jrioOJs9499I13zg5UhhOoqGTJ8GbnT9dyoe78Xa NghNcjrjz+RNYb1G2/xW19SFbJnXiTInWZN+MhrV4WWQMaO67UGtmIbMOrqFE2XOuiUS 1IE051Ld47Pyh3+46RkRwGIrl+Pgd4Nl2vOg31s3PP2HwDptQ5AyDKL6uRfdgRD25CMr jW3PyoBfSwsmnlPOurVhTThl4oxo5OdjeKcX3aA1fPeLMI1Fw/IObi+Uba/ZQmTE5AC2 kjuA== 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:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:sender:dkim-signature; bh=Zde78UwoChtL3nVKengdUTeSiE0xCoSv5BNCC+5SCq4=; b=B+8y+kzskpof3pmiTddY88PcZ0cgttD1Os1fMwnBVP2OjxeGf0NmkACKoloTp1ngH8 xgYIQArskzbOX5ZoxuveFizOH0tfK9lb/tlZvmYfa9/kmis/5GAWySNLMH7ky0Joix/h TYL91qvOuPxGgo8Hc9tTdyaMWG8u6+99InoCBX7rxh+ErDUiy7u5bcKrmbAAeJCgdZkx hHLNIEPJDOLIT6WMCQaU+bpfJJWrrNC19Uf2J3uqiRWEHBLQitBe7vw1GxiX4LKTcrJW wsTPLAem/A3mH4NEW68nyTqaMbjk4Rr+uPH1dFkjLdpUsmlWwkOtUgYoV2QcQIktgoF6 4ffQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@d2iq.com header.s=google header.b=povhkZTv; spf=pass (google.com: domain of rurquhart-Zl5T1cyB3pc@public.gmane.org designates 2a00:1450:4864:20::445 as permitted sender) smtp.mailfrom=rurquhart-Zl5T1cyB3pc@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:cc: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=Zde78UwoChtL3nVKengdUTeSiE0xCoSv5BNCC+5SCq4=; b=jqSJ9sbqEY97v81lwK2qs3g1pU6KPbmTM18k1KayXsBjwIpeLXryjTs2gkwD188ddK PROFcycbUVXVSwO5rNzhBGqktIdpsLU1D8yZr2si//xbAhBdsu2a6lE+bli0SvZkF42b Dm8qJt0JJ2rq8RWYDjJEdvMiu9ZK0rYDmSMefQLX8p+2HSrYL+H+Z/S+/QKOVHAD7Zrj 2zXAFMN/OUbPL/f/9DTQ9pBJuCF5lX3Ps9plf5WVBI/zdeZD5U69LBnhboiVhrBwykDv MWWsBqMUOjmF/hUEgtVF103xTS9XqL3aNguLrtMIOHyfzylOj+zr39KH8/hef19412zR TISQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:cc: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=Zde78UwoChtL3nVKengdUTeSiE0xCoSv5BNCC+5SCq4=; b=mmB8TVhMB3dHZBCjqsfSTrUEDsJQlTOZhPsxd1vPl28USC8i6hZc+yFTum/xSQq7gx quO2iYOaJdydu+DTjgSLW960a2H7nkYz6Ag09CkWLz75pKOcW5TyOOrf42ZmPwFaBBy7 BuBRVq7bhHUB4GBhrIUy9hsZdIWDzDzRE8SIfZgGX+cIchcUfdD4CTIIDmpxY81+yqmd EzYSvO2brZS9GF3dO5jAscPqfA4MAOPDxiWSvr6bOVWH/fK8Nbij8Vsh0Kz6T/9dME5O tm687a4VR4sYmLivKWYgw1q87w2Ee1rjZw652fe+bJrMF4ZJuqzEcseKH5uOdChMlnIN ztuA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5324W5WA+kQSBw9Xf6RZConApALQUgxXqNlyfY9/ImcKc4YqHlmB GQXVBiXlIzB01/+OuUJAfRM= X-Google-Smtp-Source: ABdhPJzWA+V2DFNbEYGf7Ks4dtq06U/wk4h6kM/ZOkcw0n1ZAOvKunnN8sAnamVNiSmu69OBmTDIuQ== X-Received: by 2002:a2e:5042:: with SMTP id v2mr24919529ljd.256.1621255161941; Mon, 17 May 2021 05:39:21 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:7008:: with SMTP id l8ls2818994ljc.4.gmail; Mon, 17 May 2021 05:39:19 -0700 (PDT) X-Received: by 2002:a2e:9e53:: with SMTP id g19mr50718535ljk.58.1621255158948; Mon, 17 May 2021 05:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621255158; cv=none; d=google.com; s=arc-20160816; b=oIGGGkRXP/viT9MXmnDsE95FWWcvF076cGxjVKOUBJEQxaxagYmeym9s31zhjff7Pa Cmst3ZvGOm/QxHM0pX8JjZVMdQY2D27LOvW5/omtUSW/fCXHWTsLOXghir0GPcN25+x6 z2QJFZSgipUSXEW9xF9hYhCxIPzZqCTcvS81O9f3Bdx/pVeN6YeiYC/RsLYSQDgKA0AM QXX9uXZJT+sqqTa4yRZNIQwVOcFSzeXJu26PR1L0G58WXdY+SrrdSHgv5t07qhO9w1ls WlL6NYuw92rEXk1IQbTkywdNeYUpQPOkQhwq319t0F59hlXz+YMjc75jsDah1GWYrV1E +pZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=D6kcLCk2fIr+wCBKCm6u4X+j1/BEW6CyaIPQkQbqifA=; b=ba9XekR/TD+u6axRsNiRyx939PTslr0Oi15q7W/Py8ySyHMYXJi7zsPWep2fxlN4rl Oj9J1JhSeSfUZONZ/BLx+KX9O/qK7FCScDI+lY/suh3BDvBSeyRZvANjTN5SFHcwfNuK PUTLdHqSEVewjj3VqpJD3xrdPYP5DLOajacyFJIx/hk0CitL6bniALbY5hwFPOZEMH8D kTDdg11fpHAbfnZQ+IyJH5EavaUjwS9X1SD3iGXQPMphT8JcFhSy5q4X/TC8foyd+OPV tASYyJp72inuLcGIcEX3uZve6tg82vKUEFmhckTkTEGxA21MxsXcbwr8AjJHxgfD+gOc 5z6w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@d2iq.com header.s=google header.b=povhkZTv; spf=pass (google.com: domain of rurquhart-Zl5T1cyB3pc@public.gmane.org designates 2a00:1450:4864:20::445 as permitted sender) smtp.mailfrom=rurquhart-Zl5T1cyB3pc@public.gmane.org Original-Received: from mail-wr1-x445.google.com (mail-wr1-x445.google.com. [2a00:1450:4864:20::445]) by gmr-mx.google.com with ESMTPS id c17si463413lfv.9.2021.05.17.05.39.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 May 2021 05:39:18 -0700 (PDT) Received-SPF: pass (google.com: domain of rurquhart-Zl5T1cyB3pc@public.gmane.org designates 2a00:1450:4864:20::445 as permitted sender) client-ip=2a00:1450:4864:20::445; Original-Received: by mail-wr1-x445.google.com with SMTP id j33-20020adf91240000b029010e4009d2ffso3789530wrj.0 for ; Mon, 17 May 2021 05:39:18 -0700 (PDT) X-Received: by 2002:a5d:64eb:: with SMTP id g11mr75427314wri.260.1621255157996; Mon, 17 May 2021 05:39:17 -0700 (PDT) In-Reply-To: <47556979-9357-c3d3-b3ed-a3031a195127-EkmVulN54Sk@public.gmane.org> X-Original-Sender: rurquhart-Zl5T1cyB3pc@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@d2iq.com header.s=google header.b=povhkZTv; spf=pass (google.com: domain of rurquhart-Zl5T1cyB3pc@public.gmane.org designates 2a00:1450:4864:20::445 as permitted sender) smtp.mailfrom=rurquhart-Zl5T1cyB3pc@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:28371 Archived-At: Hi All, Thanks for all the help! I finally got titlesec installed, what hoops you have to be aware of! To answer the question of why use Markdown to go to PDF via LaTeX when LaTex is more expressive. I completely understand that. Our tech doc group, using a Docs as Code workflow, already has their documentation, initially contributed by development, in Markdown. (To my way of thinking, going to Asciidoc would solve most of our problems of Including files and generating PDF's directly, but you have to work with what you have.) I feel more confident that we'll be able to get where we want to go, just may have to dig into TeX/LaTex a little more! Thanks, Russ On Sat, May 15, 2021 at 9:14 PM Randy Yates wrote: > > 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. > > -- > 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/47556979-9357-c3d3-b3ed-a3031a195127%40ieee.org.