From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32418 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: George Emad Newsgroups: gmane.text.pandoc Subject: What happens when the -t option is different from the file extension after -o Date: Wed, 29 Mar 2023 04:39:10 -0700 (PDT) Message-ID: <51f74822-bf97-46c2-864d-1ba0183086e6n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5048_398856894.1680089950687" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6360"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD77F6VHVQJBBX6GSCQQMGQEQGBKGQA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Mar 29 13:39:17 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f61.google.com ([209.85.160.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1phU97-0001T9-0m for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 29 Mar 2023 13:39:17 +0200 Original-Received: by mail-oa1-f61.google.com with SMTP id 586e51a60fabf-17a678c2de9sf8119377fac.14 for ; Wed, 29 Mar 2023 04:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1680089955; 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=MHbrtU8yQ2caBj3nyxTPK6HDuDBifB42voWNLCkhWT4=; b=KMYGl5LE3S3tOxi9V5sVrBYz+poyOrKrb3aoHBrgbE+5YDIi9rlUXE3eileRPcS1ft sW7IkqWEx63xGqiFkquovCFXNolQuE/eVLKVu9E3rWuNko9BJz3/hhj3QD0Zlm5Gof+V xLOWyd6P+hlQOnkqa3Eg6oI6JbQtuIPNeIilYY31e62i6MTetsaHz7p+QfM4CVf/04rs KN0hQaVsNjMGjD6AdIHjcTyfCsTAolSjTsOMZLU+25WjUzJgS0lIWVQJGFR21B6ZWusb F4xycxsNsd44+y25lrQB0zzn5eOxucl4T8NQOcPc9b8T8nurzBrtZEOtqR1xSeEVJs1o DGxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680089955; 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=MHbrtU8yQ2caBj3nyxTPK6HDuDBifB42voWNLCkhWT4=; b=mxKZKo4a6c0TTcj9xGGVX9vC54KC0Inmum79Z6BG2QXGkfJyqthMlrjU/T0uVdY6t5 hIBITVR03nC864XnhlMm9MaqdLnPIoy2O1n9pjC2LBKWifC20fEhLRt/hM/DIIUszWVi rZY/p3puT8C1/L15xZ/aKpjrCdXUuVbHUmtC1LflWAVj4hZWYUHqRGRNWQO+rrjIRn9D 0PJuTUnrUcgK4kwq9r/3PbUt1as86o+TixwdLoOWpwjBmlEQnBLXJ4bGu8fVHLW/5SLN ySZWIMikZucCblEBbQTFaO0TV0Gr4aOjEnmttgTgEvoxJJ3cOa+3h7MJGbG7EvB02OGA RdaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680089955; 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=MHbrtU8yQ2caBj3nyxTPK6HDuDBifB42voWNLCkhWT4=; b=gOFNk8kXfI9xzyXnj9PhrVPOkuKQdGvdlyXK/rMMQay6QB0NHiRssr6uuAd5qiwAlO AsMmzQllNIznyAP/LOsvGwUOfI66hoACdEbWrA4RXlUJ/BsKB0GgWpabXShiDY342PtO 8jIoksuLyY3qdN7QETTcNgqYA7gTqdFGx/NSRdvoPbhMVZ1QEj8LNAKi+5q2Fw+WwgeI 4zV4PknJqKbKTdXWB3ZYUD1ebi8QaxhNnH31WPwDb7PeM2OipyDqPT/t45qbsOEA/Jvw nU2JVWIqggsdwHmi11g76cYEIO+a7kKuHngZuz5zx2KgK/IcxgvMpafoz0TyfNnz2D/j vNlA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKX4e1lxz9WleTeywdUwbYmHZoAvnzKonqQ00gYkQVoXBPqyXM/C JTS8/r0qTq0bZaprvDh/MWI= X-Google-Smtp-Source: AK7set+z+sSqV0wD8+FWiyPEAkmcb2gp2bqe7CMSZIye3ZL2u4ngnPD0ijFlHB29VI5LTi6W6nio9A== X-Received: by 2002:a4a:e5cf:0:b0:52e:17e2:7d4c with SMTP id r15-20020a4ae5cf000000b0052e17e27d4cmr6258001oov.1.1680089953875; Wed, 29 Mar 2023 04:39:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:13c4:b0:387:1bb5:8ef0 with SMTP id d4-20020a05680813c400b003871bb58ef0ls3398976oiw.4.-pod-prod-gmail; Wed, 29 Mar 2023 04:39:11 -0700 (PDT) X-Received: by 2002:a05:6808:308:b0:384:2019:c201 with SMTP id i8-20020a056808030800b003842019c201mr5427458oie.8.1680089951183; Wed, 29 Mar 2023 04:39:11 -0700 (PDT) X-Original-Sender: engr.georgeemad-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:32418 Archived-At: ------=_Part_5048_398856894.1680089950687 Content-Type: multipart/alternative; boundary="----=_Part_5049_1605445037.1680089950687" ------=_Part_5049_1605445037.1680089950687 Content-Type: text/plain; charset="UTF-8" Hello, I am converting some markdown files to a pdf, but I am using a lot of CSS for formatting, I found out that if I am using: *--toc --from=gfm -t html5 -o myfile.pdf* It actually do keep the css formatting and doesn't convert it to latex (similar results to opening it in chrome and printing it, with very minor changes) with one additional bug, with the "TOC table of content" Description: It generate a html table of content inside the pdf, so it's broken when you try to click it, as it refers to html section I have two questions: 1) Is this a normal use case when I use different file extension than the format after -t ? 2) How can I fix this bug with the TOC ? I am pretty new to pandoc, and tried to find the answer in the documentations and on the mailing list archive, will really appreciate your help. Regards, George -- 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/51f74822-bf97-46c2-864d-1ba0183086e6n%40googlegroups.com. ------=_Part_5049_1605445037.1680089950687 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello,=C2=A0
I am converting some markdown files to a pdf, but I am us= ing a lot of CSS for formatting,

I found out that if I= am using:=C2=A0

--toc --from=3Dgfm -t html5=C2=A0 -o myfile.= pdf

It actually do keep the css formatting and doesn't conve= rt it to latex (similar results to opening it in chrome and printing it, wi= th very minor changes) with one additional bug, with the "TOC table of cont= ent"

Description:=C2=A0
It generate a html table of content= inside the pdf, so it's broken when you try to click it,
as it refers= to html section <mypag.html#theSection>

I have two questi= ons:=C2=A0
1) Is this a normal use case when I use different file exte= nsion than the format after -t ?=C2=A0
2) How can I fix this bug with = the TOC ?=C2=A0

I am pretty new to pandoc, and tried to find the= answer in the documentations and on the mailing list archive, will really = appreciate your help.

Regards,=C2=A0
George=C2=A0
=C2= =A0

--
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/51f74822-bf97-46c2-864d-1ba0183086e6n%40googlegroups.= com.
------=_Part_5049_1605445037.1680089950687-- ------=_Part_5048_398856894.1680089950687--