GNU bug report logs - #58371
Org and Hyperbole

Previous Next

Package: hyperbole;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Fri, 7 Oct 2022 23:00:01 UTC

Severity: normal

To reply to this bug, email your comments to 58371 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-hyperbole <at> gnu.org:
bug#58371; Package hyperbole. (Fri, 07 Oct 2022 23:00:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean Louis <bugs <at> gnu.support>:
New bug report received and forwarded. Copy sent to bug-hyperbole <at> gnu.org. (Fri, 07 Oct 2022 23:00:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: rswgnu <at> gmail.com
Cc: David Masterson <dsmasterson <at> gmail.com>, bug-hyperbole <at> gnu.org,
 emacs-org list <emacs-orgmode <at> gnu.org>, Robert Weiner <rsw <at> gnu.org>
Subject: Re: Org and Hyperbole
Date: Sat, 8 Oct 2022 01:04:38 +0300
* Robert Weiner <rsw <at> gnu.org> [2022-10-04 09:29]:
> Another good thought.  Anyone can add an embeddable export of Koutlines; I
> don't think we'll find time to do that in the mainline development branch
> though.

Creating HTML export that is messy has greater impact on people, no
matter of popularity of the package. 

KOTL may be said to be specialized lightweight markup language as it
has export to HTML and various features. Thus authors shall put care
on proper HTML and including on the fact that all lightweight markup
languages allow export without headers and footers, for the reason to
insert the information into ready HTML templates.

Verify it here: https://validator.w3.org/nu/#file
by using KOTL EXAMPLE:


    Error: The character encoding was not declared. Proceeding using windows-1252.

    Error: Start tag seen without seeing a doctype first. Expected <!DOCTYPE html>.

    From line 1, column 1; to line 1, column 6

    <html><head>

    Error: Element head is missing a required instance of child element title.

    From line 3, column 1; to line 3, column 12

    l><head>↩↩<a id="top"></a><a

    Content model for element head:
        If the document is an iframe srcdoc document or if title information is available from a higher-level protocol: Zero or more elements of metadata content, of which no more than one is a title element and no more than one is a base element.
        Otherwise: One or more elements of metadata content, of which exactly one is a title element and no more than one is a base element.

    Error: Element title not allowed as child of element body in this context. (Suppressing further errors from this subtree.)

    From line 4, column 1; to line 4, column 7

    "k0"></a>↩<title>EXAMPL

    Contexts in which element title may be used:
        In a head element containing no other title elements.
    Content model for element body:
        Flow content.

    Error: No space between attributes.

    At line 6, column 6

    outliner.↩See "(hyperbole)Kout

    Error: Quote " in attribute name. Probable cause: Matching quote missing somewhere earlier.

    At line 6, column 26

    rbole)Koutliner" for more info

    Error: Quote " in attribute name. Probable cause: Matching quote missing somewhere earlier.

    At line 6, column 49

    re information.">↩<meta name="

    Warning: Attribute (hyperbole)koutliner" is not serializable as XML 1.0.

    From line 5, column 1; to line 6, column 50

    E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta

    Warning: Attribute information." is not serializable as XML 1.0.

    From line 5, column 1; to line 6, column 50

    E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta

    Error: Attribute (hyperbole)koutliner" not allowed on element meta at this point.

    From line 5, column 1; to line 6, column 50

    E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta

    Attributes for element meta:
        Global attributes
        name — Metadata name
        http-equiv — Pragma directive
        content — Value of the element
        charset — Character encoding declaration
        media — Applicable media

    Error: Attribute for not allowed on element meta at this point.

    From line 5, column 1; to line 6, column 50

    E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta

    Attributes for element meta:
        Global attributes
        name — Metadata name
        http-equiv — Pragma directive
        content — Value of the element
        charset — Character encoding declaration
        media — Applicable media

    Error: Attribute more not allowed on element meta at this point.

    From line 5, column 1; to line 6, column 50

    E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta

    Attributes for element meta:
        Global attributes
        name — Metadata name
        http-equiv — Pragma directive
        content — Value of the element
        charset — Character encoding declaration
        media — Applicable media

    Error: Attribute information." not allowed on element meta at this point.

    From line 5, column 1; to line 6, column 50

    E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta

    Attributes for element meta:
        Global attributes
        name — Metadata name
        http-equiv — Pragma directive
        content — Value of the element
        charset — Character encoding declaration
        media — Applicable media

    Error: Element meta is missing one or more of the following attributes: itemprop, property.

    From line 5, column 1; to line 6, column 50

    E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta

    Attributes for element meta:
        Global attributes
        name — Metadata name
        http-equiv — Pragma directive
        content — Value of the element
        charset — Character encoding declaration
        media — Applicable media

    Error: Attribute name not allowed on element meta at this point.

    From line 7, column 1; to line 7, column 68

    mation.">↩<meta name="viewport" content="width=device-width, initial-scale=1"><link 

    Attributes for element meta:
        Global attributes
        name — Metadata name
        http-equiv — Pragma directive
        content — Value of the element
        charset — Character encoding declaration
        media — Applicable media

    Error: Element meta is missing one or more of the following attributes: itemprop, property.

    From line 7, column 1; to line 7, column 68

    mation.">↩<meta name="viewport" content="width=device-width, initial-scale=1"><link 

    Attributes for element meta:
        Global attributes
        name — Metadata name
        http-equiv — Pragma directive
        content — Value of the element
        charset — Character encoding declaration
        media — Applicable media

    Error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)

    From line 8, column 1; to line 8, column 7

    min.css">↩<style>↩↩butt

    Contexts in which element style may be used:
        Where metadata content is expected.
        In a noscript element that is a child of a head element.
    Content model for element body:
        Flow content.

    Error: Stray end tag head.

    From line 45, column 1; to line 45, column 7

    ↩</style>↩</head>↩↩<bod

    Error: Start tag body seen but an element of the same type was already open.

    From line 47, column 1; to line 47, column 24

    ↩</head>↩↩<body BGCOLOR="#FFFFFF">↩↩<h1>

    Fatal Error: Cannot recover after last error. Any further errors will be ignored.

    From line 47, column 1; to line 47, column 24

    ↩</head>↩↩<body BGCOLOR="#FFFFFF">↩↩<h1>
