From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30846 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Frank Bergmann Newsgroups: gmane.text.pandoc Subject: Translating style sheets in reader on HTML input Date: Sat, 25 Jun 2022 11:34:42 +0200 Message-ID: References: <3f7b920b-c982-5be5-fa04-9025e008e518@tuxad.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7000"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDB4NK6F5EBBBOFN3OKQMGQEUNNEIRY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 25 11:34:53 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f63.google.com ([209.85.128.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o52Bo-0001ci-J7 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 25 Jun 2022 11:34:52 +0200 Original-Received: by mail-wm1-f63.google.com with SMTP id v184-20020a1cacc1000000b0039c7efa3e95sf1939940wme.3 for ; Sat, 25 Jun 2022 02:34:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656149692; cv=pass; d=google.com; s=arc-20160816; b=Meokqzn+WkrMeqjakYlcz4+IWLK+o6fiuS20gTQHR+Jz095p+suILMDcCwCr3/fxPR YE8SUzv8qgXkUIEcs8caKsxSrSZjwYpTjrw925Ian3PKfc/Q4xwnWZBihbGUhOf3rD8V 3Bkzbf73orImdx++vO8nNj5+BM6oy34sYtKExBA3J+eKArnfbkpwh03x2VszEaywGndQ ARczIYZzB0qClJLO8L+lZ15sdWWEuiYCWuFKtLRx9VSci/9butBoqxYNpRaoNgSSjz7R JS5vbVgPCCDn7vQ0cboSoboj8Cr1XnoITNSwtlL/k0DMTKbegAK1KlC9n4mOJ//CzIN5 1HAg== 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:content-transfer-encoding :in-reply-to:subject:from:references:to:content-language:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=laMCB7kSF9YuyjQf+H7jnFGOF5HwvI4wsFzT2lqdh6w=; b=uJf+eRg+ptwufIeexC1rCyh3+2mLGAxCfWncCZk29PmWYM0zkPw2JcwGzv1gs3OBxa eaDbuNywsFpoWf6v53tLdFLp4xy1CNLMPBZKA63r5vY9y+1Mwdo99aHqjhe6+0Kk/0S8 wq5WLVVmIJCwzgk5uHo8p8ZJ87Pqv6kWuyeChrVPAtQJEqP4QQwaqdmjYVrQXGSW+M6v 7rj6zapyNQnZhob4OFZYQ+UoxSyevNI2cNGFmQzB2EDEqcN/lnQsbyZXv9ym14YKOVVK Bx2w0jKr73GnCTafq7kCaTkDhuW1GNShpiRi2/8Y3IKul2cGVMBr+7rpjTdroLuvYy0n aXJg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of pandoc-eSlkCAlw8VwAvxtiuMwx3w@public.gmane.org designates 81.89.239.233 as permitted sender) smtp.mailfrom=pandoc-eSlkCAlw8VwAvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:content-language:to :references:from:subject:in-reply-to:content-transfer-encoding :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=laMCB7kSF9YuyjQf+H7jnFGOF5HwvI4wsFzT2lqdh6w=; b=bjbLabEhbtL/xtg1JDafZsM0bPtNlvN5pJCpsvB82iGTCgwyLAQNZnzC4G86PGFlaT R5RJ9pcnA3+H7lBZndgs42JYcc46ixw/lMi0OysGGQ2y9Y/guLDuAZ5Hi8Ltmxiwe+1i iP+eVmtU3dmnNu2qO/Bo2vJbVnRLOF5u85y2yYfL70D6Ayk3UO2mRv6XAkPoBi8OmPtI 7ial+IaIpB4fpUNtOGGZ9KyUOuMZZ3e78DjMEn1eVAVM52FeokWugoUixApyG2ZYu5+Q W8CIr3RRx72nB8zM1l47aaVSS3IgMb7KGcpwDaJOa7YUBEFY6goAjFkeHcz55TkCoNip 7reQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:references:from:subject:in-reply-to :content-transfer-encoding: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=laMCB7kSF9YuyjQf+H7jnFGOF5HwvI4wsFzT2lqdh6w=; b=VR2Yd26U8yS/3zS/OWxwDxBak+jT96UNqcsNToaj1W/k7dnD9ka3blagyJd1yG5kW3 AXomYSsao+8cfT3/P85rWk2VTeq/kyeYy1pmcyub5s13Zwb8zFYkOxNlQJUcbSfVCLLa Wa8CcskSLi2FKG5JA5N1Opw3IJGzRV0N76Bng/h2e1qkQI796IyLUfzM3Q2LipITxat2 6yGisYJgWBHKzfzftMmExZVPzZKFovBT/jxY43x0swqAkRykYMS4NGCNdjLWAJabiOPW 4bmsO7a962DoK0RIgiEAxuVGZuDhypp4+5XM Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora9ZievhAHt1YF5raP46bWX4hPP8SNv+7JAHS/5RJW+q3WyESyro pbc97Cdh9UXGNg2Et4ELZL0= X-Google-Smtp-Source: AGRyM1s4Kvf0Q4ZBYt/OEi9MLYO7AVpcczw/Wp9SNz2UOFAuzmLRdfRwjxHCPCVg/ud7C4EkIDF6mA== X-Received: by 2002:a05:600c:501f:b0:39d:a3d:e919 with SMTP id n31-20020a05600c501f00b0039d0a3de919mr3569380wmr.132.1656149692202; Sat, 25 Jun 2022 02:34:52 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:1d20:b0:39c:4b30:51b4 with SMTP id l32-20020a05600c1d2000b0039c4b3051b4ls619665wms.3.canary-gmail; Sat, 25 Jun 2022 02:34:47 -0700 (PDT) X-Received: by 2002:a7b:c8d8:0:b0:3a0:42ca:d03 with SMTP id f24-20020a7bc8d8000000b003a042ca0d03mr1498462wml.167.1656149687441; Sat, 25 Jun 2022 02:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656149687; cv=none; d=google.com; s=arc-20160816; b=RQttVPyQcPX7MIa+QxWIWT20SBWj4SzZbo6vi4ieHn5GcLCFv3vaDWq0yemr8dk0/P vHzD5T6F5iptooYXLrbpH1KMH97Hy+Etq0gXygtKsbRxP6wD5wn+6cFPo4mLA+nWtRyw BClGNxNoZJhWNWTqohGBjg6EirGOyZnBW8EQoEnhdMoJe7Fh0LloTH4io8ML9oAoX/Pj wa+IyQp+w47h/H7ys5x5ukvpvdYcb0kqELXCXt53+drMeFgZUhOGpAbNF4vEJvt1m8CH AhFTY+W16xZx09WKpgqNv0b1489veDvxpRLi8sqH2TBS9zZdcQ4alES0fI9GwBlxIdsi syqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:subject:from:references:to :content-language:user-agent:mime-version:date:message-id; bh=RVCchx3ch2F+gU0quiq4iWbx7+A4uSS6SBjGGuPd2S4=; b=G7mZFhFXVF9cdQclEVJ9wkTO5D7iANCF47TH7NVlmterHxLXfNKazdN3IzN2c2niys ndbE3EKzLFGP5tRNeGgW/DsdAUWYzP06tQW+57vE1I7vREpCKOr1CpwXkjnL3Tbs8hFI 6BaiGEEbx4xiu0Y2pYicwls6EOgw65/ChgUJ8DjKv5PAGGNRrjXPtlooPy/bQvw4H5mL FKOL5dF6X8O2O3aWOSeqmgs/pTasN8gj92URwHtxEMLtCHd3agbu/mORUN9Lx9w50qRt AEH8A0WieHYaV67rjkgbtXQdsRAo9qkqsTjCodqbb4IQisiHE71gjgVBQImrZQcBxQUR iHmQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of pandoc-eSlkCAlw8VwAvxtiuMwx3w@public.gmane.org designates 81.89.239.233 as permitted sender) smtp.mailfrom=pandoc-eSlkCAlw8VwAvxtiuMwx3w@public.gmane.org Original-Received: from mail.tuxad.com (treferpol.tuxad.net. [81.89.239.233]) by gmr-mx.google.com with ESMTPS id a1-20020adfe5c1000000b0021a0a0afe31si189168wrn.3.2022.06.25.02.34.45 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 25 Jun 2022 02:34:45 -0700 (PDT) Received-SPF: pass (google.com: domain of pandoc-eSlkCAlw8VwAvxtiuMwx3w@public.gmane.org designates 81.89.239.233 as permitted sender) client-ip=81.89.239.233; Original-Received: from [192.168.100.166] (p54801128.dip0.t-ipconnect.de [84.128.17.40]) (using TLSv1.3 with cipher AEAD-CHACHA20-POLY1305-SHA256 (256/256 bits)) (No client certificate requested) (Authenticated sender: frankb) by mail.tuxad.com (Postfix) with ESMTP id 80E6C56215 for ; Sat, 25 Jun 2022 11:34:44 +0200 (CEST) Content-Language: en-US In-Reply-To: X-Original-Sender: pandoc-eSlkCAlw8VwAvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of pandoc-eSlkCAlw8VwAvxtiuMwx3w@public.gmane.org designates 81.89.239.233 as permitted sender) smtp.mailfrom=pandoc-eSlkCAlw8VwAvxtiuMwx3w@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:30846 Archived-At: Hi, this time I have some questions. As far as I understood the lua scripting it is not working on actual=20 input but just on already translated native format. What I need is to do some "translations" on raw HTML input. (BTW - actual output here is asciidoc.) My issue is that the "HTML" input has a lot of styles like these:

(Note: kursiv=3Ditalic/emphasized, fett=3Dbold, unterstrichen=3Dunderline) Is there a way in pandoc to "translate" styles like e.g. the ones with=20 "fett" to e.g. a simple HTML tag "" before internally doing the=20 actual translation to native and then to output format? Can a lua script be used for this? Or do I need to write a translator of my own and run it BEFORE using pandoc= ? (Note: The "HTML" input is coming from Adobe RoboHelp.) kind regards, Frank --=20 Frank Bergmann, P=C3=B6dinghauser Str. 5, D-32051 Herford, Tel. +49-5221-92= 49753 SAP Hybris & Linux LPIC-3, E-Mail tx2014-VEyjnN4Vo9k@public.gmane.org, USt-IdNr DE237314606 http://tdyn.de/freel -- Redirect to profile at freelancermap http://www.gulp.de/freiberufler/2HNKY2YHW.html -- Profile at GULP --=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/c09f254c-5ccf-1ed4-97ab-4e6bccbbdcb6%40tuxad.com.