From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31713 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: Pandoc Citeproc doesn't work on HTML format Date: Tue, 08 Nov 2022 09:07:30 +0100 Message-ID: <87r0ydoo0n.fsf@zeitkraut.de> References: <8e24d40c-5977-4912-9e1b-6cfa0f66d5e5n@googlegroups.com> <87v8nqon26.fsf@zeitkraut.de> 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="35242"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Frederik Eichler To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRB3VCVCNQMGQETNZUGWY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 08 09:21:07 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f59.google.com ([209.85.128.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1osJr0-0008yi-1B for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 08 Nov 2022 09:21:06 +0100 Original-Received: by mail-wm1-f59.google.com with SMTP id bg21-20020a05600c3c9500b003c2acbff422sf490452wmb.0 for ; Tue, 08 Nov 2022 00:21:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667895665; cv=pass; d=google.com; s=arc-20160816; b=spi9rtjhn4UkbGnpwiNFDenr7v6B2Ypr7JMQkHT9iqZwxd/C75/Bh/auQIGUdeQMPV rV7lvO/yWK6LlyRp3/J6GWmVrKknSMTR8ceQ+C0MKLvq7MlAcImcjVIQKTK5ZEcoq+69 hWN3mGZOE+iwMVefqMrjWteuHCqz4phOcPQeORp/7o8AKPYoff1vpC1pMnG4FvDHW3nr QfejSPNNAKls2J3N4HkXgfopzmu+LaajwXv4F0REIxbpyNm1XVIho3YYcrz/NAgQ0kZZ qkw1/QPIDf929dvVI5tHqvAh0j6FRiFH+7Be9D7CzdGjivSy/3pmbyPeFqW0wLyPDgGT pjcg== 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:mime-version:message-id :in-reply-to:cc:date:subject:to:from:references:sender :dkim-signature; bh=MOTQT8QMXj0wWOAPNCqeke36dDbwikfanpuKIwCYx6o=; b=Ns8QihgvxuYdXuOMZo6U8O7P1elbLwqMqwu95nz3z+EgYsAYDBoZyH8PgsNAvLp0K/ 34hA9pLSHH8RcsjCUdWdvI1EiNLgqVcmoxWp+Z5zm1+RQlt4ovqndsOoUMj/NDTQMxiy GReRILAt8wDkQTklduOEsOfEP88CfYk/6tj3mO8trFnOVuQal9szfAfkcziansz1QvE9 wm21GYwItQhmhDOzuJ3inhuZlaMk2ueyG4u6yTQ9km86OhEEJTURnCgk/Mf6SfNQ4e/v sx0IldL7ouvH/0cJT+AQWG/g/aCwda6yWwsJ03TO3WjyPkJO1wfmx/G9pnMnMVHS1de5 9nBg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::201 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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 :message-id:in-reply-to:cc:date:subject:to:from:references:sender :from:to:cc:subject:date:message-id:reply-to; bh=MOTQT8QMXj0wWOAPNCqeke36dDbwikfanpuKIwCYx6o=; b=Rv0NUIvKpM8qtkB63fEMFJUUVNNclM4+uKBihtFVI3q7l/mRYCjWuAvNlsV7/46U7I 9FMiaajpj6fkO6mCnEuwALKrtL40pZb6PhYrNTr/jtP1iBTmdkJrvLJEKUl9bT7eQGi4 O2Mlv/BXGK/VwcNJd80COQlt4t3OTKDsicc01eso0MiWoENVOcvV2Pjxgnr6JRjPwDJc ek+LZ18/ak532izhEoYTQs570NVztUBE6n1j1MV0Ph6AaIyldn54pfPip4DOEccEqHuY wKB08ZifA/bYLnQn6b7aYVciUeaq2ZVgQ2tTbGhvAtKnlFbxDvWVCw7E+XIImcluwYmz B43Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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 :message-id:in-reply-to:cc:date:subject:to:from:references :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=MOTQT8QMXj0wWOAPNCqeke36dDbwikfanpuKIwCYx6o=; b=EviXuu3J2jpywstP0qJUOpIpAqh840V/P+FcuuqnKD3vMgm6wCBfRwQ4p2ZECH1Gbj woMJtGc+MaQ7ATjXZCUqD4l6oRZ53/YwqPFGKaF9Mm4Z+8yk3f8NywAebzC4naV1xO6H mJy6i6n7A0jvXvI7b/I7foxMMYFEyN85wYUI8ti7cvPUdRC7/UpeSfb3lJzteFx2ezyy pyDNerxMMP//jHFaWgYemfgeXEZ/LLN4x7KfDncJgbaf4yZcB8BmHSuU6rK+M78kg+E7 wYUBEfW3qGV4nqxR1j3FdposNFfyiWcm6Wi8PIDTIRX Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf2Nz0RKdROHa7+WS2bTW2mvg27e8MqmatlWIkt1udWOlaYlty4+ BudIGoryLHmhVyp9VauDXCI= X-Google-Smtp-Source: AMsMyM6fyMPO27bvhDavXXnfmSxKKNri1frm4o300YCyFXXGnNZzTDHAVUZDRlpqR79sX3k4Dpb7gg== X-Received: by 2002:a5d:51c4:0:b0:235:251d:838 with SMTP id n4-20020a5d51c4000000b00235251d0838mr34078245wrv.429.1667895665416; Tue, 08 Nov 2022 00:21:05 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6000:70d:b0:225:6559:3374 with SMTP id bs13-20020a056000070d00b0022565593374ls9007406wrb.2.-pod-prod-gmail; Tue, 08 Nov 2022 00:21:01 -0800 (PST) X-Received: by 2002:adf:e504:0:b0:236:4882:e784 with SMTP id j4-20020adfe504000000b002364882e784mr35071949wrm.670.1667895661338; Tue, 08 Nov 2022 00:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667895661; cv=none; d=google.com; s=arc-20160816; b=dZJbVWbAodorOEwg3Qct0xfvq3w5PQ3Z4RM7VNFF4NaEW3FQfSWRP9XqtpLVm4k+1q 7RC2NNahNBKliHC/0gHmpUnbJnpCeIajQpDlU7TKohEtJxmhpyiRxhO9BtOtQPxB4hGL +EkyPdz5cMA5xoD2i2Ck9Drhor2qYIzY3z1QLBiIfow8zosxQ/C/nTo8DJAK0vPpfxrr BDqSYtb7VK+z/OquwAYQZb+bc2UwNo8PAa1V7Y0rZvCYSfRBD896pgzqYHqtlsV2q6dF hcY1lIrOPCm0mjOxnHVluSC8vNKBdRw8fLnhUrYwIxgfBx4WZWh1AZhKTSFNXRKqRy6c qGHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:in-reply-to:cc:date:subject:to:from :references; bh=onDiozsag6ZGcll1S67NBU3fYKpg+44caxzZGjyx6cQ=; b=tLG6YcdKR3k39LJhDbhhg1JWzd5WS2xF290GzXILWWrMIDkOhRHNJnbTM9Mx+I+7xG fcws/Slx1lzpxYE41Q3qQznlhKy5d6wP7rBERWKfBRVndKXhk2KylNI7vfJLCIDsquGu mT1bbF1LwM3LyTy7I/7QsxlBzgYLZS/iEa8n2ZqD/2x0bFIoZBEG2tvqxemzu6ndY/Wf kT4lW6kDpJvGnBobxFl5neNtCSzmjB74gzUiRdaPZkxqSl7dbcj/q5vjsvZGxEWMQdRh 0/jErQY/kE5/6XGtdYrHnYC/jQOjn0L8/9N720R820d2oI5jj9HN5iBe1dT8P8RYKkYG XdDA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::201 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org. [2001:67c:2050:0:465::201]) by gmr-mx.google.com with ESMTPS id m17-20020a7bce11000000b003c8340cb9a1si330695wmc.2.2022.11.08.00.21.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Nov 2022 00:21:01 -0800 (PST) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::201 as permitted sender) client-ip=2001:67c:2050:0:465::201; Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4N61JV5H69z9stN; Tue, 8 Nov 2022 09:20:58 +0100 (CET) In-reply-to: X-Rspamd-Queue-Id: 4N61JV5H69z9stN X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::201 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@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:31713 Archived-At: Mladen Babic writes: > What I actually want to do is when the user uploads the DOCX file, > Pandoc converts the file to HTML and shows it to the HTML editor for > additional editing by the user and converts it back to DOCX. > After converting to Html, the system (my app) will replace current > cites in HTML cite i.e. [1] with the key from the .bib file (like in > my case [@test1] so the citeproc will know how to process it. That's an interesting use case. I don't have any immediate ideas; going via Markdown might be the best option. But please make sure to also checkout [OS-APS], an open-source project that uses pandoc for some of the document conversions. Going from your description it sounds like it could be exactly what you need. I've added Frederik from that org to CC, he may be able give more info. [OS-APS]: https://os-aps.de -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124