From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30619 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?J3RFZMO2ciAtIEhvZnN0w6RkdGVyIEtyaXN6dGnDoW4nIHZpYSBwYW5kb2MtZGlzY3Vzcw==?= Newsgroups: gmane.text.pandoc Subject: Re: Output filename same as input filename, how? Date: Wed, 25 May 2022 14:13:23 -0700 (PDT) Message-ID: References: <8fd0feba-d7b4-4619-b18c-aa455a45efc5n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1800_1912035846.1653513203607" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23280"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCLPH74HTUARB5FXXKKAMGQEKY5EIKY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 25 23:13:28 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f55.google.com ([209.85.161.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ntyJr-0005xT-Rc for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 25 May 2022 23:13:27 +0200 Original-Received: by mail-oo1-f55.google.com with SMTP id h42-20020a4a942d000000b00321739192d0sf10734111ooi.8 for ; Wed, 25 May 2022 14:13:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=srWVBo6U55SzxBkC4Hgr1b+X1526CIVFypm6BOtr9XY=; b=EOeSXZD+Nh5cy1nHCL++g+MzynveQfq+/+iFQ6vnZhZg++t56U299U93VSgri2PF6G SRb7HNsLANixpIpZRDkOoNMGnXcWiQejFwokiPLpnI7sfu138YnlkWWmyl8KOxZlIqCr I2tAXtP6qEEWcoZ5p/gqpqvlXlshakr+ryxqF6lyBHg9CG1JBcyZIKOzRfriHi6fu+4n nKaV3TNOzSXfTnjVidjUMVZyZMCgYgNFiIVSa2mKW0B9ZOGWe9fhHWc51edhz2+gA2nN 1z/9oGGvtqzRkctZLijEer0x3WnXC3g1E2ZnjieD8z5iIO4LBlfN2m1odtWnxs8goOmC /V2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version:x-original-sender:reply-to:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=srWVBo6U55SzxBkC4Hgr1b+X1526CIVFypm6BOtr9XY=; b=meKh6d6R2kRujqZiuaaYjUz5B2oPT0aDvNA+MoF6Nr1YvwVkK3zBHgGsZdT8ua96/U Oj0SA6vj7gk8punLyhskmvxzZuJzw6cisVMg778w8WBL8c8caN012BqCbfjsS0E9UhgX SOQ9M3W62LspcZ4wWtI/+qAX4k8btX8FDH113ag0lBjLg8ZT/NivjBsLPCPWDmewUvIf apNH55NM4axvhxOR/2geo3Wwy23WQ5rKkU60khO4XCu319xjnzjZn9gqr3UcYBz8WgbO h88jXD1UaTAiHqab1nuEL2bY1dQvcIKXF+JOBGkmaibB1MzmNlqYgqMDshPlLQo7Nqq+ 4vlA== X-Gm-Message-State: AOAM531xvj76zjOGIGut3Mb90du1aPzYjJRAU1xKV1K8TuEiqj+x1LRE dXn7jKl93ctSzM1Mak+vQ8o= X-Google-Smtp-Source: ABdhPJwEwQtCk2phKm63c8GN2wKDZ8Hu5EWi2F2HrDrIjWPzXwjE9BispjHUEXe4IbsrCpou5J/zfA== X-Received: by 2002:a05:6870:a79d:b0:f1:9568:f60e with SMTP id x29-20020a056870a79d00b000f19568f60emr6739808oao.223.1653513206849; Wed, 25 May 2022 14:13:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:7297:0:b0:60b:127d:9a5b with SMTP id t23-20020a9d7297000000b0060b127d9a5bls2435620otj.9.gmail; Wed, 25 May 2022 14:13:24 -0700 (PDT) X-Received: by 2002:a05:6830:124a:b0:60b:238b:1240 with SMTP id s10-20020a056830124a00b0060b238b1240mr3868682otp.175.1653513204164; Wed, 25 May 2022 14:13:24 -0700 (PDT) In-Reply-To: X-Original-Sender: tedor2-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org X-Original-From: =?UTF-8?Q?tEd=C3=B6r_-_Hofst=C3=A4dter_Kriszti=C3=A1n?= 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:30619 Archived-At: ------=_Part_1800_1912035846.1653513203607 Content-Type: multipart/alternative; boundary="----=_Part_1801_1061428779.1653513203607" ------=_Part_1801_1061428779.1653513203607 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, will explore.=20 On Wednesday, May 25, 2022 at 5:40:26 PM UTC+1 John MacFarlane wrote: > > This is a job for shell scripting. > > 'tEd=C3=B6r - Hofst=C3=A4dter Kriszti=C3=A1n' via pandoc-discuss > writes: > > > Hello! > > > > How could I output a file with the same name as the input filename, but= =20 > > only the extension changing from .md to .pdf > > > > Currently I use this > > > > pandoc 03-2-litrev-nft.md -o myOutput.pdf --resource-path=3D../assets/i= mg/=20 > > --citeproc > > > > Would be nice to have something where the output filename would=20 > > automatically mimic the input filename e.g.=20 > > > > pandoc 03-2-litrev-nft.md -o 'inputfilename'.pdf=20 > > --resource-path=3D../assets/img/ --citeproc > > > > Thanks! k > > > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/8fd0feba-d7b4-4619-b18c-= aa455a45efc5n%40googlegroups.com > . > --=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/c48f2543-410f-477d-87a5-b42998470158n%40googlegroups.com. ------=_Part_1801_1061428779.1653513203607 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, will explore. 

On Wednesday, May 25, 2022 at 5:40:26 PM UTC+1 Jo= hn MacFarlane wrote:

This is a job for shell scripting.

'tEd=C3=B6r - Hofst=C3=A4dter Kriszti=C3=A1n' via pandoc-discus= s
<pandoc-...@googlegroups.= com> writes:

> Hello!
>
> How could I output a file with the same name as the input filename= , but=20
> only the extension changing from .md to .pdf
>
> Currently I use this
>
> pandoc 03-2-litrev-nft.md -o myOutput.pdf --resource-path=3D../ass= ets/img/=20
> --citeproc
>
> Would be nice to have something where the output filename would=20
> automatically mimic the input filename e.g.=20
>
> pandoc 03-2-litrev-nft.md -o 'inputfilename'.pdf=20
> --resource-path=3D../assets/img/ --citeproc
>
> Thanks! k
>
> --=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 email to pandoc-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8fd0feba-d= 7b4-4619-b18c-aa455a45efc5n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/c48f2543-410f-477d-87a5-b42998470158n%40googlegroups.= com.
------=_Part_1801_1061428779.1653513203607-- ------=_Part_1800_1912035846.1653513203607--