From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28588 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T. Kurt Bond" Newsgroups: gmane.text.pandoc Subject: Can anyone provide a simple example of how to use custom styles with ODT output? Date: Mon, 14 Jun 2021 15:15:50 -0400 Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000018bd2305c4beb0c9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29214"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJYFKFHUYHRB4OVT2DAMGQEYK5F2MQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jun 14 21:16:04 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f185.google.com ([209.85.219.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lss44-0007PW-21 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 14 Jun 2021 21:16:04 +0200 Original-Received: by mail-yb1-f185.google.com with SMTP id q63-20020a25d9420000b0290532e824f77csf16232898ybg.10 for ; Mon, 14 Jun 2021 12:16:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623698163; cv=pass; d=google.com; s=arc-20160816; b=EdhPetwTHXXE5MU8GzZudgCwcRmdJB8zPJ2pitMZRweNmuO+YzMtuIflKaZ/WDFPyX n/0SGHi8Sp5rc/MIF/ny6HoQXzBpcyKvkC/samXZNeL0Wt6rf/4V2eRJgux4lEksLoQb 633PBJ6f178nVamMDiiXnxcdpsWrxjhVfDG4CQ9sBGcjlASkVHx89WXrkE3KXzRNWeqM a52O6yge9hL+kQ5OoLMdNmGW5G/AUJdgGnojKtjvW04WfxS4VBXGdP3Fy0HZgeZ2JFb0 JOsurvpsPa06A6QjsJ4JYVMonnqZE7TNxdGsMS8h5CUXsHf7L5s99ayZbHI6F9sUB+3d THvQ== 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:to:subject:message-id:date :from:mime-version:sender:dkim-signature:dkim-signature; bh=ugoRJwFw22d5Nqg+DpxieBH09wn7ALI1/YagvQbZRC0=; b=ex/5VmLCshvRCLncUiWmXnChQCnebjAsq+EkcdVOT+pfF5B1bnDr1jztrwutcUoHu8 q/Tfd+VesijbUrxDS4iO26PsQpVgehkHuRaziwWFKxF+TU/iIgnCjiJaYvTJ/1cAHaMY hVy6j++JA9f4iAWIZKJiaghWQ1wROuwJ0QcQNR56ZaitKSWvQq6ofyV5R+Bs8TLsvYBV lOJ8S9D39vzLbqW5EsQUIbQLArJCa9rXw3kzkEwWRlJn9sxaxA+S0f8LwCjL+EXf9pjt XvXg4ll7dYGCrN1OmIk9HI86rfhFANboVcSOXGOvSpl5j5uTaE7jcyBJgTTgfmgshjbw iuKg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i+3Jw1vP; spf=pass (google.com: domain of tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:date:message-id:subject:to :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=ugoRJwFw22d5Nqg+DpxieBH09wn7ALI1/YagvQbZRC0=; b=QlDHrAZQvndslSZna6YBfAW9qF80Gv3jH+MUEbF+YECSrG6T/4rPh/QC8+E4XWWwXC uDzdGxbj+2C/5rBLZV1kVLWHXMbxy/XVpSkh4gE8XcBTdOPYcYmMCHGOqfrpcjXH3/eg ixk8LkgbWgO8J75N7Z0k6nmA4O5qE1du0/vG41hyjyPfPgoL/Z8QQLDcd+UwpL+ASeNF qI4j5okXTliLocNPJehB3FuKNUv4IwboTUSCmlWrCt3gAVOjxSs/MPYciTSFtnj0tQYO LqIJOvDC6iD9uL245iCOVYl6B7EVqI+1haB29No0k1LQ4k/LfKYf9xr614PRHTG7Fyx9 HIkg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to: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=ugoRJwFw22d5Nqg+DpxieBH09wn7ALI1/YagvQbZRC0=; b=kPt3OizlkbDiOkNcMtcGUzpzTVUcyU+wbw8Mwqxvys3cQxu0wE8ZdRvj1hsRn3TiBG lCj/jHjBRoIBZuDB644eDvfYPV1P969pZZVLU1Glbt0FjUQqFo8KKA+/XGm5Jyjg345q SOt+B6KuBrwxxXj21RdOiwMCoh8VUkTS2yjpymoVC+7oGigacEAfP/h+iuDEka7g2ikZ j+ZZhbVznFjMN8c3gy5AKTWTfZkN+4NDmwUb82hXgiIvr3IckVFA/B4vDKimPzP9tCWL mmjFY/dvH9EyMsjWE6D9IUuZQAYvJPq7wDSCQnI46SO6AQbEOX29NNJgGQ0bQOXXROeo Z/CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:date:message-id:subject :to: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=ugoRJwFw22d5Nqg+DpxieBH09wn7ALI1/YagvQbZRC0=; b=c159frJw/21LcqfKx6xlRA8uc8oNMxMvF0WJLAGn/zHqbF+GG1mOknZ26A0GTgcpjq JeJ8uDPWyKALUjPRG1N+i6y1H1AbBrMOOO7NeHxGi46uCOvD+Tye1UsZq2OL0Q8Qu0f1 Y07Fd0ARHOsbRoBkXkA2KLpP9wCUwJysoeNv/WeyJsCp0NjoKZ6+l4OVaiIPT3aq6XoK kK4NNemxnMg4DlaCcBqGKlyw+UttuBcsTFUF5/JZ1zKLsGTWpBpBmwuJGtgHTVk7/oU/ avYgKxnQJlYVBbGpER5ur0QbdwBnaQ4k4Nnx0JB4w1VlMsjqHfpVD7AZCONDlo2ejMFe EpLA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530YksTmbkn1f6PWVjQwCWB430IVwgmRjrR7rGGD1b/0wLS5U8zy 8+sanfjOlW+5RJAshw1Nnvw= X-Google-Smtp-Source: ABdhPJzEEjhwKIimp9QS6BSueeqow3PGsjglPG3Zt/PB1s3RoFZlNZD/GHdrjo7aDil4JXCVZfiNBg== X-Received: by 2002:a25:d412:: with SMTP id m18mr24619302ybf.110.1623698163206; Mon, 14 Jun 2021 12:16:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:2787:: with SMTP id n129ls10803890ybn.6.gmail; Mon, 14 Jun 2021 12:16:01 -0700 (PDT) X-Received: by 2002:a25:880f:: with SMTP id c15mr27859010ybl.373.1623698161380; Mon, 14 Jun 2021 12:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623698161; cv=none; d=google.com; s=arc-20160816; b=NP93IQBHgso6Ky5ynhJvKRmHjDr64phPEMNsqHpEimpA1jik7kQRTLps4Pgu3xM3hU ij7MZec46mOBwtwsurMvJIQkr6qgtcwLOvtQv1sjtUpLjNZJSR/f+UyY12WQep8neTmc 8FXk7Wz9cjNxKhyZWVm2ig5/mG0QC7OIZz5GR2rJrCgaYu0piPD24A4kpfTyTkV8RmLc dkjnzHkMM7eZ1X/UiMO3XWx6xXRYPckzD4Cu5Cypju4fDkmWScXR6xjm8EOH3dMKjKJM u0+FqWQFI+9s4lN4rzjW4dIDrcHIVawOcnaNSEp7WKVLrQwCnIr2v7hFtr+w3qMx9lIe JWgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=Pta2wWIu2zSmRjOdJCDyabYIVrF9eGe9jqDzKWqIrHY=; b=Z1s4GN+BXi+BWy7E2UUrZx8qI44TN8ovK0fdAWAzptdh8m+CrcYZclojZ+kljudmhG lh31/Y1TQWDJneuDzOg/9d2CJgm52rGP3cZ8quqAMpAHuXOyZ6DL3CU3IvMj7YoJiA6R wEgeGRU6kfKKTb34KdvLpWKJU6vgJNUl9hyuHDQmXZ+jmUpxzUyVp6YqczhYw2KH37MR sPjgo6fMh3DJONIELggYdS/GN0j11/MsIdsS9dKf1Jp3REPVXojoxGIJ0qACHDB+cdn4 jRa+6+vpMCVyFdqLXuqfC7xCn04n+Qwt2GjXgHg+SnVloCFHiBpuXy6p1Qf8WH6XRPJd a1Ig== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i+3Jw1vP; spf=pass (google.com: domain of tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com. [2607:f8b0:4864:20::d35]) by gmr-mx.google.com with ESMTPS id q62si40582ybc.4.2021.06.14.12.16.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Jun 2021 12:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::d35 as permitted sender) client-ip=2607:f8b0:4864:20::d35; Original-Received: by mail-io1-xd35.google.com with SMTP id h5so4100073iok.5 for ; Mon, 14 Jun 2021 12:16:01 -0700 (PDT) X-Received: by 2002:a5e:9306:: with SMTP id k6mr16091724iom.157.1623698160793; Mon, 14 Jun 2021 12:16:00 -0700 (PDT) X-Original-Sender: tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i+3Jw1vP; spf=pass (google.com: domain of tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:28588 Archived-At: --00000000000018bd2305c4beb0c9 Content-Type: text/plain; charset="UTF-8" This comment says custom styles have been implemented for ODT, but I can't find any examples of how to do it. I know that I have to use --reference-doc=custom=custom-reference.odt and I know how to produce custom-reference.odt using pandoc -o custom-reference.odt --print-default-data-file reference.odt and I know how to create the custom styles in custom-reference.odt, but I can't figure out how to put the pieces together. I want to have, for instance, a custom style name that makes things marked up with it show up in italics in the ODT output. Should this markdown work? This sentence includes a name: [J. Random User]{custom-style="name"}. It doesn't seem to work. -- T. Kurt Bond, tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, https://tkurtbond.github.io -- 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/CAN1EhV8K3qkd4XpHY7T5%3DSfXr4qgA%2BVp4AQZ2KsnvEQwTctf7A%40mail.gmail.com. --00000000000018bd2305c4beb0c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This comment says custom styles have been implemente= d for ODT, but I can't find any examples of how to do it.

I know that I have to use --reference-doc=3Dcusto= m=3Dcustom-reference.odt and I know how to produce custom-reference.odt using
pandoc -o custo= m-reference.odt --print-default-data-file reference.odt
=
and I know how to create the custom styles in custom-reference.odt, but I can't figure out how to put the pie= ces together.

I want to have, for instance, a cust= om style=C2=A0name that makes things marked up with it show up in italics i= n the ODT output.=C2=A0 Should this markdown work?
This sentence includes a name: [J. Random User]{custom-style=3D"name= "}.
It doesn't seem to work.--

--
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://gro= ups.google.com/d/msgid/pandoc-discuss/CAN1EhV8K3qkd4XpHY7T5%3DSfXr4qgA%2BVp= 4AQZ2KsnvEQwTctf7A%40mail.gmail.com.
--00000000000018bd2305c4beb0c9--