Confusing error message "missing filter attribute: code-filter.py -b {basebackend} -l {language}"

View: New views
2 Messages — Rating Filter:   Alert me  

Confusing error message "missing filter attribute: code-filter.py -b {basebackend} -l {language}"

by Sam Elstob-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Just a quick note to say that I was getting the above error message when
running asciidoc on a new document.

I tracked it down to the fact that I had written

My Title
~~~~~~~~~~~~~

instead of

My Title
~~~~~~~~

Would it possible to have a more useful error message for this?

I am running asciidoc 8.2.5

Regards
--
Sam Elstob
Product Developer
Triometric

e: sam.elstob@...
t: +44 (0)1784 497 366
f: +44 (0)1494 400 077
w: http://www.triometric.net

Orchard Building, Royal Holloway, Egham, Surrey TW20 0EX UK
Triometric is the trading name of Hypertrak Limited.
Registered in England and Wales No. 3893713, VAT 727292030
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: Confusing error message "missing filter attribute: code-filter.py -b {basebackend} -l {language}"

by Stuart Rackham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sam Elstob wrote:

> Hi
>
> Just a quick note to say that I was getting the above error message when
> running asciidoc on a new document.
>
> I tracked it down to the fact that I had written
>
> My Title
> ~~~~~~~~~~~~~
>
> instead of
>
> My Title
> ~~~~~~~~
>
> Would it possible to have a more useful error message for this?

I've strictly enforced the unified filter syntax introduced in 8.1.0
(code filter delimiter must start with 'code'), this means you won't get
the error message instead the tildes will be interpreted as subscript
quotes.

See changeset http://hg.sharesource.org/asciidoc/rev/c8933b9dae5e


>
> I am running asciidoc 8.2.5
>
> Regards


Cheers, Stuart
--
Stuart Rackham
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss