public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* pandoc missing metadata?
@ 2016-11-21 20:53 Kolen Cheung
       [not found] ` <19319a08-e836-4c00-895f-a9b60a4cc95c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Kolen Cheung @ 2016-11-21 20:53 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1048 bytes --]



I’m trying to test something quickly in the command-line (pandoc v1.18):

$ printf "%s\n" '---' 'title: \*unquoted\*' '---' '' 'non-empty' | pandoc -f markdown -t native

[Para [Str "non-empty"]]

Not sure what I did wrong, but if I use

# printf "%s\n" '---' 'title: \*unquoted\*' '---' '' 'non-empty' | pandoc -f markdown -t native --css=abc.css
Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "*unquoted*"])]})

which has the Meta.
​

-- 
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/19319a08-e836-4c00-895f-a9b60a4cc95c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 7491 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pandoc missing metadata?
       [not found] ` <19319a08-e836-4c00-895f-a9b60a4cc95c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2016-11-21 21:17   ` Albert Krewinkel
  2016-11-21 21:28   ` John MacFarlane
  1 sibling, 0 replies; 4+ messages in thread
From: Albert Krewinkel @ 2016-11-21 21:17 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Metadata is only shown for if a standalone document will be produced.
The `--css` option implies a standalone document. Adding `--standalone`
or `-s` to your command will cause the metadata to always be included in
the output.

Kolen Cheung <christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I’m trying to test something quickly in the command-line (pandoc v1.18):
>
> $ printf "%s\n" '---' 'title: \*unquoted\*' '---' '' 'non-empty' | pandoc -f markdown -t native
>
> [Para [Str "non-empty"]]
>
> Not sure what I did wrong, but if I use
>
> # printf "%s\n" '---' 'title: \*unquoted\*' '---' '' 'non-empty' | pandoc -f markdown -t native --css=abc.css
> Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "*unquoted*"])]})
>
> which has the Meta.
>
> ​ 

-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124

-- 
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/871sy4fs7z.fsf%40espresso.zeitkraut.de.
For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pandoc missing metadata?
       [not found] ` <19319a08-e836-4c00-895f-a9b60a4cc95c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2016-11-21 21:17   ` Albert Krewinkel
@ 2016-11-21 21:28   ` John MacFarlane
       [not found]     ` <20161121212842.GC98295-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2016-11-21 21:28 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

The --css option implies --standalone.  (Though this isn't
documented, and in fact I'd forgotten all about it.)

+++ Kolen Cheung [Nov 21 16 12:53 ]:
>   I’m trying to test something quickly in the command-line (pandoc
>   v1.18):
>$ printf "%s\n" '---' 'title: \*unquoted\*' '---' '' 'non-empty' | pandoc -f mar
>kdown -t native
>
>[Para [Str "non-empty"]]
>
>   Not sure what I did wrong, but if I use
># printf "%s\n" '---' 'title: \*unquoted\*' '---' '' 'non-empty' | pandoc -f mar
>kdown -t native --css=abc.css
>Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "*unquoted*"])]})
>
>   which has the Meta.
>   ​
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/19319a08-e836-4c00-
>   895f-a9b60a4cc95c%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/19319a08-e836-4c00-895f-a9b60a4cc95c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout

-- 
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/20161121212842.GC98295%40Johns-MBP.home.
For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pandoc missing metadata?
       [not found]     ` <20161121212842.GC98295-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
@ 2016-11-21 21:30       ` Kolen Cheung
  0 siblings, 0 replies; 4+ messages in thread
From: Kolen Cheung @ 2016-11-21 21:30 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 595 bytes --]

Ah, right! Thanks all!

-- 
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/b963a82a-61fc-497d-a342-f50fa0f2208b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1007 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-21 21:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-21 20:53 pandoc missing metadata? Kolen Cheung
     [not found] ` <19319a08-e836-4c00-895f-a9b60a4cc95c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-21 21:17   ` Albert Krewinkel
2016-11-21 21:28   ` John MacFarlane
     [not found]     ` <20161121212842.GC98295-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2016-11-21 21:30       ` Kolen Cheung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).