From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33295 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: Preserving citations between docx and markdown conversions Date: Fri, 10 Nov 2023 21:12:20 +0000 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_GV0P278MB0211D7FB7C6886B4EC81C53C83AEAGV0P278MB0211CHEP_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2559"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBONZXKVAMGQEYIMH6NY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 10 22:12:30 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f63.google.com ([209.85.161.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r1Ynm-0000VK-Cj for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 10 Nov 2023 22:12:30 +0100 Original-Received: by mail-oo1-f63.google.com with SMTP id 006d021491bc7-587ac1e8eb1sf2060385eaf.0 for ; Fri, 10 Nov 2023 13:12:30 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1699650749; cv=pass; d=google.com; s=arc-20160816; b=Um7cJeBGmoiG+ibkwLnI2uD4P2c/tq1WTtygf90jj5MaKPsmLhzLxaKL4atHN7oG17 N+Bc/NvW6xzdyhJhczro68oCIZ61cGl2ruaaNMkYfuePoxHTR7MImm0bS9otqIO6ta9q abIjWRf9unhqjTFa4eRrre+tFQq73iihf4SbLgGJNOqM4hSvSnvailBDDLcci708Rdix cTUPp1MUYbrDJQkhbuawDRAqjzawtq/xjkAlHlQ+g5Z6OxPoiegpHn1caS8VTtsExwUT kGiEZyGdCy6UMwODaP/N0cDsYu/DJhaDiX3Mdanf7uhCGZle3ULaXPaQ/zxRwLc3vuve 5Y+g== ARC-Message-Signature: i=3; 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:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:sender :dkim-signature; bh=a40ItL1ylGKMZBJdq4ao2rXTvt6ZlXr1Fvmo87sr+yc=; fh=UyxIHVUYZvjWyFF68CRt+7uyuGox5bGx8I7lV7uHzjE=; b=oymVVMhSCKM5Btm5hPSBIZoiCLzJ8swbDx/R5KtY2S3u5EBhDvIfN4BT+UUCIiLQsM XiQ3s36RDKwuxSIV3qPnwYGA3E1oByKprtjRYMlfMmYaykElKeaFlo1LKAGWpKoke0LJ T5EJhCOzKDGnMM12oUs1nedVx7iEBsq/02DFAvlxkcQPsgEi0m2q2XM45Re1xosxAWA2 +wdB7ShBQg4ri8N8XwOT3VcASovav6SvLTBgr4RJUmonYLi2MwwgR+AtjkESBHQ3j2qP HO/CE831X1cEkBlHnvMb1wppIH6ixtD8YkMmHPSi4p9a87UeEnYvEv47uhMmOiaGZvx/ ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@unibe.ch header.s=selector1 header.b=fR5qwWpz; arc=pass (i=1 spf=pass spfdomain=unibe.ch dkim=pass dkdomain=unibe.ch dmarc=pass fromdomain=unibe.ch); spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 2a01:111:f403:4012::70c as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1699650749; x=1700255549; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=a40ItL1ylGKMZBJdq4ao2rXTvt6ZlXr1Fvmo87sr+yc=; b=V53GJmgxpOpUqOwc5+fEoU0wVA0IkySFtGYr1FE20u6poHlHK+RkSUV+bTEBMGoVUF 5tqmDckQbA+Au0QTJrr1z+mmFzGGlTdylUSDwG7HdntlhmO3V3uV9VlV9QQVoyOgP0eI /EknTsZS9I3Ir2POQ2xt+r+Ew10auPHAgL6plFUnppwnUc6Zrgg8azXpkWe/hzH/DRcZ pAwflAzDC713X1HnYDQL5k1/01tmADf6LLamwrENuZtbSE4h90LBlxK0XCEyq X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699650749; x=1700255549; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=a40ItL1ylGKMZBJdq4ao2rXTvt6ZlXr1Fvmo87sr+yc=; b=Hg4VNe+dl1m8+EYXxyYMx/O3GHUcflVFlz0KuJc61tXemZpanp3H+LucSqmT2URwkr HRBIF5NcmC1h1NCS8YLAjfTxPfIfks2x53FmBvlBUSaWlOyOcXVFCM1AukFfg2uK79y/ uARw9LSdv0KHbPVtYu8qBpGiPJVcydSA8hWjQsOo3eMc2gWpLIjeRWhLUlYlxCaFpWVq FuWQYVGBzgDanTm Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0Yw5WLhwxNkzNP8xVClLCc/sbMwXbLpRjTn+ble1V78TfjWtyqec /xk23rGuKe3h5DC4kZuAJWY= X-Google-Smtp-Source: AGHT+IEDD1mJPCyGLLFcRt+irGQgkKb3zFw7k1C8MaxWmSCvb2FZdH/7XFfd4OSDZdcTzYH9/uJ4TQ== X-Received: by 2002:a05:6358:7246:b0:16b:bbf6:b9d9 with SMTP id i6-20020a056358724600b0016bbbf6b9d9mr435335rwa.10.1699650748989; Fri, 10 Nov 2023 13:12:28 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:5712:0:b0:41e:89da:ff44 with SMTP id 18-20020ac85712000000b0041e89daff44ls418798qtw.1.-pod-prod-07-us; Fri, 10 Nov 2023 13:12:24 -0800 (PST) X-Received: by 2002:a05:622a:1007:b0:418:fab:2d31 with SMTP id d7-20020a05622a100700b004180fab2d31mr269867qte.4.1699650744306; Fri, 10 Nov 2023 13:12:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699650744; cv=pass; d=google.com; s=arc-20160816; b=LjR/H8V2rVjwGmYh8rVKBxtHtFyABxoEnBrlHdQMwGBUe4kSLwJA7KpvfyDYiLHX/G OH1EVzcc0oFsV6vEw9YTKjYp+/PLdZgp45GFAAVxsQahAFfJKRbWirvSBDpgGQjxuawn kVg3CTlkhcrVpUugobubmf051zIdBHX+miSTaMiSyyPBJEuGiJYTWzwP6SSc3zAZH5/3 VTC5BXrORg31R0ESQC0fJOxLETKRnJd0pmKj4hdpK4lK5bWBCU8IM/vIhhPWjUAbfip8 +15h/rJdNgvhK7fIoPGLhxkNYjdRjSELSewmpMQcOGDh5O1CGDNU5Y+PqG4ikRPl9blj PFUQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:dkim-signature; bh=V+DvG4uG4PoBCRAg/Qpk8ACoOwdyXWKZNqUj0AXQp/0=; fh=UyxIHVUYZvjWyFF68CRt+7uyuGox5bGx8I7lV7uHzjE=; b=DItTg2T/a/HvkdFhXALxKr7iP1q/fpHjgQX4w+D1pJu0GKzDD9hMFSVm5tn26TRjIu JPpGdYLb8fsOrZPOiuJ64jJeBizHSB++R/YKFKTv24DQkTnJDJ1pveWoNlTYwyG2nLAL Gd0HS432zbzhDm4HCxajY9tvcjxmUsPjbJ2gDQFeduqk3T812SxS8Dl0I2CbWK51xb4a MsXk99CX1pceUQJnwNNDTRHz2VMkdblhEs49YCelnxg7RM61XHNuX2qBL/MyPJIXQ053 bLQ3rdPFnPDAYfrmcSfWBdFNsk9UVD4gK0JXocKcT0997anaSRcaVSaAd0HRPnijYMJ/ 0xpA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@unibe.ch header.s=selector1 header.b=fR5qwWpz; arc=pass (i=1 spf=pass spfdomain=unibe.ch dkim=pass dkdomain=unibe.ch dmarc=pass fromdomain=unibe.ch); spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 2a01:111:f403:4012::70c as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from CHE01-GV0-obe.outbound.protection.outlook.com (mail-gv0che01on2070c.outbound.protection.outlook.com. [2a01:111:f403:4012::70c]) by gmr-mx.google.com with ESMTPS id gd10-20020a05622a5c0a00b0041790471199si76672qtb.4.2023.11.10.13.12.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Nov 2023 13:12:24 -0800 (PST) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 2a01:111:f403:4012::70c as permitted sender) client-ip=2a01:111:f403:4012::70c; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FP0kixGBMI/ny/77+mX2OonnlBZ0OkD4G7scJFyfi7scFk0AzVzF2Eyc6z/llv1qC6LJbDV/STPF8ACXbOZiOYKBTlF8AuJxuVpP3XmapcgUL5S/NXFnD4eiq0NF7mUpPn2SupYGG1rMvt8UdmOknhbVrQTmVyOCqzvnoP44RTosExnwc8HmKi8RKMB97RoJktEc7ceuY7x4BwscdKVEPKmETrhXBwVLL8VHr2Mpet26QKn3pE7dOOlhArw/Uvqp/McKWaHiRWhQ5gwF+2B8xlUSSEzLBosxAI6Eig3fh7ReDGCkmRzVL9XhtQTt/SssjA8zHK3jAhZFdQIrBaB/5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=V+DvG4uG4PoBCRAg/Qpk8ACoOwdyXWKZNqUj0AXQp/0=; b=E3chxYwkHuyANERLPATePSvwmGZP5pFf7jupGO4BidM1F43iL+4w5TM3QXpWeYFZQuJgDQDJ20qz0p6FhlhZ77c/K9/E7Dqnn6PdlHoodsCvHo9GobjIoI+ev/MnjgVDfDAvJa/4S0nBs4WoqtOzwICb/ws68IkuU8bICfZd2KtDL4SPtzV/BxrDAW13bvS6KaPCkGwHZUx5JrRDw4ZYpSaY9Hgq+4K/NnvNJbH8QbaKwuBsa/tIkEyfY0Ch4i099+2oQbsJui08GhXuXaIIl/eeIAQfQp5aZOoIHu57coSew84hA6wa/WuqZvFPYWyrqG+jGNvtgDuBgE9jM0vY3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=unibe.ch; dmarc=pass action=none header.from=unibe.ch; dkim=pass header.d=unibe.ch; arc=none Original-Received: from GV0P278MB0211.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:30::7) by ZR0P278MB0848.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:4f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.18; Fri, 10 Nov 2023 21:12:20 +0000 Original-Received: from GV0P278MB0211.CHEP278.PROD.OUTLOOK.COM ([fe80::2354:492b:c36d:1b42]) by GV0P278MB0211.CHEP278.PROD.OUTLOOK.COM ([fe80::2354:492b:c36d:1b42%3]) with mapi id 15.20.6977.020; Fri, 10 Nov 2023 21:12:20 +0000 Thread-Topic: Preserving citations between docx and markdown conversions Thread-Index: AQHaEY26LNeu48iKBUuT9RqvJYawSLBu/y0AgAUS09A= In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE x-ms-publictraffictype: Email x-ms-traffictypediagnostic: GV0P278MB0211:EE_|ZR0P278MB0848:EE_ x-ms-office365-filtering-correlation-id: 6b6f462e-c2bf-4f7f-f386-08dbe231ba31 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dmZ31zqeEwIZpnEo6u+Yed/WcaQAmlSnbFJy9L+Q2XuDHj6FEd5bzrAl/5JOI+mwuBEa1M3zR5JQSVL9v5CfakegP56OPxeDQqjGMVk/cjn1zqE04fhoA8xt9mMmuIW/FTWh2XJ51GqkA/ZXfJm1qDDWgtJ3XwdwiRXhrntRQs/ticLANAqJTtOERebiKW+XtMoF1CVnPwqkWLZyY/8qHPU8bGuWJjy6NQT0d3Vt1wQGGzBHCEHC2Me8/qHFUcmoKUg5xJ0SbGC1ujyMC7rVh5cLwOX8gTf44rnsRXrNl3ZDKW2Tdxxx2WHdFhQzXYQUWFvBcq+k88ucsUlVBsI2n6jIy2KgvU0/GMFB+Izq2Vi+2QoTy2y1UsHpH/qdu8zgTGQr8Rwnouk9A+LGI9/TlSBhYbEdji5tWuVDyIMJ7s8KyyFvyljIqkYlQC7XR7tChTZpbWaRIi8U3xCRH1csKWCewsaAaHFY2m3x0FXYaOe71H0xhZHAS57h1OvCRPiRQ+RkEYBvgXKthQY3INvRZ5Eus+Vx2IwvRiN6HDcfc/Si2URF276BNvq4NbZhUfyJya+8AGi2b+1jUffjZam5pkNabgKwhPTx3pbo4dZCIv81BlQGinUWsWiq5IR18KZc/fcjzVtTURK3wxjkTfORMQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GV0P278MB0211.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(376002)(346002)(366004)(396003)(136003)(39850400004)(230922051799003)(186009)(451199024)(64100799003)(1800799009)(9686003)(33656002)(38100700002)(7696005)(53546011)(6506007)(71200400001)(66899024)(41300700001)(83380400001)(38070700009)(64756008)(66446008)(66946007)(786003)(5660300002)(66476007)(76116006)(66556008)(86362001)(6916009)(55016003)(316002)(122000001)(52536014)(8936002)(8676002)(166002)(2906002)(966005)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WVRqRnNvQ0Nlbk1LODhjQ2hvblRsbFpZK1pQSTVzaGZFL2tJcDlrNlR0TWd6?= =?utf-8?B?aE9waUN3SjF2YzZmUHFWSjZuTlkzZFlUNmxZbEpZNmJRcFc0VGNFQkNNYThq?= =?utf-8?B?eXhzZzlFT1ZHT1BZUlRIRTNhZ0tQTWtXdzNRVjZUbytjWGVIYythdm5TNlBQ?= =?utf-8?B?U0crbnc4S1cxSUtFK3dGVXJEUVVucHVyZjZtTmc1MmFuYkh2OGlCZjQ0aFRq?= =?utf-8?B?eXBXVCtDK2JBUnRsOEVzTWtTZmtLbFBBVUxhN1hPSDFpSGgvVFlkVGlPQmty?= =?utf-8?B?dzc3ZkxMYnZmV0Vsc0F5SXBsbXp5WndkOHVqcXJBT1drVmhpTUpDWXZyY3lG?= =?utf-8?B?YUkzY1J1TEZBQ2xSNVZGbXUzZ0dabzY1ZGlNTXdpblRqZWdIS2hzZEsvcDhn?= =?utf-8?B?aUhEK3NjWHF6d3o2N3g3aXp3aXVWQ0JadlczYS93TGRkQTZPUncremcyYzM2?= =?utf-8?B?STlXdURLeUF5dGhPMGJrVVIvOG9OdVk4VXg3WWQyai9UczE2SmZIWklDNGZF?= =?utf-8?B?b3FmOUMvSnRudzhzeWxVc3BOMCtsSjN5bEJrTmFVU0NOZnRhQ2JKZjJ1VGtG?= =?utf-8?B?dmZBV05reXQrbnNYdk54emZYekRzZkw4bjE3Sk9zNHAvaEpVWUFlY0ZnZkR6?= =?utf-8?B?d2wzMjgwRDUyeW9zMiswNkVEcUcvVXR1NXU2ej X-OriginatorOrg: unibe.ch X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: GV0P278MB0211.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 6b6f462e-c2bf-4f7f-f386-08dbe231ba31 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2023 21:12:20.8051 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d400387a-212f-43ea-ac7f-77aa12d7977e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HcUDJJIlzCqnS7FvvOP+daI9Jb2EX9XzygtKHan5mYbjLRK0ikYvjCZm8ReeR6YEERTx5AE4515cNWPHk4fVHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZR0P278MB0848 X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@unibe.ch header.s=selector1 header.b=fR5qwWpz; arc=pass (i=1 spf=pass spfdomain=unibe.ch dkim=pass dkdomain=unibe.ch dmarc=pass fromdomain=unibe.ch); spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 2a01:111:f403:4012::70c as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:33295 Archived-At: --_000_GV0P278MB0211D7FB7C6886B4EC81C53C83AEAGV0P278MB0211CHEP_ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Probably a good suggestion. Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Im A= uftrag von Paul M. Gesendet: Dienstag, 7. November 2023 16:43 An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Betreff: Re: Preserving citations between docx and markdown conversions Sie erhalten nicht oft eine E-Mail von pmmagic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org. Erfahren Sie, warum dies wichtig ist Might it be simpler to leave the citekeys unprocessed during the initial co= nversion to Word? I think the citekyes format is simple enough to be self explanatory, and th= e markup is no more disruptive to reading then a standard author date citat= ion style. You can tell your collaborators that these will be replaced by a= ppropriately formatted citations at the final edit stage. On Tue, Nov 7, 2023 at 10:18=E2=80=AFAM Alex > wrote: Hello! I am investigating using pandoc for my academic writing. I intend to= do the majority of the writing in markdown but will have others reviewing = and giving feedback through word (docx), and would like a way to re-integra= te the edits back to markdown while keeping the text as close as possible. = (md -> docx -> md) In my markdown I have citations using the [@citekey] format: Here is a reference to one of the entries in my bibliography [@Aigrain2021]= . I would like a way to preserve citations when converting between docx and m= d. I've tried the following approach but just get plain text (in the markdown)= where the citation was. Here is a reference to one of the entries in my bibliography (Aigrain 2021). I am not sure whether the citations are being lost in the md to docx step o= r the docx to md step. (I am not familiar with the how word even stores cit= ations) Is what I want to do supported? I have the files: main.md main.bib nature-conservation.csl The command I'm using to convert to docx (md -> docx): pandoc --citeproc \ --bibliography main.bib \ --csl nature-conservation.csl \ -t docx+citations -o main.docx \ -f markdown+citations main.md The command I'm using to convert back to markdown: pandoc -s --citeproc \ --bibliography main.bib \ --csl nature-conservation.csl \ -t markdown+citations -o main.md \ -f docx+citations main.docx Any ideas would be much appreciated. Thanks! -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/eead1157-56fa-4259-a223-a365c852e0cbn%40googlegroups.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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CABoaWcXmivZz6kL_GcwVFn7Co-Qo7RfX8m1Gec_bqDyFmLJS-w%40mail.g= mail.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/GV0P278MB0211D7FB7C6886B4EC81C53C83AEA%40GV0P278MB0211.CHEP2= 78.PROD.OUTLOOK.COM. --_000_GV0P278MB0211D7FB7C6886B4EC81C53C83AEAGV0P278MB0211CHEP_ Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Probably = a good suggestion.