-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




Information forwarded to bug-hyperbole <at> gnu.org:
bug#58371; Package hyperbole. (Thu, 02 Mar 2023 22:51:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bob Weiner <rsw <at> gnu.org>
To: matsl <at> gnu.org
Cc: David Masterson <dsmasterson <at> gmail.com>, bug-hyperbole <at> gnu.org,
 emacs-org list <emacs-orgmode <at> gnu.org>
Subject: Re: bug#58371: Org and Hyperbole
Date: Thu, 02 Mar 2023 17:50:14 -0500
This one too.  Just running the output of the Koutline EXAMPLE.kotl HTML
export through the validator mentioned and resolving the issues in the
code that spits out the HTML:  kexport:html.

I'll add to the todo list for whenever you have time.

Cheers,

Bob

Jean Louis <bugs <at> gnu.support> writes:

> * Robert Weiner <rsw <at> gnu.org> [2022-10-04 09:29]:
>> Another good thought.  Anyone can add an embeddable export of Koutlines; I
>> don't think we'll find time to do that in the mainline development branch
>> though.
>
> Creating HTML export that is messy has greater impact on people, no
> matter of popularity of the package. 
>
> KOTL may be said to be specialized lightweight markup language as it
> has export to HTML and various features. Thus authors shall put care
> on proper HTML and including on the fact that all lightweight markup
> languages allow export without headers and footers, for the reason to
> insert the information into ready HTML templates.
>
> Verify it here: https://validator.w3.org/nu/#file
> by using KOTL EXAMPLE:
>
>
>     Error: The character encoding was not declared. Proceeding using windows-1252.
>
>     Error: Start tag seen without seeing a doctype first. Expected <!DOCTYPE html>.
>
>     From line 1, column 1; to line 1, column 6
>
>     <html><head>
>
>     Error: Element head is missing a required instance of child element title.
>
>     From line 3, column 1; to line 3, column 12
>
>     l><head>↩↩<a id="top"></a><a
>
>     Content model for element head:
>         If the document is an iframe srcdoc document or if title information is available from a higher-level protocol: Zero or more elements of metadata content, of which no more than one is a title element and no more than one is a base element.
>         Otherwise: One or more elements of metadata content, of which exactly one is a title element and no more than one is a base element.
>
>     Error: Element title not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
>
>     From line 4, column 1; to line 4, column 7
>
>     "k0"></a>↩<title>EXAMPL
>
>     Contexts in which element title may be used:
>         In a head element containing no other title elements.
>     Content model for element body:
>         Flow content.
>
>     Error: No space between attributes.
>
>     At line 6, column 6
>
>     outliner.↩See "(hyperbole)Kout
>
>     Error: Quote " in attribute name. Probable cause: Matching quote missing somewhere earlier.
>
>     At line 6, column 26
>
>     rbole)Koutliner" for more info
>
>     Error: Quote " in attribute name. Probable cause: Matching quote missing somewhere earlier.
>
>     At line 6, column 49
>
>     re information.">↩<meta name="
>
>     Warning: Attribute (hyperbole)koutliner" is not serializable as XML 1.0.
>
>     From line 5, column 1; to line 6, column 50
>
>     E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta
>
>     Warning: Attribute information." is not serializable as XML 1.0.
>
>     From line 5, column 1; to line 6, column 50
>
>     E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta
>
>     Error: Attribute (hyperbole)koutliner" not allowed on element meta at this point.
>
>     From line 5, column 1; to line 6, column 50
>
>     E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta
>
>     Attributes for element meta:
>         Global attributes
>         name — Metadata name
>         http-equiv — Pragma directive
>         content — Value of the element
>         charset — Character encoding declaration
>         media — Applicable media
>
>     Error: Attribute for not allowed on element meta at this point.
>
>     From line 5, column 1; to line 6, column 50
>
>     E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta
>
>     Attributes for element meta:
>         Global attributes
>         name — Metadata name
>         http-equiv — Pragma directive
>         content — Value of the element
>         charset — Character encoding declaration
>         media — Applicable media
>
>     Error: Attribute more not allowed on element meta at this point.
>
>     From line 5, column 1; to line 6, column 50
>
>     E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta
>
>     Attributes for element meta:
>         Global attributes
>         name — Metadata name
>         http-equiv — Pragma directive
>         content — Value of the element
>         charset — Character encoding declaration
>         media — Applicable media
>
>     Error: Attribute information." not allowed on element meta at this point.
>
>     From line 5, column 1; to line 6, column 50
>
>     E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta
>
>     Attributes for element meta:
>         Global attributes
>         name — Metadata name
>         http-equiv — Pragma directive
>         content — Value of the element
>         charset — Character encoding declaration
>         media — Applicable media
>
>     Error: Element meta is missing one or more of the following attributes: itemprop, property.
>
>     From line 5, column 1; to line 6, column 50
>
>     E</title>↩<meta id="description" content="Created by Hyperbole's outliner.↩See "(hyperbole)Koutliner" for more information.">↩<meta
>
>     Attributes for element meta:
>         Global attributes
>         name — Metadata name
>         http-equiv — Pragma directive
>         content — Value of the element
>         charset — Character encoding declaration
>         media — Applicable media
>
>     Error: Attribute name not allowed on element meta at this point.
>
>     From line 7, column 1; to line 7, column 68
>
>     mation.">↩<meta name="viewport" content="width=device-width, initial-scale=1"><link 
>
>     Attributes for element meta:
>         Global attributes
>         name — Metadata name
>         http-equiv — Pragma directive
>         content — Value of the element
>         charset — Character encoding declaration
>         media — Applicable media
>
>     Error: Element meta is missing one or more of the following attributes: itemprop, property.
>
>     From line 7, column 1; to line 7, column 68
>
>     mation.">↩<meta name="viewport" content="width=device-width, initial-scale=1"><link 
>
>     Attributes for element meta:
>         Global attributes
>         name — Metadata name
>         http-equiv — Pragma directive
>         content — Value of the element
>         charset — Character encoding declaration
>         media — Applicable media
>
>     Error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
>
>     From line 8, column 1; to line 8, column 7
>
>     min.css">↩<style>↩↩butt
>
>     Contexts in which element style may be used:
>         Where metadata content is expected.
>         In a noscript element that is a child of a head element.
>     Content model for element body:
>         Flow content.
>
>     Error: Stray end tag head.
>
>     From line 45, column 1; to line 45, column 7
>
>     ↩</style>↩</head>↩↩<bod
>
>     Error: Start tag body seen but an element of the same type was already open.
>
>     From line 47, column 1; to line 47, column 24
>
>     ↩</head>↩↩<body BGCOLOR="#FFFFFF">↩↩<h1>
>
>     Fatal Error: Cannot recover after last error. Any further errors will be ignored.
>
>     From line 47, column 1; to line 47, column 24
>
>     ↩</head>↩↩<body BGCOLOR="#FFFFFF">↩↩<h1>




