From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id NL2AMBAPD2BbTgAA0tVLHw (envelope-from ) for ; Mon, 25 Jan 2021 18:33:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uCEYLBAPD2DJbAAAbx9fmQ (envelope-from ) for ; Mon, 25 Jan 2021 18:33:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 322229404DF for ; Mon, 25 Jan 2021 18:33:52 +0000 (UTC) Received: from localhost ([::1]:56376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l46gQ-00069e-Ln for larch@yhetil.org; Mon, 25 Jan 2021 13:33:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l46dW-0005ID-6t for emacs-orgmode@gnu.org; Mon, 25 Jan 2021 13:30:53 -0500 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:41760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l46dS-0002cv-Pw for emacs-orgmode@gnu.org; Mon, 25 Jan 2021 13:30:49 -0500 Received: by mail-qk1-x72d.google.com with SMTP id n15so8791812qkh.8 for ; Mon, 25 Jan 2021 10:30:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:references:user-agent:from:to:cc:subject:in-reply-to :message-id:date:mime-version:content-transfer-encoding; bh=xuI9Xe1Xh+3hKaV5/5A2UXW/D0vBp0vBcIf3zw6iJto=; b=D//TO0Kw+y78KgzTqutJjiRox+vHfcx3zedfTZn5CnGWxSgxxJvM20Wlgg2k0hkTXQ PaKwBX6vIPnOGbmvNOZaqyq1HmEvni/qGse3redpY7/RnpbA6snG7k8qoRbnBSHWPLqZ wxX4CKh88lhl0R3WxGnk5Ynz2laFMyv9/hGvLmJ+QDK30Cnypxd2vPvAbZCg+eyr5Y/i M229vGJJDqfUVLQQrSYCLxC2q5jpLeBHbv3ITog6BWNcece0EY08a3YB6ccxJRgGZuRT APv0eOOnZs7A4D6Bru64ciiHopXa068cAJsI8/JtgPFKn2GBR56WM7IJru+Z6zqJA8DB 6QfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version:content-transfer-encoding; bh=xuI9Xe1Xh+3hKaV5/5A2UXW/D0vBp0vBcIf3zw6iJto=; b=Q/wfdkhvgFNRb8PBXsK9nYCrBnSHKWAUdXt5XWTAk57DsiXsgXDbas82FD4suj/Yct B97IY3Ioj5dX6K3D0SgqtkYrlHlkTrr3fFFtY4QfsgeniFzxE7DBpaBcJFmN5qKTxlhA j9reBsAJTk/q5koA6QH/fsw+qKcDswKisQt7Yn2KcfJGYO67Wxa7BkadR3RqCafAskoV 0moF4/QxEm8bNhNyUTLoRQkVKfJdbcBtrESBxhgQgVTAQrRvJOMWVEAPyzd43TN/oc2f A00ehpHgzLVq634C3wwfbUPdGk1mkr4TjKASAWouocaFyw1sGL2y1XHAkKamu7cqazWt A9FA== X-Gm-Message-State: AOAM531bNCh0obgZc5JZVDqCVulYRQFgwff9juW7MoHbheOV2RMdSZDv NKhQUSmAEp+KdMiCWmJXYDMnwZ/Bl/iD6w== X-Google-Smtp-Source: ABdhPJyW0XENFzDNtTUzeHN4Fg7MfSwK+YqBjcHtSsVhoLjyZY74IvrY2tyff6Y79LXkjWhnRaEh+Q== X-Received: by 2002:a37:484d:: with SMTP id v74mr2113562qka.0.1611599445560; Mon, 25 Jan 2021 10:30:45 -0800 (PST) Received: from gusbrs-laptop (h84-n190-106-134.v8.fangio.net. [190.106.134.84]) by smtp.gmail.com with ESMTPSA id n139sm7952718qke.89.2021.01.25.10.30.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 10:30:44 -0800 (PST) References: <87wnw3oqz1.fsf@posteo.net> <87ft2qlg66.fsf@gmail.com> <87eeialcay.fsf@gmail.com> <87ft2q87mm.fsf@posteo.net> <87sg6qx8ea.fsf@gmail.com> <877do0q58k.fsf@posteo.net> User-agent: mu4e 1.4.15; emacs 27.1 From: Gustavo Barros To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Subject: Re: [Tip] Export a bibliography to HTML with bibLaTeX and make4ht In-reply-to: <877do0q58k.fsf@posteo.net> Message-ID: <877do0yilr.fsf@gmail.com> Date: Mon, 25 Jan 2021 15:30:41 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=gusbrs.2016@gmail.com; helo=mail-qk1-x72d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="D//TO0Kw"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 322229404DF X-Spam-Score: -1.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1UeKXf9b3mn8 Hi Juan, On Mon, 25 Jan 2021 at 14:46, Juan Manuel Mac=C3=ADas=20 wrote: > > By the way... I have written some code to export the citations using > make4ht. It's just a proof of concept, and not too elegant I'm afraid. > But I wanted to explore a bit more the use of make4ht in this context. > Nice! I also think make4ht has potential for this=20 purpose. tex4ht/make4ht is usually a somewhat delicate tool for a=20 general LaTeX document (powerful, but complex), but the typical output=20 of citation and bibliography is text with emphasis/bold etc, and perhaps=20 a list, if we interpret the bibliography environment strictly. This is=20 much simpler (again, typically) than an arbitrary document, to the point=20 I believe it could be streamlined reliably for this subset of the=20 document. > The idea is to write the citations in Org as mere bibLaTeX commands,=20 > but > between !!- ... -!! (a provisional regexp, for convenience, and to see > if it works). It can be tested in this Org file, which includes the=20 > code > (you have to give a value to the variables `bib' and `preamble'): > > https://gitlab.com/-/snippets/2066135 > I understand using the regexp to separate the problems, provisionally,=20 as you said. If it evolves, you might wish to go with the current state=20 of things in the wip-cite branch or, I reiterate the suggestion, look at=20 latex-preview, which allows you to specify the commands of interest, if=20 I recall correctly. I hope you find your way trough the approach. If you do, please let me=20 know. Or, if you wish to discuss a particular issue, feel free to write=20 me directly. Best regards, Gustavo.