public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: almaghfuur lahu <budikusasi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Got this error on Linux' one
Date: Wed, 22 Jun 2022 03:54:25 -0700 (PDT)	[thread overview]
Message-ID: <684edd1e-9a02-4398-8b7e-deb5659ba060n@googlegroups.com> (raw)
In-Reply-To: <CAEe_xxjFnjwXaRVdm41TOxQqg8C8xpFR+376pWaUFCuo5wBwLg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


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

Work. Solved !!!
regex always often is saviour

So sorry for inconvenience

On Wednesday, 22 June 2022 at 15:50:34 UTC+7 William Lupton wrote:

> I created https://github.com/jgm/pandoc/issues/8140 with some suggestions 
> for documentation improvements.
>
> On Wed, 22 Jun 2022 at 09:24, William Lupton <wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> 
> wrote:
>
>> I'm confused. You seem to have taken a step back (the latest error is 
>> saying that the input file doesn't exist). You started with this:
>>
>> *$ pandoc GENIe_scripting_reference.md -o GENIe_scripting_reference.pdf*
>> *YAML parse exception at line 9, column 9: mapping values are not allowed 
>> in this context*
>>
>> Starting with the downloaded file, this worked for me:
>>
>>
>> *$ perl -pe 's/^---$/---\n/igs' GENIe_scripting_reference.md 
>> >GENIe_scripting_reference.fixed.md 
>> <http://GENIe_scripting_reference.fixed.md>$ pandoc 
>> GENIe_scripting_reference.fixed.md 
>> <http://GENIe_scripting_reference.fixed.md> -o 
>> GENIe_scripting_reference.pdf*
>>
>> Note that Albert's suggestion (i.e., ensure that "---" lines are always 
>> followed by a blank line) is much better than mine. My suggestion caused 
>> problems with unintentional tables (due, I suppose, to "- - -" lines not 
>> being followed by blank lines).
>>
>> William
>>
>> On Wed, 22 Jun 2022 at 00:43, almaghfuur lahu <budik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>
>>> I forgot i'd better believe i put wrong command. Here'd be the valid one:
>>>
>>>
>>> *$ pandoc -f markdown -t pdf  GENIe_scripting_reference.md -o 
>>> GENIe_scripting_reference.pdfpandoc: GENIe_scripting_reference.md: 
>>> openBinaryFile: does not exist (No such file or directory)*
>>>
>>> as i'm noob in mark up/down file processing, still have no idea how to 
>>> solve it
>>> On Tuesday, 21 June 2022 at 22:03:02 UTC+7 William Lupton wrote:
>>>
>>>> Thanks. Is that documented? From a quick scan I didn't see it at 
>>>> https://pandoc.org/MANUAL.html#extension-yaml_metadata_block (but 
>>>> maybe I missed it).
>>>>
>>>> On Tue, 21 Jun 2022 at 14:54, Albert Krewinkel <albert...-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> 
>>>> wrote:
>>>>
>>>>>
>>>>> William Lupton <wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> writes:
>>>>>
>>>>> > Perhaps there are some heuristics that control whether pandoc decides
>>>>> > that a given block is YAML. Maybe lines like this one are being taken
>>>>> > to be YAML?
>>>>>
>>>>> The heuristic applied by pandoc is "if there's a line containing the
>>>>> string `---`, and if that line is not followed by a blank line, and if
>>>>> there's a closing `---` later in the text, then treat it as a YAML
>>>>> block.
>>>>>
>>>>> So adding a blank line after `---` should fix this as well.
>>>>>
>>>>>
>>>>> -- 
>>>>> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>
>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/pandoc-discuss/87a6a6nmug.fsf%40zeitkraut.de
>>>>> .
>>>>>
>>>> -- 
>>> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/pandoc-discuss/0c95c0e6-1558-468b-b224-278d99c31332n%40googlegroups.com 
>>> <https://groups.google.com/d/msgid/pandoc-discuss/0c95c0e6-1558-468b-b224-278d99c31332n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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/684edd1e-9a02-4398-8b7e-deb5659ba060n%40googlegroups.com.

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

      parent reply	other threads:[~2022-06-22 10:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21  9:27 almaghfuur lahu
     [not found] ` <6a390800-289b-4932-9d26-b6158f76aa11n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-06-21  9:37   ` William Lupton
     [not found]     ` <CAEe_xxje9j4rC3a9MtNSgeDocvStDsycapBS0y8GBo0Mo3qfDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-21  9:55       ` almaghfuur lahu
     [not found]         ` <4ce1cfe9-8c01-4882-af2d-38ffacb7df3cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-06-21 10:37           ` William Lupton
     [not found]             ` <CAEe_xxjEx9ttLuEmyb=0N7nJ8=o5T689krJVTgPFJQRPVTvnkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-21 13:21               ` Albert Krewinkel
     [not found]                 ` <87a6a6nmug.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-06-21 15:02                   ` William Lupton
     [not found]                     ` <CAEe_xximH93ZyPmbVwPUVonnwTBgj1WB-2x2GMF_+bBefAW=EA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-21 23:43                       ` almaghfuur lahu
     [not found]                         ` <0c95c0e6-1558-468b-b224-278d99c31332n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-06-22  8:24                           ` William Lupton
     [not found]                             ` <CAEe_xxgjXZhV3XqOpstoPrsbsEiCidqG72Prx9SnL=C1tRAq7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-22  8:50                               ` William Lupton
     [not found]                                 ` <CAEe_xxjFnjwXaRVdm41TOxQqg8C8xpFR+376pWaUFCuo5wBwLg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-22 10:54                                   ` almaghfuur lahu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=684edd1e-9a02-4398-8b7e-deb5659ba060n@googlegroups.com \
    --to=budikusasi-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).