From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29957 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: Force use of attributes in jats writer Date: Thu, 13 Jan 2022 05:37:04 +0000 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15274"; mail-complaints-to="usenet@ciao.gmane.io" To: , Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBA7V72HAMGQEKL6NBZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 13 06:37:09 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f61.google.com ([209.85.167.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n7snN-0003qG-IE for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 13 Jan 2022 06:37:09 +0100 Original-Received: by mail-lf1-f61.google.com with SMTP id u4-20020a056512128400b0042abc4f4f9asf3162342lfs.15 for ; Wed, 12 Jan 2022 21:37:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642052229; cv=pass; d=google.com; s=arc-20160816; b=Brn87DVBWDHsRcg99Jdz9m6TauYK8/DhBHSd4kO/CgRjYFmcFmAPI2IfypT1CTSc6X pdNnxDtCENI8rk8Hn/k/wMZWsC5Z79dME9ZATDf1fwVomzo1D3w0Eo5p4Emdg4szaqg+ hFA6V/dia4V/xo/YF2+9O5ziCgCCf3Tc6GKowkG/F77/wamTPO1bZX0gVE+RtMHFFCLW kEzZN5PUpnzbdBODnXdN3tzW8noTEotH30GOwOm2AsOdOXnINxl490YNu7EYiMFVvdzb WCg05Cc5xzTVBfXiZdQpe5DWgRUoLeu7eZQ6DeNRn9x4+u3Ewl1JZqAmadzmxJU+nEms O8fA== 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 :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:sender:dkim-signature; bh=EhLREt96sqFT5/7WWEtBVFE7MbvwiO3/XTxVC2EO9+Y=; b=KFvdnrQiaDelevy4IcWxVIDUFwbeTkxS9jyECACy8JlnzSjzKQDzvNvapeHq0b1SQ4 HqyyqS6yl6z2pausr3aipa8aD37l0VNaQxt1RwDkYOAFkGTTowcWRSQ5ceZvEGag1u7J Lzu2D4QZya2y4Uk+svWde1Pu8Oj47IBK1IAZjPvxJqevQaGQB4lKcKUD0hSrqPF3QIr1 zeJB+MdlULgsVjH2orBu8cSIR1xlNv5mB6tviH+Np6/URKRx3bEoNGnZi4z+OfnErmsn 3VNJ54bwsWvDcTy0zf0RX842Ig3d7caO4u+M6MRAuHxmlzyytiq2sknZUdOK39A8gbfg U1UA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 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=20210112; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=EhLREt96sqFT5/7WWEtBVFE7MbvwiO3/XTxVC2EO9+Y=; b=bh1q7Fmyn4K7Kzi75Ox7g7XAWUJspLmkjO0zmRMx6/uB3ymhH7LVPr6eYStsz1+ryB NPpsx6kyXFVeAftQthFZbk5aTBdDOeNJnVPb+C5cXoPMJ7KD4QR7tTuK8q3ZKFn17gqA K//KhGIWllr60bZSjILz7BnClHP31aoz9ro0b5hZcbjYHBQMaK4t9ElfwDC34Xdy/ZUm 6JK/OaIV6yecTIoUt8JYKDhdGyiYKI6fVXRGRfx7MDwcPe36WVk/c4bypDL/ZNcec9Db goHUBe7opaOEJ5txQQnQe8jf4SRE3Emy6Sihw0lZHkoVDuZsPF X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding:mime-version :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=EhLREt96sqFT5/7WWEtBVFE7MbvwiO3/XTxVC2EO9+Y=; b=iojcBE0mlSqzSNinnkcZK1rDF9XB/Ed/tQmaFdWOCL3MU/yt7uHQGki6wbPVSQYwNg xOHQ5mzvweN0+zBCCOf7iIoUNqC6Lq39xotmHmWs2VFSOvju4B9O71ySMgpXrLprrSSP arHgp5XXlfUM+RJGJ7P8bNAbqyf8bFALKWQN00KbclgEYKSdgrP0MAQIamJsLZqKYxCO CohQENa9FxheJXpN0Won6yUbGRwQ1O4IOGl+lfyvdYj892yo8s1nCp2x5uO6KXPoKaAw WLHrD Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530QMt67azzRF7/HQvnXawM4tBRK6JUam7+oOZA3822GE/d+EIhw aAd3gulUhuellOdUhRdEJlo= X-Google-Smtp-Source: ABdhPJyakEpL0YpHZ/ofuceotXYW9VOWrpbtsCj0oTWSpV8A7eK0nBcoOrWzSdOr3g8I0f+mxp4EBw== X-Received: by 2002:a05:6512:3056:: with SMTP id b22mr2276772lfb.611.1642052228929; Wed, 12 Jan 2022 21:37:08 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3b90:: with SMTP id g16ls1353553lfv.0.gmail; Wed, 12 Jan 2022 21:37:06 -0800 (PST) X-Received: by 2002:a05:6512:2313:: with SMTP id o19mr2280367lfu.243.1642052226489; Wed, 12 Jan 2022 21:37:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642052226; cv=none; d=google.com; s=arc-20160816; b=FvZQt/fIfLDLpiwKBiZHo64dsob2/1oq3TXDSowhEOo1LOTQZwvZdRjYPdW/C/+Avy ayLlPyYnSzBVq7M1DCi/zmZbgl/lA/m9KdSKb4JkHZaS+AnePx+dzU3qw/++t4SZEHgL Cv5nVoRWiMbaIL/uFOSyshUnxQF5oLERnkELH3mvdTPyFxGo1ARFsRbp0JADvPGBgiVi 2VkIZowuzfyR5kVfrGVnnrKVg6c8KYsuAIbqaxaV5D1CwDxAlViWKaDdNnfz3eNBpt1f PCs7pdf0TzBTnWxfeKqgFbRKbJ1aFs8I1dUNuur32J/QeAEYWZs9YRtNfopcu/sPlT4x OtYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from; bh=3ev6HjQjpw+M4xDh1ijM2ippzr11Skhmg1NfqTc0pxo=; b=HzOH30hhg9BNUPKRKffSsadBROdZCSdI3HWirzc4XBK2n2oQVtuA99vGCaQjF8u1vX W7eHZdyfzYYW/+Cnj4xpZXn00heCv7xX/VcggGYnWke+skZ8jikNPLX/EFzGWw2IjBJ6 aVdXQJj9gQrPzAoV1H18niJsVK+yFmMaaXiEXJVO9fRANigtohhxqjpJs1S90XUMnhZu 3KUdzswBZ7zbp7p8vXOj/r7I9GYARp6eizFr3gbV0hSWCu0lJGYqtUzZ6PgjzQwvZfOZ h/A5cD5fn9La7tRX51Z7fsyMkDgk55e0tmO7o0dOBd1adbA8buhXmQ71KtUdpdt30mIH SXoA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 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 mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch. [130.92.0.83]) by gmr-mx.google.com with ESMTPS id m22si57092lfu.3.2022.01.12.21.37.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 21:37:06 -0800 (PST) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) client-ip=130.92.0.83; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-04.campus.unibe.ch [130.92.13.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTPS id EA9635000F2; Thu, 13 Jan 2022 06:37:04 +0100 (CET) Thread-Topic: Force use of attributes in jats writer Thread-Index: AdfybFHm4nBA7yioQ3Ki+A/rf6TnRAVoszMAAAuvkhA= In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [130.92.13.161] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 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:29957 Archived-At: Well, the invalid file will only be temporary.=20 Let's say I a div with content-type=3D"parallel" for parallel texts. In som= e cases the one column or both will have righttoleft text, so I need for mu= ltiple attributes: content-type=3D"parallel-left-rtl" content-type=3D"parallel-right-rtl" content-type=3D"parallel-both-rtl" But this will cause redundant rules in the xslt for post-processing: I could do this: content-type=3D"parallel right-rtl" content-type=3D"parallel left-rtl" content-type=3D"parallel both-rtl" Also not ideal (because processing such lists is ugly in XSLT). I thought a= bout this: content-type=3D"parallel" right-dir=3D"rtl" content-type=3D"parallel" left-dir=3D"rtl" content-type=3D"parallel" left-dir=3D"rtl" right-dir=3D"rtl" I would then pick this up via xslt and construct valid colgroups based on t= he values of right-dir and left-dir. But maybe there's an easier way? Denis > -----Urspr=C3=BCngliche Nachricht----- > Von: John MacFarlane > Gesendet: Donnerstag, 13. Januar 2022 01:50 > An: Maier, Denis Christian (UB) ; pandoc- > discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Betreff: Re: Force use of attributes in jats writer >=20 >=20 > I don't understand. You want to create an invalid JATS document, with an > attribute that is not supported for that element? >=20 > writes: >=20 > > Hi > > > > Is there a way to < convince > pandoc to use an attribute on a div that= is not > in the list for boxed-text in the list of allowed attributes in the jats = writer? > > Background: I want to use some non-standard attributes and pick them up > later during post-processing. (The intermediary jats file will not be val= id, the > final result will be.) I can add that stuff to one of the allowed attribu= tes, but > that will make post-processing with xslt more complex. > > > > Best, > > Denis > > > > -- > > 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/b4b8786382dd497bb7bb231edcc5f93a%40unibe.ch. --=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/b68835526c9e4d45afb6d3d122b7da91%40unibe.ch.