From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25122 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dominique Newsgroups: gmane.text.pandoc Subject: Example yaml header with options depending on the output format Date: Tue, 5 May 2020 18:21:19 -0700 (PDT) Message-ID: <4a0597de-a28f-4088-8de9-d8b623e682cf@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_860_1782650450.1588728079961" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="80012"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC4MFAF3WQCRBEFCZD2QKGQE75L5JZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 06 03:21:24 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f187.google.com ([209.85.167.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jW8kW-000KiT-4g for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 06 May 2020 03:21:24 +0200 Original-Received: by mail-oi1-f187.google.com with SMTP id u204sf467348oia.4 for ; Tue, 05 May 2020 18:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=r7kEC1hazB3PnIZUAtd4vSCb+Kz0qVCQ4e4KgVhrH2E=; b=Fd5IhYVYGNoRTlF4cYnxsE2UPEO/SvYQcBMXui4u4YfYvMHNdPX38fPa/Ic3y4E51a BkSDfIP+fY2wIYSlEf3sqpbLNnEfXaKLwdWu7hXUFUVpnYQHUNjRTCyjVz1id2zbvx0H jFNQHObtmY144o1gaUnNIHQHVT/32lROu+7o3Qa51x//YmSP1nENlo9XNu1u/7sjvVHp Ikyg5piwRFXdc6PWvgZr08H1Cqev9ju02b0NxgkE4S0dTQROEygYYWGdAaj9eFcuudwE F2BV39jqwQLfNJGGiz0vWOKibCihvXDPAVmTfnZB7rzfAV8kJQ400SdKcgWWcgJLR9sA Hgpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=r7kEC1hazB3PnIZUAtd4vSCb+Kz0qVCQ4e4KgVhrH2E=; b=EKmZvvr287gK+x+mSfqRSMNK/VAhSr8mhueC4nqEI9kEXPdXEJhdQanCgwcBmNUggS rfGHyuOlXiTC/qHSzarSi9eWnC0zrgvDWh4ekcMfFFK+IlZEgfrEfHQYk5tPkko6NUAz UkYFA1DagmevaHIXkuBtzZCVKQU5ZyagmzQJhQdQRbtH8hDFVi6Fc5hhb8kxzhugPjkV wCeatmI2dC2Je3G8wEBHLf9ujoXWCjOcF45S3+gLF6VxN+zxAdheHwj/1zQYK270PBKs ca4CUJIN9E232lmpJeSpUopXVK5pC3wNoOR8nOtheYxV1Oc2pr001A2hXvTY/DF3oP7Z dApg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=r7kEC1hazB3PnIZUAtd4vSCb+Kz0qVCQ4e4KgVhrH2E=; b=JWgbfqp87AqT8eG9Egw0BSg7XI9CZ0/+yNjCsiBlZu75D7FWU9IHN4Baqne/gacc1R s2PK7LXHLIgzV22xeIPCovQwM7OrKl9OggF6cIrDdR7T+lE5hQ+vU7mwID6nVTodALCG xG+C9xNbWLiUwmuQLsXgi2yaiOGfNdC+Z0s5MFaRqiGMKLqUPjsQElf76e7UitZtXktz 9UOC6XaSeGZxwPetcnDHNgiEUxkoOYmbSFuuCgh8hos2gZjoXJE2hr3T1up/k/rWtjlF uAr1Rx5PogY0yGiuM2I7ZhU0rF9yaF9q92Ma9BdXS4EaDuEuGeoijht0onwLyytX5M8S 06Jw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AGi0PuZY2AOXdYT5/pso1rJuv907sFNaEDoJ+eGeBlXI5zocbN7Ckamq lVk/ypnl+/Z1ymPERb7Szaw= X-Google-Smtp-Source: APiQypI7NIdQwNTVoGFFSOpXtvAyMp2P80dO3IykEcKAsva4wJK5R7qpkhaf+vVvGZ7tbK1tbe7R8Q== X-Received: by 2002:a9d:7a9a:: with SMTP id l26mr4591244otn.293.1588728083153; Tue, 05 May 2020 18:21:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:30bc:: with SMTP id g28ls18656ots.4.gmail; Tue, 05 May 2020 18:21:20 -0700 (PDT) X-Received: by 2002:a9d:2dc1:: with SMTP id g59mr4889568otb.288.1588728080475; Tue, 05 May 2020 18:21:20 -0700 (PDT) X-Original-Sender: dominique.orban-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:25122 Archived-At: ------=_Part_860_1782650450.1588728079961 Content-Type: multipart/alternative; boundary="----=_Part_861_2089560352.1588728079961" ------=_Part_861_2089560352.1588728079961 Content-Type: text/plain; charset="UTF-8" I wrote a presentation in Markdown and converted it to HTML with pandoc using the revealjs format. I set several options in the yaml header, including the theme. Now I would like to export the same presentation to PDF using the beamer output format. However, pandoc complains that the theme I selected for Reveal.js isn't recognized for Beamer. Conversely, I would like to set options for Beamer (e.g., aspectratio) that aren't recognized for Reveal.js. Could someone show an example of a yaml header block that specifies options for two or more output formats? 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/4a0597de-a28f-4088-8de9-d8b623e682cf%40googlegroups.com. ------=_Part_861_2089560352.1588728079961 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I wrote a presentation in Markdown and converted it to HTM= L with pandoc using the revealjs format. I set several options in the yaml = header, including the theme.

Now I would like to export = the same presentation to PDF using the beamer output format. However, pando= c complains that the theme I selected for Reveal.js isn't recognized fo= r Beamer. Conversely, I would like to set options for Beamer (e.g., aspectr= atio) that aren't recognized for Reveal.js.

Co= uld someone show an example of a yaml header block that specifies options f= or two or more output formats?

Thanks.
<= br>

--
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/4a0597de-a28f-4088-8de9-d8b623e682cf%40googlegroups.co= m.
------=_Part_861_2089560352.1588728079961-- ------=_Part_860_1782650450.1588728079961--