From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id YO4RBNqKWWZqGgAAA41jLg (envelope-from ) for ; Fri, 31 May 2024 10:31:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gIS8OdmKWWbJfgAA62LTzQ (envelope-from ) for ; Fri, 31 May 2024 10:31:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.de header.s=s31663417 header.b=cdQbWgy1; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=gmx.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717144281; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=y2V/swzpjTNhvQYngc9733QvSUaEW3Ih5DmEYnDvHvY=; b=SCNK9TZCmrC1EdxR2Y3Fyn0RzS6gmEaT5sAqJTILzyYJdilvVid4WSAX47ofDVBWQgEPSf 1JaMror8CWyHq7CZQ2r4vVKIWOsADNiYQKvy/9AnmbQgLqcubbo4t+WfJWM7frCKJCT/wR LHY2Y5e9qezDpMV7NkRSwgdoo9nli6AwBDGt6rt++6qt+T3FfdJXI8SPLFK4Hl5qimHSMW GSzLTW50q3e6Dpf39wGh3sIWcYaxgZ1VDN8ZXvPNNSArctcNc/S+VBEsvKMFCqPWARtpqC +E3tkf8DnUnrivnKi8HTJlAUtKI9njsHFadF1sKZGRu/mhh9CqF1Dwf74gjCCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.de header.s=s31663417 header.b=cdQbWgy1; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=gmx.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717144281; a=rsa-sha256; cv=none; b=BvLn6OreoPilIEzja9vFz/zBMjxuQXlc91BHU1nRfxL9h1Z2+IH2u1aNXuDBPmLVaewxbp PHXRp08L0ONHvhVwkT9L1Rv549pGPO+WACfVMZYlpah+NM3aZStDQwylv5W9J23x17cIWK RzWlgvIWPAT6aU/owvmp1CTlUD06kLc4inlXFeq4a9a9OD5blemSWYsnxG2fKloMGlyRHj iE4Zd+RmGMiYIBBdVH3MGF4m6dYxa6ZfYdW+rEIPW+KwkD9xoTDOrsgg/3/KDcrKOQeVn4 HA4SbhGSoMMwdu5ailrI2eSVxe3Mp0cN8hOPcHb1VThveZ+XUg4AFRwtId1ifQ== 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 A5D32A1D9 for ; Fri, 31 May 2024 10:31:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCxec-0003gx-AZ; Fri, 31 May 2024 04:30:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCxea-0003gn-Jp for emacs-orgmode@gnu.org; Fri, 31 May 2024 04:30:24 -0400 Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCxeX-0006s0-Lk for emacs-orgmode@gnu.org; Fri, 31 May 2024 04:30:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1717144216; x=1717749016; i=redetho@gmx.de; bh=y2V/swzpjTNhvQYngc9733QvSUaEW3Ih5DmEYnDvHvY=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=cdQbWgy1kB/Gf8AGjq6rrsm9JPsccVFce5JfaZ+yWdqbzDR98yEsAfeJ+VERoqip R30NziPI7OpdW8wUr1jcYCpaDbf6odVK8GvtbJmz80+zsdlmrA6v7JU1afGprM3bW cFzni8WEdJ9+C80Xd01dgRQydjlgFDhCZf8TihFxwy/lqRfkY4PbWrbJQHdOPBh2Y OkEPnHcT1a6HcXqIBWnhBwXdIcKzNDWjblyjn9EnV+NtrgC3jkke5qpfUAHTUIOEh i6b/opmzQbiZImIbbrqmLkuhvxX28SqURWWTMryc5YS+LjJvv4OAjxYqahx6nuVB8 CefEQskO5b3TpnKBjg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [10.42.42.113] ([79.222.77.78]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MrQEn-1srqmd3JV1-00oU13 for ; Fri, 31 May 2024 10:30:16 +0200 Message-ID: <90a2e6cb-1263-4272-b966-057c709f5a5e@gmx.de> Date: Fri, 31 May 2024 10:30:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Org-mode for Docbook and DITA To: emacs-orgmode@gnu.org References: From: Thomas Redelberger Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:D0Lc83PhvzvATx/gpRmqQlzcRtUh1vvvCg8Gp6mE9GEqHlYaQNu 0VaBF2dfH96Tp5/uauZg2xtEpgVeBM8EcMjNRwVgEIrRzsNSTDWbV3wICmsWSJFRLiCN7e4 HsbAWGTsRI+Hmo7YBR3Vilf7LNLsiCPbM8GBNZdINhJ7xYh6vmrf5LgpeRnA6hwHE5IkWQE Kmfbl4Ure05M/P4ls6LLA== UI-OutboundReport: notjunk:1;M01:P0:SSS3wIxQAGs=;sdUx2ZtR+NoemnNSShp/fMzWn3d 5nkmgRBv+BB0rgRtEthTwfA6bXPrwrEiT5YqrQivKUfv8pxAXAyJIp8+q6bNBZceXn08gq1qB U6/cBewq4KK8Vl0aJb3nUWY9mNJykxru6fNHyI658AQw2iFy2B6Q6pPe3qoCrook3tZRuGl1Z heXKp92Aen6R+oRQ4MgUyTXYOVR0xZZ0sRwuZMWjCtIKo0eIJx04qbalzYdxGyLmCx2DFeRXk nIiTj73owzRZCrnfnpBQAFecyD/L43MfjdPkrQ0jEgrOprsdfMLM9Elu1YKfNJMB3Jr0iUl11 yNEn/dYlCUzouFu7GHdINf/M5hZ8M0l43Km+6ZszUmVt9qsF9sLUGEjxsWiUo7rtwlDP2OnaR f/FZE/Slwew1sJTHjhVF6gu+ZysX3SwBRhecRRAZDt5VG6F3kK9LWchj4KCpuBfFEj82CZVLz JEAfyOG2a65JS88Imu9fi4efqUQ2+x06rzdSDDUUbZFD4I8y6RLPDaxZfiWB6RMdSyl+9JKsy m0wUjutW+OWM2aPFsgOoAj3F2ycBUrddhGD7nWvcJgbzBiUv7AOkBx+ohP5Ywtl1X0ROyMyxe 6FTNyqm4axLc8U8WUR4a4Wvp4Bw9Adn9LI0w48FRHNCrPADLE+OhpDN3R+klHF9nwrMpqOqqJ Xe1HwLu4ep2oXQOjfIOjM5QtRrYlx0lc3vAJyKYO8u/eUM7xm6Um2pY811fHXXf5Q1ntCPmfr icbIswKRhYulcX43zsPVr6O2aKrD8kqvV5bSzpwXk+5+qBKDkrNVgxIEUu7q54+ZG8cBnLC3p jgoMPpdcZPAQdGAuyfb5jq33KDcZC2JEQpOc/XINffYvM= Received-SPF: pass client-ip=212.227.15.15; envelope-from=redetho@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.43 X-Migadu-Queue-Id: A5D32A1D9 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.43 X-TUID: m0TZSw3YaJhw Hi Mark, You might want to look at org-mode's built I exporters and/or using "pando= c". pandoc supports Docbook both on input and output and org-mode on input= and output. I use a Makefile when combining Emacs/org and pandoc. Alternatively you mi= ght want to use the Emacs package org-pandoc (ox-pandoc?), which helps wit= h integration. To go from org to Docbook and DITA - which are both XML formats - I would = probably use org's XHTML export and then do an XSLT transformation to the = target format. You might want to look at my web site https://web222.webclient5.de/doc/swdev/emacs/orgmode/html It shows 1) How to customize the org HTML exporter 2) How to post-process the XHTML using an XSLT transformation (simple ELIS= P code included) I do step 2) to further change the XHTML to my requirements. You would ins= tead generate Docbook or DITA XML. The main effort would be to develop the XSLT style sheets needed. Maybe so= mebody has already done that development work for HTML->Docbook and HTML->= DITA Regards "custom tags" (custom elements?): - You can embed "raw HTML code" in org. I have not checked, but this might cover any custom XML element - If the semantics of the custom tags are covered by built-in org constructs (like e.g. "properties", "tags") then you might be able to transform from org to XML like mentioned above I guess "round trip" functionality would be quite a challenge compared to = one way conversion. Best regards Thomas =2D- Thomas Redelberger redetho@gmx.de Am 31.05.2024 um 08:59 schrieb Mark Lewin: > Hi all, > > I'll shortly be starting a new role as a tech writer, where much of the = docs are written in Docbook and DITA. > > I'm hoping to do the bulk of my work in org-mode and export to the requi= red format. > > I've seen an exporter for Docbook, but I wonder if anyone has successful= ly used Emacs/org-mode to work with DITA content? Any recommendations? How= are custom tags handled? And how can I best work with Docbook/DITA files = that were created in another editor, like OxygenXML? > > Thanks in advance. > >