From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32115 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Frank Wisniewski Newsgroups: gmane.text.pandoc Subject: Convert Plain Element to Latex Code in LUA Filter Date: Tue, 31 Jan 2023 04:51:01 -0800 (PST) Message-ID: <76501da2-0d17-4aaa-9dfd-c236abd93de8n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1262_1611513686.1675169461877" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26100"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC7JTR4RTQIRBN454SPAMGQEQ7WJA5Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 31 13:51:07 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f62.google.com ([209.85.160.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pMq6M-0006dz-6o for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 31 Jan 2023 13:51:06 +0100 Original-Received: by mail-oa1-f62.google.com with SMTP id 586e51a60fabf-1631f1eb91asf5508506fac.18 for ; Tue, 31 Jan 2023 04:51:06 -0800 (PST) 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-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=eSVhhffl7+WLFOvVvLNK/zb3xTkrTLZ584aP+YUotFc=; b=Hi19c5ipNFXfNffji2p4DyRlmT2029EMQcC/A79OuRluSUHV7LtjWQUaEdoYkqpHmj GQmq27KfSUNaibhWpYtyXqSPv+gRxsngAn5eLTkfbVdlD/n6ap1S6bMK4M9oMJBpJyJk Q4om1DM6bz1GSnB8B1McdQbwwu8UIqBGi8xoL+Dqgg+SA4HyhnrWXAnOCV8XF9f99TGW 4ovXrFUF3QvZCHvVfUQXdoNbxptFJc2RUZxpP52nBU1ke6v9HkkAogSezDQHn1RncgCD zZM6nQjoeMRmDjxsjU0U+0d/XmWMzcwqFZTXhYrYRBZnoLAtigGFWjUCfaEaqHJ+IZUK cL6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=eSVhhffl7+WLFOvVvLNK/zb3xTkrTLZ584aP+YUotFc=; b=i2Awaqh8VFOooGlyYX1FHiQtKW4dT18mfBHM9+Bdr0IXFSoVFuLzQPenD/Y5q0Zjhl Qx0PL4L5eA+u9/RT2QyN8iiHLMdFGD1mqEBPT/ynjlsgz09Lw3lPpkDPonDPESzh0JmH O9iX97QVcFOGX9cZU4No2FcJdpHC2psqHYbQQnW9mcCvWYcVqoPMZ1+KoS0lAsRteMaq 30nfhcWWg0Lg9iCP1scb/beIPR8ZNiEl0OwmKhWocvdy3J10XtBjbM1My3iUsPNgo3Ik 0AG+9TzpuHgW3M5Ie/RIwdSk/nbcwPl8JymSkppWjKQ+orY3KeiNwa95pLthqErtNteX zJfg== 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-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=eSVhhffl7+WLFOvVvLNK/zb3xTkrTLZ584aP+YUotFc=; b=1RoBXRreqNKjSpORvlwvw8/C+uc8dJFeia8pT0AntfGPLbmIWulMnRlrW0STxxyAyW ow6Hsi24TmzXB/ZEduaM6JdxwDpCeWZR8v0SDyZpYTMMhs8d6YIxr0LvKJgTJLllBDQO RjvDk6E2JM+hmEideqIqTeHDparuZzaSw+PiWdFXE0OWIhWZYnRUnUO2F0w4/PzwaCnK /UohN2+IvU05OkN9vTYIf0nHHFKyEmpwR/E0sd3DcekHGaym9u+w1r5hQ9b6KsiPJ0RC SIY7ZVtRuyEMZ6AwsXoYSWqcFv4rP1M4chmTGjBp0ZglAz49uDdCx+61KG+RjVsSyiv+ SyQg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2kr7+1fNbAh617iPAcUvXYeg9nI3ToC6iVu97KQJiF6bfYTrh00o DT0zoYELQrZlSS3mHU6SQFQ= X-Google-Smtp-Source: AMrXdXuTm1qEXGUcGbmF7INjKhu+HIQDW+ZeyBkgsI+VKsfu7pXvqeuw9uU1G4ErFf6GTiLpYkYPZQ== X-Received: by 2002:aca:5942:0:b0:364:a205:7204 with SMTP id n63-20020aca5942000000b00364a2057204mr3474305oib.176.1675169464908; Tue, 31 Jan 2023 04:51:04 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:3c12:b0:14d:3678:867f with SMTP id gk18-20020a0568703c1200b0014d3678867fls6523342oab.10.-pod-prod-gmail; Tue, 31 Jan 2023 04:51:02 -0800 (PST) X-Received: by 2002:a05:6871:78e:b0:163:8162:ea16 with SMTP id o14-20020a056871078e00b001638162ea16mr1160385oap.43.1675169462517; Tue, 31 Jan 2023 04:51:02 -0800 (PST) X-Original-Sender: infokaminbausatz-Re5JQEeQqe8AvxtiuMwx3w@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:32115 Archived-At: ------=_Part_1262_1611513686.1675169461877 Content-Type: multipart/alternative; boundary="----=_Part_1263_1341055905.1675169461877" ------=_Part_1263_1341055905.1675169461877 Content-Type: text/plain; charset="UTF-8" I have the following Plain Element fron caption Plain [Strong [Emph [Str "A"]],Str "dre",Emph [Str "ssen"],Space,Str "Sa",Strong [Str "mm"],Str "lung"] i would convert this to Latex Code: '{\textbf{\emph{A}}dre\emph{ssen}' Is there a function for this? -- 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/76501da2-0d17-4aaa-9dfd-c236abd93de8n%40googlegroups.com. ------=_Part_1263_1341055905.1675169461877 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have the following Plain Element fron caption
Plain [Strong [Emph [S= tr "A"]],Str "dre",Emph [Str "ssen"],Space,Str "Sa",Strong [Str "mm"],Str "= lung"]
i would convert this to Latex Code:
'{\textbf{\emph{A= }}dre\emph{ssen}'

Is there a function for this?

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/76501da2-0d17-4aaa-9dfd-c236abd93de8n%40googlegroups.= com.
------=_Part_1263_1341055905.1675169461877-- ------=_Part_1262_1611513686.1675169461877--