From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31919 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gabriel L Newsgroups: gmane.text.pandoc Subject: SmallCaps with Commonmark reader Date: Sat, 24 Dec 2022 05:02:06 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_15892_1319748803.1671886926336" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29121"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCQ7DQVVZEBBBUHQTOOQMGQE6DAZWWA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Dec 24 14:02:12 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f57.google.com ([209.85.160.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p94AG-0007Pg-LN for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 24 Dec 2022 14:02:12 +0100 Original-Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-14fc5513c8fsf471528fac.20 for ; Sat, 24 Dec 2022 05:02:12 -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=w4gWG3pGZ8ml1XqVEHiml06reJbqM77qom1ZqKHGyZg=; b=dmyfpd5M3h9Qk7GFJPl08PGHtK/gPdT9rqyNfvwMo5Shg1CkTXR5zzuksNgI0iCL7F ioiW1o73d7ARBDCOe2XS1FaLH5s2KbEUqhtIm5R/cIlYHZJj9P9O5X6bj6lh7VL+vSSp 78tPYyFf/1t3OSVrf6MGpqFUE/ZUpq6Rhrr2cAIEpEzuvlAM9mC5hOxKcngyqY6RDayN vb7WO7v5VTonn2DedYlGtwgZeF+1+3QZ0XW+j/U+MWl23sK0mb1rJKdmWX1JT3bztJ3/ OHZT/1C36JhEBYbxcz5Gdq+aBjL3fnamo71Rg9Rfd8i6c+IM7tmLT/oHZOnaP6CgCm1t 21dw== 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=w4gWG3pGZ8ml1XqVEHiml06reJbqM77qom1ZqKHGyZg=; b=DXitL5SUugXLe8+WCrAPsNmr8+0XGFk6kgQwpi4xDrE0IEBL9yqpnQbxr/XMNGRjpe iPnEySfbYB345gvAlHofgh7iZT7hy/HcI6wOo2kJ6/2oy3oJL+00sNh04GWoPKjon4Zp GpuLFOQiWY3dSqmKGdXH6D9UWA5SAfC5/NioG+yxZL+PmCBThPxO0TqfuJzKruB6JOwi nChv+YV+AI4gdS4a9blGoyO1ggifiCuEFfwKFyC235NoJdJiWuP/Z0gtv9+KDpDlwqAl lIyVNi+B2KrBdqedqU8dWW8h42MNZOpHnmTd8fzKROFaVUmMwbcNrl0Kf+7YNeMCfu4g a0+Q== 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=w4gWG3pGZ8ml1XqVEHiml06reJbqM77qom1ZqKHGyZg=; b=GNwM8gbcfgn4rhmlVon/+04+HVSOrd9NZ/WIo+rK2pCUyoKAgHfHr55KUKYXIZV568 2sn5Fl1Nvxz5abhU7yDd05Qop8rtMruL+njLin48HI072TycWG1iX7S0F05C6wgTJnh4 LsqXPrRQ8Ku/dPYhPieQ28toKxN/EQG+WA6qZgNzuG5/rIMjMyU8DEnkNWO273+NcZjO WWpZ+JQWF4mo51N0yStpCF53ZDLiN2RgM9RZdR2S/Y3NXH7n+0HlrJYGTQzkI1Ftg4Lj zSpsOji0frFkvSB8Rep38NfTwACiAWEXvKNGKRoLyUKUAR53VBq/Y1rD/v9yDzUqI6dW aCLA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2kp5KzDdzhaCO2q4YE9hVZXoHUJ0cHh+J9TOGH/TqJrv6DbNmsDr vIynd/mhZKkij3SpE/UKKyk= X-Google-Smtp-Source: AMrXdXuCkpYyYtiZy486zLI7BaOXI0+krvzsDYw0kkXmfsRv55hHk9PVjYT3CJbNTWy8NXQmU7XHsg== X-Received: by 2002:a05:6808:190e:b0:35a:1bdf:3db1 with SMTP id bf14-20020a056808190e00b0035a1bdf3db1mr517018oib.18.1671886931234; Sat, 24 Dec 2022 05:02:11 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:e896:b0:14f:b2c0:21d1 with SMTP id q22-20020a056870e89600b0014fb2c021d1ls737240oan.5.-pod-prod-gmail; Sat, 24 Dec 2022 05:02:07 -0800 (PST) X-Received: by 2002:a05:6870:c224:b0:14c:7066:4e3 with SMTP id z36-20020a056870c22400b0014c706604e3mr742660oae.104.1671886926989; Sat, 24 Dec 2022 05:02:06 -0800 (PST) X-Original-Sender: gabriel.lewertowski-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:31919 Archived-At: ------=_Part_15892_1319748803.1671886926336 Content-Type: multipart/alternative; boundary="----=_Part_15893_351140806.1671886926336" ------=_Part_15893_351140806.1671886926336 Content-Type: text/plain; charset="UTF-8" Hi, Is there a way with commonmark reader to parse smallcaps as real SmallCaps instead of Spans ? ``` >echo '[foo]{.smallcaps}' | pandoc -f commonmark_x -t native [ Para [ Span ( "" , [ "smallcaps" ] , [] ) [ Str "foo" ] ]] ``` I'd like to have the same behaviour as markdown reader: ``` > echo '[foo]{.smallcaps}' | pandoc -f markdown -t native [ Para [ SmallCaps [ Str "foo" ] ] ] ``` Thanks! -- 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/ca3dba29-5b52-4bc3-9d97-3ca09764277bn%40googlegroups.com. ------=_Part_15893_351140806.1671886926336 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Is there a way with commonmark reader to = parse smallcaps as real SmallCaps instead of Spans ?

 ```
>echo '[foo]{.smallcaps}' | pandoc -f commonm= ark_x -t native
[ Para [ Span ( "" , [ "smallcaps" ] , [] ) [ Str= "foo" ] ]]
```

I'd like to have the sam= e behaviour as markdown reader:

```
>= echo '[foo]{.smallcaps}' | pandoc -f markdown -t native
[ Para [ SmallC= aps [ Str "foo" ] ] ]
```

Thanks!

--
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/ca3dba29-5b52-4bc3-9d97-3ca09764277bn%40googlegroups.= com.
------=_Part_15893_351140806.1671886926336-- ------=_Part_15892_1319748803.1671886926336--