Information forwarded to bug-hyperbole <at> gnu.org:
bug#58371; Package hyperbole. (Sun, 12 Mar 2023 22:22:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mats Lidell <matsl <at> gnu.org>
To: rswgnu <at> gmail.com
Cc: David Masterson <dsmasterson <at> gmail.com>, bug-hyperbole <at> gnu.org,
 emacs-org list <emacs-orgmode <at> gnu.org>, Robert Weiner <rsw <at> gnu.org>
Subject: Re: bug#58371: Org and Hyperbole
Date: Sun, 12 Mar 2023 23:20:54 +0100
> Jean Louis writes:
> * Robert Weiner <rsw <at> gnu.org> [2022-10-04 09:29]:
> > Another good thought.  Anyone can add an embeddable export of Koutlines; I
> > don't think we'll find time to do that in the mainline development branch
> > though.
>
> Creating HTML export that is messy has greater impact on people, no
> matter of popularity of the package. 
>
> KOTL may be said to be specialized lightweight markup language as it
> has export to HTML and various features. Thus authors shall put care
> on proper HTML and including on the fact that all lightweight markup
> languages allow export without headers and footers, for the reason to
> insert the information into ready HTML templates.
>
> Verify it here: https://validator.w3.org/nu/#file
> by using KOTL EXAMPLE:

Thanks for the report. The export should now produce HTML that passes the validation. It is available at elpa-devel.

Work on exporting embedded HTML still remains.

%% Mats




This bug report was last modified 1 year and 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.