&nbs= p;

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Paul M.
Gesendet: Dienstag, 7. November 2023 16:43
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: Re: Preserving citations between docx and markdown conversi= ons

 

Might it be simpler to leave the citekeys unprocesse= d during the initial conversion to Word?

 

I think the citekyes format is simple enough to be s= elf explanatory, and the markup is no more disruptive to reading then a sta= ndard author date citation style. You can tell your collaborators that thes= e will be replaced by appropriately formatted citations at the final edit stage. 

 

On Tue, Nov 7, 2023 at 10:18=E2=80=AFAM Alex <ac.ringeri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hello! I am investigating using pandoc for my academ= ic writing. I intend to do the majority of the writing in markdown but will= have others reviewing and giving feedback through word (docx), and would l= ike a way to re-integrate the edits back to markdown while keeping the text as close as possible. (md -> do= cx -> md)

 

In my markdown I have citations using the [@citekey]= format:

 

Here is a re= ference to one of the entries in my bibliography [@Aigrain2021].

 

I would like a way to preserve citations when conver= ting between docx and md.

I've tried the following approach but just get plain= text (in the markdown) where the citation was.

 

Here is a re= ference to one of the entries in my bibliography (Aigrain
2021).

 

I am not sure whether the citations are being lost i= n the md to docx step or the docx to md step. (I am not familiar with the h= ow word even stores citations)

 

Is what I want to do supported?

I have the files:

= main.md

= main.bib

= nature-conservation.csl

 

The command I'm using to convert to docx (md -> d= ocx):

pandoc --citeproc \
--bibliography main.bib \
--csl nature-conservation.csl \
-t docx+citations -o main.docx \
-f markdown+citations main.md

 

The command I'm using to convert back to markdown:

pandoc -s --citeproc \
--bibliography main.bib \
--csl nature-conservation.csl \
-t markdown+citations -o main.md \
-f docx+citations main.docx

 

Any ideas would be much appreciated. Thanks!

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/eead1157-56fa-4259-a223-a3= 65c852e0cbn%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 pandoc-discu= ss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CABoaWcXmivZz6kL_GcwVFn7Co= -Qo7RfX8m1Gec_bqDyFmLJS-w%40mail.gmail.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 http= s://groups.google.com/d/msgid/pandoc-discuss/GV0P278MB0211D7FB7C6886B4EC81C= 53C83AEA%40GV0P278MB0211.CHEP278.PROD.OUTLOOK.COM.
--_000_GV0P278MB0211D7FB7C6886B4EC81C53C83AEAGV0P278MB0211CHEP_--