From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33069 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'Vivianne' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: HTML to PDF with print media Date: Fri, 25 Aug 2023 16:11:25 -0700 (PDT) Message-ID: <8fbe5ece-caa7-428c-a940-01c49ef8709dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_11614_1541923665.1693005085523" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38746"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC6LVFNYSEDRBH7KUSTQMGQEIZFBUUQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Aug 26 01:11:30 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f64.google.com ([209.85.210.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qZfxi-0009uK-DL for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 26 Aug 2023 01:11:30 +0200 Original-Received: by mail-ot1-f64.google.com with SMTP id 46e09a7af769-6bd372edd1csf1388094a34.3 for ; Fri, 25 Aug 2023 16:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1693005089; x=1693609889; 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=OnR8Yprd1jyLbeRQt8DjhQD7eHtxUOH//8hCZZSSedo=; b=g9a9l21ScHkWArcGNpD5C/TltSyWn2n7YoraL3SL7lnykFzEzCmDjoPZUu+RMAlvdv OkLlHTFp2uKylZnwjBNaaNgA3Apd95nvO56kJt274ynFbRYfx2+EkNraPhLrLg/BEJ0y +SVSpIN1yEDjCJ7qSN/KZ09FI5zNmCv1YCXSSi0vQv2FLeDWxwxagM1HXWS2typPjsea GTOgVkWMB/2PMzM8be+gzoDrZ9zgMW64erDP7NFlnuiRSo5ICEyhr3XIFX5BJDXeO+Ou HlS+i5f9XEwANvI6jvmM3Lpghoa9gfC39MPTVOiG9HdPuw6+AdiSeGXA8/f8WxvEm9Ll sznw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693005089; x=1693609889; 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-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OnR8Yprd1jyLbeRQt8DjhQD7eHtxUOH//8hCZZSSedo=; b=k/YpZBa17xf2FFALwPIY6QEJRFIj9J4gG0ksNfN4fRABZhIMODCjJsK/X4efyg3/f+ S+FETkB/kQtuCJhA5pFwBWxgJXrCPTVKuUyMRFdbH3gRiirKpeqyOzvc2htvv9sjdoQl MU2/rF5QJ8cv6ZZn5C06X4Gl+D7F5G5iF3Uj8Xrk5PHz5V6PMurABIjMVjfRRAGBxj3S CeClaZ96SzJHxSiMYCvEXzIcVJRpYSy6DsPoRKZh4cM6Z+6xvXFY51xVUKk10ameFvy9 DZnbRG++GurqO4uZ2LBnFmcnCGd9VCHOJCIyZA49p0t583QNOreTMQ1vVsRlaxgzBsA2 av X-Gm-Message-State: AOJu0Yy/oL4cXEFUqfoHu7GOjLaLPY0ukkQh+xHkMM56gtSWTCIPU0T5 CaD1M9Ez8bsB5Rk1JNhVgcY= X-Google-Smtp-Source: AGHT+IFJwAKcJc7XSC48c2zYwsRZtAI+hMuC/w2WHI4YcYTYYfg4+MRl8bpBEzS0I2RR+fc7r4BNnA== X-Received: by 2002:a05:6870:ac29:b0:1bc:c06b:9a80 with SMTP id kw41-20020a056870ac2900b001bcc06b9a80mr4840700oab.3.1693005089294; Fri, 25 Aug 2023 16:11:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:d621:b0:1b3:d776:8172 with SMTP id a33-20020a056870d62100b001b3d7768172ls937859oaq.1.-pod-prod-00-us; Fri, 25 Aug 2023 16:11:26 -0700 (PDT) X-Received: by 2002:a05:6870:5b2c:b0:1bb:6993:1fb5 with SMTP id ds44-20020a0568705b2c00b001bb69931fb5mr419091oab.0.1693005086106; Fri, 25 Aug 2023 16:11:26 -0700 (PDT) X-Original-Sender: sed145-nChP9VK/LToysehGhLVACCmkPJUwDNjP@public.gmane.org X-Original-From: Vivianne 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:33069 Archived-At: ------=_Part_11614_1541923665.1693005085523 Content-Type: multipart/alternative; boundary="----=_Part_11615_609929658.1693005085523" ------=_Part_11615_609929658.1693005085523 Content-Type: text/plain; charset="UTF-8" Hi, I'm trying to convert HTML to PDF in the exact same manor that pressing ctrl+p in a browser would. The CSS has @media print stuff that gives the browser instructions on how to render the page. When I go pandoc zine.html zine.pdf pandoc ignores the @media print and spits out a very tall column over several pages. How do I get the same behavior as a browser? -- 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/8fbe5ece-caa7-428c-a940-01c49ef8709dn%40googlegroups.com. ------=_Part_11615_609929658.1693005085523 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to convert HTML to PDF in the exact sa= me manor that pressing ctrl+p in a browser would. The CSS has @media print = stuff that gives the browser instructions on how to render the page. When I= go

pandoc zine.html zine.pdf
<= br />
pandoc ignores the @media print and spits out a very tall c= olumn over several pages.

How do I get th= e same behavior as a browser?

--
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/8fbe5ece-caa7-428c-a940-01c49ef8709dn%40googlegroups.= com.
------=_Part_11615_609929658.1693005085523-- ------=_Part_11614_1541923665.1693005085523--