From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30610 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?J3RFZMO2ciAtIEhvZnN0w6RkdGVyIEtyaXN6dGnDoW4nIHZpYSBwYW5kb2MtZGlzY3Vzcw==?= Newsgroups: gmane.text.pandoc Subject: Output filename same as input filename, how? Date: Wed, 25 May 2022 07:26:44 -0700 (PDT) Message-ID: <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_928_1435879566.1653488804322" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19008"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCLPH74HTUARBJPZXCKAMGQEVHXPSNI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 25 16:26:49 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f57.google.com ([209.85.160.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ntryL-0004hD-04 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 25 May 2022 16:26:49 +0200 Original-Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-df1ff1c731sf11020447fac.12 for ; Wed, 25 May 2022 07:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=ZSLovztUfPlGBx8s0EQVivTBYO0MEdwmYI03haz1GME=; b=KXBaMRVz9+gZgJZN3Svdo5Eeas+w07iGKIdvj5BtZq3hTclW+ffLuit7ezGVmaDb4m u3Q43Nkq70EKzbJQ9uTIydgQYRiUgElrZ6O1iodDI8exowt/8rgbo1MjrfIXZnZKnDId agKn/ZT66K5XizZ7nY8Dnu/5ZUiu95TBaaSYMHJcmiVReIBdSnbBdxlCdy2ukURk/c5/ n2lZUugTru0QUH8W0IdwQImFCySg51hkvcFP5dpRhYjBwoya9QE7t7YZxbrtjdc1Y2fI CxEeLvNBnw4axggkmda2ZFBdW6Df8y+ukrsz67jHm9k5bt6V++uKdmLagA2jeip5rKzh FmbA== 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: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=ZSLovztUfPlGBx8s0EQVivTBYO0MEdwmYI03haz1GME=; b=7IWxiwLwpak+Y1z9qp2WGO4muFPX+n0MjU+buSzzUgjw3NSgovGb0MbsReRyqPj1sn snNDdpouS4cEWioTgHykSLcRqI7KPOcJsH+yFKCwjiXy0KH7yVcbNspFlLG7RmGhq0tA 1NR/ZfRw3Tt9wnOq4nlLzEGNNT7Tya06XM5cvOPQwEjKkMHmZoJ6AKrFjLZEuT7PbmMI Gmzug1dCjKp14OSm4s8pDDgNSFk4v1kKVAM/ZDWjEP70bjwJelpesLyDj2RiINV2Xrtw xLDQuOdvzN3Jfs3XpUDayMSTpRpz4gbeMNcm369FC4HXm3iGMUs5lbjNu9SHtldxiKD6 9idw== X-Gm-Message-State: AOAM530c97PqXY+Q/uQRAFcQpGTMW1euCATOsJxMudLCsXg7mDCONIJn XN06ODf1tlWIPYPGxlNxrSQ= X-Google-Smtp-Source: ABdhPJwtFvPUBkuguoOHlueeWXRDgtLIEv/g57Wwf4C3LAz1gy4O9wU9C9RzNNiaX+q4XgV6gmhExg== X-Received: by 2002:a9d:6e97:0:b0:60b:3a60:142b with SMTP id a23-20020a9d6e97000000b0060b3a60142bmr82088otr.217.1653488807990; Wed, 25 May 2022 07:26:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:711d:0:b0:60a:f9b4:4440 with SMTP id n29-20020a9d711d000000b0060af9b44440ls3061418otj.1.gmail; Wed, 25 May 2022 07:26:45 -0700 (PDT) X-Received: by 2002:a05:6830:2002:b0:60a:df8c:18f8 with SMTP id e2-20020a056830200200b0060adf8c18f8mr11818433otp.184.1653488804908; Wed, 25 May 2022 07:26:44 -0700 (PDT) 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:30610 Archived-At: ------=_Part_928_1435879566.1653488804322 Content-Type: multipart/alternative; boundary="----=_Part_929_843733426.1653488804322" ------=_Part_929_843733426.1653488804322 Content-Type: text/plain; charset="UTF-8" Hello! How could I output a file with the same name as the input filename, but only the extension changing from .md to .pdf Currently I use this pandoc 03-2-litrev-nft.md -o myOutput.pdf --resource-path=../assets/img/ --citeproc Would be nice to have something where the output filename would automatically mimic the input filename e.g. pandoc 03-2-litrev-nft.md -o 'inputfilename'.pdf --resource-path=../assets/img/ --citeproc Thanks! k -- 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/8fd0feba-d7b4-4619-b18c-aa455a45efc5n%40googlegroups.com. ------=_Part_929_843733426.1653488804322 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello!

How could I output a file with the same name as the inpu= t filename, but only the extension changing from .md to .pdf

Current= ly I use this

pandoc 03-2-litrev-nft.md -o myOutput.pdf --res= ource-path=3D../assets/img/ --citeproc

Would b= e nice to have something where the output filename would automatically mimi= c the input filename e.g. 

pandoc 03-2-litrev-nft.md -o = 'inputfilename'.pdf --resource-path=3D../assets/img/ --citeproc

Than= ks! k

--
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/8fd0feba-d7b4-4619-b18c-aa455a45efc5n%40googlegroups.= com.
------=_Part_929_843733426.1653488804322-- ------=_Part_928_1435879566.1653488804322--