From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/24071 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Hans Kunkell Newsgroups: gmane.text.pandoc Subject: Re: html to docs Title and Subtitle Date: Mon, 1 Jul 2019 22:11:34 -0700 (PDT) Message-ID: <85662fd8-565e-4101-9daf-c02fe3148c60@googlegroups.com> References: <27edb34f-b96d-4a62-8c0f-47b65e28dc7b@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1987_133748393.1562044294487" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="224042"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDXJP3V4SEPRBB6P5PUAKGQEMLL5ZTA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 02 07:11:38 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f190.google.com ([209.85.167.190]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hiB4r-000zOt-O8 for gtp-pandoc-discuss@m.gmane.org; Tue, 02 Jul 2019 07:11:37 +0200 Original-Received: by mail-oi1-f190.google.com with SMTP id u8sf6040844oie.5 for ; Mon, 01 Jul 2019 22:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=ZKamKReAq+MlyyMc6iyZ6WIJDg5siQg7JkDmQ9GpENc=; b=nZlh1Y9u95GXxCyvrupWeNBpeqj2GMZ+B2nrm3xyEoHTWMvZjFJXSU4i0xt9WdDxrG 64d+e356TKYpmTQvicKkD/aFFP6a8MTz62B4iuFegcnTohFw/5PJ8gV0HrQtexA+KAou trqKQaOHNJtxiYejmfw78E8rsd/Z0ycsJUBcOLp9FSbSPhPAlWg1+B/+f62Fmy95UluF RF1KF+hAshJK8yIL0TQYj7z5nAz6BQMUgL9Sap65JlEzWIgHRTnwzAKQ4B50gPVGR3LT 23eb5dH1aFzUBQWdTQpBRdY8kkyMiiclGv4DW/rJDDYZt62tg2TEazluCGEdSVsSkGMK T+vA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=ZKamKReAq+MlyyMc6iyZ6WIJDg5siQg7JkDmQ9GpENc=; b=KjpLEWK19tx/MwRfDyNKjO4I5fTT49YOPyCiCoM4wwjusClu65gK4cWeu4OQxJQA0f i0NiksikQlJ/yRAwWiAm3ROmJuANMzizqBp1zG6lRNv2XZKPkOukArvsnY5fOTP7TCuL RaJiFYowEdsy1lKiqtoZkUTCAhlPVeK3/pMfErLiLk459195yjGnWPhKFk8g14G7lllN esa8wyN9x6YtgXt9VXCPtzzM3L3iuu6mt14fQtE7pRIYINSqSPZDWrpKop+00sMN2oCb jZxlB5bLttppTJwIO+d4amx5zMWExGQsRj4cjtP3YVA0lZRv0nWXYobUZkmcfr6JNr2y zjyg== 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:in-reply-to :references: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=ZKamKReAq+MlyyMc6iyZ6WIJDg5siQg7JkDmQ9GpENc=; b=JkoJDitJjwjkvlkz8FjY1JrVrnvd6Z2t+MB7CJ1j/j8EbSgkbU+Hd6v6a8Gb8os5vr 62YZG4Y98yqp5UyOaw5gFc5QgiD/4FNglIGFoRxjMFywrib1VZwKpy+dNr/pqQUxMKFj FpAdy4h+nzmXVKTSXlWCqg58mBJVZRNCiYORwcauK2Iru+RUvT77aHpHc5OBwLqK5oqo tmnlbvs6sumpMmnYJuu6/HdMBsf0jbGnGxzvV3UpWZXVKPtjmhWrOyBbqRlmZGqJTbx8 /Fy1eHxHxLpGT7+zQWpj8mnZAIENRLAOibUXJPLq3GbEtTC4vdak5Prt+4T27+BuqnCN 7Lmg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXeLSYzt1tvniSLdPXOmshYZg2HKejuQfR5cz24RuJ82DvOXl8O yBtozgI7LmbgnXi2llxHjaU= X-Google-Smtp-Source: APXvYqzxpXQcVyKkd75+w6SLubKxmU4PqotQVwgML/QtWUZoH/Pvm1otSMGgQu6PGplLYOH4sF8p9A== X-Received: by 2002:a9d:eab:: with SMTP id 40mr23231400otj.316.1562044296069; Mon, 01 Jul 2019 22:11:36 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:3a44:: with SMTP id h65ls674537oia.1.gmail; Mon, 01 Jul 2019 22:11:35 -0700 (PDT) X-Received: by 2002:aca:5744:: with SMTP id l65mr1791821oib.159.1562044295231; Mon, 01 Jul 2019 22:11:35 -0700 (PDT) In-Reply-To: <27edb34f-b96d-4a62-8c0f-47b65e28dc7b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: hanzukun-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.org gmane.text.pandoc:24071 ------=_Part_1987_133748393.1562044294487 Content-Type: multipart/alternative; boundary="----=_Part_1988_903670987.1562044294487" ------=_Part_1988_903670987.1562044294487 Content-Type: text/plain; charset="UTF-8" Hello! How about if you create a TITLE tag in the header of the html file, like Hello title and use

to

for headings. I don't know about subtitle though. Will that work for you? Regards Hans Den fredag 28 juni 2019 kl. 21:33:17 UTC+9 skrev Hideman: > > Hello, > > I try to tell pandoc to generate a

or whatever html tag to be a Title > and Subtitle in the generated docx. > > I found : https://pandoc.org/MANUAL.html#custom-styles > and wrote >

Hello title

> but nothing > > Tried this before >

Hello title

> and it was converted as Heading 1 > > And also nothing happened with >

Hello subtitle

>

Hello subtitle

> > I don't want that be interpreted as Heading levels because I use that for > sections. > > Thank you in advance for your further replies. > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/85662fd8-565e-4101-9daf-c02fe3148c60%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1988_903670987.1562044294487 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello!

How about if you crea= te a TITLE tag in the header of the html file, like
<title><= span style=3D"color: #000;" class=3D"styled-by-prettify">Hello title= </title>
and use <h1> to <h6> for headings. I don't= know about subtitle though.

Will that work fo= r you?

Regards
Hans

Den fre= dag 28 juni 2019 kl. 21:33:17 UTC+9 skrev Hideman:
Hello,

I= try to tell pandoc to generate a <p> or whatever html tag to be a Ti= tle and Subtitle in the generated docx.

and wrote
<p custom-style=3D"Title&qu= ot;>= Hello title</p>
=
but nothing

Tried this before
<p custom-styl= e=3D&qu= ot;title">Hello title</p>
and it was converted as Heading 1

And also nothing happened with
<p custom-style=3D"Subtitle">Hello= subtitle</p>
<p custom-style=3D"subtitle">Hello= subtitle</p>

I don't want that be interpreted as Headi= ng levels because I use that for sections.

Thank y= ou in advance for your further replies.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/85662fd8-565e-4101-9daf-c02fe3148c60%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_1988_903670987.1562044294487-- ------=_Part_1987_133748393.1562044294487--