public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Can the --quiet option be made selective?
@ 2020-04-06 20:09 boardtc
       [not found] ` <05ee015a-1c7e-4dc1-9431-611280cd7c65-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: boardtc @ 2020-04-06 20:09 UTC (permalink / raw)
  To: pandoc-discuss


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

I see the warning message when I convert from .md to HTML:

[WARNING] This document format requires a nonempty <title> element.
  Defaulting to 'XYZ' as the title.
  To specify a title, use 'title' in metadata or --metadata title="...".

I am quiet happy for the default to be chosen and do not want to see this 
message every time, it's a real pain.

I have seen https://github.com/jgm/pandoc/issues/4048

I do not want to do a --quiet as I want to see the warnings, just not this 
one!

Could ye add a --customquiet  which reads from a white list of defaults to 
hide or some other smart solution?

-- 
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/05ee015a-1c7e-4dc1-9431-611280cd7c65%40googlegroups.com.

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

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

* Re: Can the --quiet option be made selective?
       [not found] ` <05ee015a-1c7e-4dc1-9431-611280cd7c65-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-04-06 21:29   ` John MacFarlane
       [not found]     ` <m2o8s4jobm.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2020-04-06 21:29 UTC (permalink / raw)
  To: boardtc, pandoc-discuss


Use

-Mtitle='foo'

and that will quiet the warning by giving your document a title.

boardtc <boardtc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I see the warning message when I convert from .md to HTML:
>
> [WARNING] This document format requires a nonempty <title> element.
>   Defaulting to 'XYZ' as the title.
>   To specify a title, use 'title' in metadata or --metadata title="...".
>
> I am quiet happy for the default to be chosen and do not want to see this 
> message every time, it's a real pain.
>
> I have seen https://github.com/jgm/pandoc/issues/4048
>
> I do not want to do a --quiet as I want to see the warnings, just not this 
> one!
>
> Could ye add a --customquiet  which reads from a white list of defaults to 
> hide or some other smart solution?
>
> -- 
> 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/05ee015a-1c7e-4dc1-9431-611280cd7c65%40googlegroups.com.


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

* Re: Can the --quiet option be made selective?
       [not found]     ` <m2o8s4jobm.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2020-04-09 17:29       ` boardtc
  0 siblings, 0 replies; 3+ messages in thread
From: boardtc @ 2020-04-09 17:29 UTC (permalink / raw)
  To: pandoc-discuss


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

Thanks. I was using via tool and got file name passed anyone so was able to 
pass instead of foo.

On Monday, 6 April 2020 22:29:17 UTC+1, John MacFarlane wrote:
>
>
> Use 
>
> -Mtitle='foo' 
>
> and that will quiet the warning by giving your document a title. 
>
> boardtc <boa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> writes: 
>
> > I see the warning message when I convert from .md to HTML: 
> > 
> > [WARNING] This document format requires a nonempty <title> element. 
> >   Defaulting to 'XYZ' as the title. 
> >   To specify a title, use 'title' in metadata or --metadata title="...". 
> > 
> > I am quiet happy for the default to be chosen and do not want to see 
> this 
> > message every time, it's a real pain. 
> > 
> > I have seen https://github.com/jgm/pandoc/issues/4048 
> > 
> > I do not want to do a --quiet as I want to see the warnings, just not 
> this 
> > one! 
> > 
> > Could ye add a --customquiet  which reads from a white list of defaults 
> to 
> > hide or some other smart solution? 
> > 
> > -- 
> > 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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/05ee015a-1c7e-4dc1-9431-611280cd7c65%40googlegroups.com. 
>
>

-- 
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/280893ac-d511-4a67-89a0-b67b83879e5e%40googlegroups.com.

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

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

end of thread, other threads:[~2020-04-09 17:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 20:09 Can the --quiet option be made selective? boardtc
     [not found] ` <05ee015a-1c7e-4dc1-9431-611280cd7c65-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-04-06 21:29   ` John MacFarlane
     [not found]     ` <m2o8s4jobm.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-04-09 17:29       ` boardtc

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).