From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28722 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'Nick Bart' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: How to get \section[Short title]{Long title} in LaTeX output Date: Wed, 30 Jun 2021 06:53:02 +0000 Message-ID: References: <4p2Sx0e_CqUgNm9ZcXR064fya9gybYYDVBTVMMIL9p1m2ynHgBzs30shkkVJnu0l2RqSKghQo5oi10jSV33BS6IBsvIhBhtyoExu-d3p3Kc=@protonmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 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="3597"; mail-complaints-to="usenet@ciao.gmane.io" To: "pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org" Original-X-From: pandoc-discuss+bncBDR4BGVI44MRBUVJ6CDAMGQEV5DGQXY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 30 08:53:09 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f56.google.com ([209.85.221.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lyU5s-0000lV-TZ for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 30 Jun 2021 08:53:08 +0200 Original-Received: by mail-wr1-f56.google.com with SMTP id w10-20020a5d608a0000b0290124b2be1b59sf473226wrt.20 for ; Tue, 29 Jun 2021 23:53:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1625035988; cv=pass; d=google.com; s=arc-20160816; b=MvNmlGPvs+yvSQ5BQp36oz9tErQsRa85SYcbkUC4e9QsURU8LVWZwHAh4ROCXr+ztb /OAIUkRdh6gGAYFQR0F8LJ7GUuHAvvkj1MVZDb5CAYLETG2E2IpqKlUIB2FXlxOWbbHI 9SEUmF3zQ0Qmizlig/nSsXwPnkqCVR74wRmQou+UWbvIubj/SRaZqZtXb1/HcwSGCn+W WlYtOGiO3P8CbNtNa6GemyIdbWiip6B3lSHnAOmjQRxOzBmu4cxNVdg5xjEsYkdrNiMm ddbgBxRg/4o2wAw9TtGJ4rdnd6OGPIEoRcFbQGIZjN7JYfpHLrtCaVNe3kds868gSUcF CNYQ== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:subject:reply-to :from:to:date:dkim-signature; bh=EiCaL9g4Slfueq0QrxWAt8Ae8yp78N4KsOZgwMdTIfY=; b=EXuY3qBfqMxlv1RCCO545Kq7xRc2A9rZPORj+Ndm+Kcul0vLBO11pAKd1vsx31catk Sj2Ce15fITeircWgWm3ZUvKLQHqpAvbqvJBbbzsCmQPmWNt0iHLCxyygfIwKvgmrdbRq SiOxc4Mfymjw3IBXd5P4+jmTKTtdr5w3Yx5ia3AEPL40yek2J5zBooUJsup9FTsflicG 9mbcWacvXJcNvIKYR2f2rmOE6QKLhNBL7jzv+k4jCV/XHvFQxvoNueWP1KA+u0a7gsP5 wbKwSfVLEy9QfGIASBzr9AL6USzt46ALBPNyRMy86o8Pspah6IS1woc4g3IfqOq2vKrU ImYA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=g57dKsxE; spf=pass (google.com: domain of njbart-g/b1ySJe57IN+BqQ9rBEUg@public.gmane.org designates 185.70.43.25 as permitted sender) smtp.mailfrom=njbart-g/b1ySJe57IN+BqQ9rBEUg@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=date:to:from:reply-to:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=EiCaL9g4Slfueq0QrxWAt8Ae8yp78N4KsOZgwMdTIfY=; b=davM5FabnAqf5WSnOZ788MO/MVX2T69cC8CTMqg02zd0lrU/GFIagPS6PvPzPRovtw Pkw26lJKzsK/Lckml92wTp/MlNHOpDdK0EPEft/Hel00dAXhohSPpfpJatHSVYRtxtJt N5rfosq7QIS/6LYXveVsI0q3Qxgn6Vwr7mcCuEkeVUa69TS+BdF/UXraKXS+NtedIiIC hFrP/VPrWdAsF1euJmnVmOu3mFrKUBXNL5lxNOBD81MK2FmMeMf1A62xJzPe9TYYjkcQ arNdQwnZAu7bDqynrViHleQq+cXwp1839dS5bZr6g2F5zruMDfv0MLAT13RYFZpJZlF+ 0ehw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:to:from:reply-to:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=EiCaL9g4Slfueq0QrxWAt8Ae8yp78N4KsOZgwMdTIfY=; b=kAL3gOGEHwZw9RQr/rnvGem+jCSg5knyaKzBfulFTvxsRnxzgpQZPGElysnRk8eyaG KDQ9DaRGzyynYUlFCOt5khfpSHapcmhDWQTNaxIb8WLsGhcQRH5D+LN7WH4U3KP8izy6 zvDHsI9cXWsBtSY8HKhwP9ZEKyV58On5vwc8LLSnZVf94W0TxRMM4i5GfHKOD78PjAv4 6armdjfQ4r/pf32qUcXFgmTYwvagN5CULoLzYLhp8oja5gpq41L7zNN7t1QAvUUoJkV9 hwKMadbSbyqajQY/FgMQpvmKeq7nzJpjcAZcU14XdMLiHCzZnWtIe335pbjXDiR1zCkI F5h X-Gm-Message-State: AOAM530+ki1VsSW130w290jdTpPCX8XvVs1ZDJ8ydwnP7+2zROl5m4r6 eFVmWQz+CgJkGSF48R+vNHw= X-Google-Smtp-Source: ABdhPJyTnEr+NlaJsKThPGW8HnQJ/6ECYg0Ap3qkQpcfd8/8NJE/xc/ZSxlbf1peiZfmekhWO72Mbg== X-Received: by 2002:a5d:48ce:: with SMTP id p14mr38448388wrs.170.1625035988613; Tue, 29 Jun 2021 23:53:08 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:adf:ecd0:: with SMTP id s16ls1367189wro.0.gmail; Tue, 29 Jun 2021 23:53:06 -0700 (PDT) X-Received: by 2002:adf:f68f:: with SMTP id v15mr14676062wrp.291.1625035986151; Tue, 29 Jun 2021 23:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625035986; cv=none; d=google.com; s=arc-20160816; b=Ue17pC1PapcwRKfbGMz3bC4bgG6kWVUyCRS2w5nwA9euE/5m9mzeV8lTKvJahJeucx xI3EWAWKvMYotBChJQ3gaX15ABd6+InTMdcVLcqOrE3zFhqKO6/cekd1pqyv76F0FSVQ elnIZBz1ZiScFphGsISVajwyEdLCwJhuJuT12d0+cwFVNPBLhJPK0RPIMwVguQcIIbZ/ g8O7GJVvTx2kkQtBVkjoRgpxfjedf99rSRP3S3fjJXjypNKkm4BmNgmCEZ+x4MzZpnDm LNH93LeDGogZlAqCaxr5zPYtMnj4R9MsFODeJvxaf46cJMYuUorlkJhdUH+H2bqYNJrJ W49A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:reply-to:from:to:dkim-signature:date; bh=tqx3sq23lf0zlvMZJAnjxiqOFer1c0CNvx7j31P/i3E=; b=wsWQf9W6cNkn3fD5LcLYUCu1myNXGFSFebKlHWitRD1QDvq6idqHFoGflgHWKcT5tj xbG1pXWU5LsE3VL7gqZ5NZICXnBxq4N43rTQSpfqifq+7limPc9SJGHbBfZt3vIXOJwB tNK6TIJ+trKrtc1N8s9TJ9ds/NYDqJcXmuVqqfyaAJTCIB8QjEj7IyNPKvea3vkuJ3yQ inEEBiaCFFcbCUAts6nFpSXilfTXh+aC90kshVtnKnQovAJlLHiDQDEW0+7qZg6FeLyD I3AblcbnI248hDkZZ1V3dBogRLsP6Cv6Pl4AMRE1Ad+oXpSFbPWbnS0d08cU4b22LMdx Fr3A== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=g57dKsxE; spf=pass (google.com: domain of njbart-g/b1ySJe57IN+BqQ9rBEUg@public.gmane.org designates 185.70.43.25 as permitted sender) smtp.mailfrom=njbart-g/b1ySJe57IN+BqQ9rBEUg@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Original-Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch. [185.70.43.25]) by gmr-mx.google.com with ESMTPS id m7si186991wms.2.2021.06.29.23.53.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 23:53:06 -0700 (PDT) Received-SPF: pass (google.com: domain of njbart-g/b1ySJe57IN+BqQ9rBEUg@public.gmane.org designates 185.70.43.25 as permitted sender) client-ip=185.70.43.25; In-Reply-To: X-Original-Sender: njbart-g/b1ySJe57IN+BqQ9rBEUg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=g57dKsxE; spf=pass (google.com: domain of njbart-g/b1ySJe57IN+BqQ9rBEUg@public.gmane.org designates 185.70.43.25 as permitted sender) smtp.mailfrom=njbart-g/b1ySJe57IN+BqQ9rBEUg@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com X-Original-From: Nick Bart 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:28722 Archived-At: > It might be a good idea to have pandoc do this automatically. That would be great of course. Shall I put in a feature request? =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday, June 29, 2021 11:36 PM, John MacFarlane wrot= e: > Not easy. You could write a filter that builds the > relevant section command, but that might break other > things because the LaTeX writer won't see a heading > there (not sure). > > It might be a good idea to have pandoc do this automatically. > > "'Nick Bart' via pandoc-discuss" > pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org writes: > > > Is there any way to have pandoc output LaTeX code like > > \section[Short Section Title]{Long Section Title} > > from pandoc markdown containing both versions as in the following (but = not necessarily given in this exact syntax)? > > > > Long Section Title {short_title=3D"Short Section Title"} > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > > > > -- > > You received this message because you are subscribed to the Google Grou= ps "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/ms= gid/pandoc-discuss/4p2Sx0e_CqUgNm9ZcXR064fya9gybYYDVBTVMMIL9p1m2ynHgBzs30sh= kkVJnu0l2RqSKghQo5oi10jSV33BS6IBsvIhBhtyoExu-d3p3Kc%3D%40protonmail.com. > > -- > > 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/yh480ktulgs0oj.fsf%40johnmacfarlane.net. --=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/a-tV5S_LgdZdS3sE6hXMHOlSqUgcH3yG-eqNN-h5iIQfg_PcorSLO-e6zg-t= 88nwlCQaBVODR_F2eCYOhvukfAEL0iR4eqEwqybFw5GVWTY%3D%40protonmail.com.