Re: [NTG-context] Issues of Export
On 8/27/2015 11:33 AM, Henning Hraban Ramm wrote: Another one: Previously, section nodes had an implicit attribute with an id, I used that to conveniently splitting my book into chapters. Now it’s missing - is there a reason, or can I setup something to get it back? it's sort of present but not in sync (some elements get it) ... fixed in next beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues of Export
Another one: Previously, section nodes had an implicit attribute with an id, I used that to conveniently splitting my book into chapters. Now it’s missing - is there a reason, or can I setup something to get it back? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues of export (structure bug)
On 8/24/2015 6:38 AM, Henning Hraban Ramm wrote: Am 2015-08-21 um 23:04 schrieb Hans Hagen pra...@wxs.nl: from \startchapter[title=Something] ... \stopchapter \startchapter[title={Something Else}] ... \stopchapter I get in *—raw.xml: ... /sectioncontent sectiontitleSomething Else/sectiontitle /section section detail=chapter chain=chapter level=2 implicit=4 sectioncontent … That means, the title of a section is at the end of the previous section. Please fix! Sorry, making a minimal example helps as usual. My description was partly wrong: The section title is moved to the end of its own section. It is caused by using a layer: There is not much we can do about it. The export is not based on the input but on the way the input is used (basically we reconstruct). The solution for that is - use xml as input and transform that - use tex but use a different style for generating the export (this can be a rather basic one in this case: \startnotmode[*export] \setlayer[satzspiegel]{\externalfigure[koe]} \setupbackgrounds[text][background=satzspiegel] \stopnotmode or so (the export system mode is set automatically). I'll add an export flag to the runner: context foo --export Hans — \setupbackend[export=yes] \definelayer[satzspiegel][ width=\textwidth,height=\textheight, location={left,bottom}, x=\textwidth,y=0mm] \starttext \startchapter[title={Chapter Two}] %\input tufte \setlayer[satzspiegel]{\externalfigure[koe]} \setupbackgrounds[text][background=satzspiegel] \input tufte \stopchapter \stoptext — from that I get: — document date=Mon Aug 24 10:32:56 2015 context=2015.08.21 19:57 version=0.34 xmlns:m=http://www.w3.org/1998/Math/MathML; file=structurebug language=en metadata /metadata section detail=chapter chain=chapter implicit=1 level=2 sectioncontent image label=3.054cm height=3.054cm id=image-1 width=4.072cm name=koe/image We thrive in information ... from the goats. /sectioncontent sectionnumber1/sectionnumber sectiontitleChapter Two/sectiontitle /section /document — If I uncomment the first \input, the picture is still at the beginning of the chapter and its title at the end. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues of export (structure bug)
Am 2015-08-21 um 23:04 schrieb Hans Hagen pra...@wxs.nl: from \startchapter[title=Something] ... \stopchapter \startchapter[title={Something Else}] ... \stopchapter I get in *—raw.xml: ... /sectioncontent sectiontitleSomething Else/sectiontitle /section section detail=chapter chain=chapter level=2 implicit=4 sectioncontent … That means, the title of a section is at the end of the previous section. Please fix! Sorry, making a minimal example helps as usual. My description was partly wrong: The section title is moved to the end of its own section. It is caused by using a layer: — \setupbackend[export=yes] \definelayer[satzspiegel][ width=\textwidth,height=\textheight, location={left,bottom}, x=\textwidth,y=0mm] \starttext \startchapter[title={Chapter Two}] %\input tufte \setlayer[satzspiegel]{\externalfigure[koe]} \setupbackgrounds[text][background=satzspiegel] \input tufte \stopchapter \stoptext — from that I get: — document date=Mon Aug 24 10:32:56 2015 context=2015.08.21 19:57 version=0.34 xmlns:m=http://www.w3.org/1998/Math/MathML; file=structurebug language=en metadata /metadata section detail=chapter chain=chapter implicit=1 level=2 sectioncontent image label=3.054cm height=3.054cm id=image-1 width=4.072cm name=koe/image We thrive in information ... from the goats. /sectioncontent sectionnumber1/sectionnumber sectiontitleChapter Two/sectiontitle /section /document — If I uncomment the first \input, the picture is still at the beginning of the chapter and its title at the end. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues of Export
On 8/15/2015 1:20 PM, Henning Hraban Ramm wrote: Hi, finally coming back... Am 2015-08-10 um 23:21 schrieb Hans Hagen pra...@wxs.nl: On 8/10/2015 10:30 AM, Henning Hraban Ramm wrote: As listed on http://wiki.contextgarden.net/Export Open Export issues as of 2014-01-20, still valid 2015-08-08 • Structure bug: Metadata ends up within the first section instead of in front of everything ok, fixed for document level ... keep in mind that setting metadata always relates to the next element Thanks, for me it’s good now. • Names of metavariables are missing in div.xhtml ok, i've added something Works. Not that important anyway. • Notes (footnotes): Only visual formatting, no semantical markup and no reference/ID boring, so todo Hey, I thought TeX would be about semantical markup? At the moment the markup for footnotes is purely graphical - a marker in the text, and the footnote somewhere later (where it appears on the printed page). E.g. Bla bladescriptionsymbol detail=footnotesup1/sup/descriptionsymbol bla bla ba break/...description detail=footnote chain=footnotedescriptiontagsup1/sup /descriptiontagdescriptioncontentThis is the footnote text/descriptioncontent/description That makes no sense and is very hard to process, even using xsl. I would suggest to stay with the source flow instead of the output, if possible. E.g. markup like Bla bladescription detail=footnote id=1 tag=1Footnote text/description The id would be some internal id (I guess there is one?), the tag the footnote marker (as of \setupnotes). Is that not possible and even simpler than the current version? the code is there but its use got lost when updating something else (an id 'insert' that links the note and symbol) btw, if you want them someplace else in the stream using end nodes makes sense • Delimited: Quotations have tagging *and* quotation marks, even in raw.xml i added symbol and content element Less would be enough, but works this way. • Firstpage/Lastpage is ignored in project structure fuzzy, so todo The keywords are defined in setup, I don’t understand where they get forgotten. • Minimal example doesn’t create a cover at all no beta yet ? Is this intentional, or what triggers the creation of cover.xhtml? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues of export (structure bug)
On 8/17/2015 1:56 PM, Henning Hraban Ramm wrote: Hi, there’s another structure bug in export: from \startchapter[title=Something] ... \stopchapter \startchapter[title={Something Else}] ... \stopchapter I get in *—raw.xml: ... /sectioncontent sectiontitleSomething Else/sectiontitle /section section detail=chapter chain=chapter level=2 implicit=4 sectioncontent … That means, the title of a section is at the end of the previous section. Please fix! i get section detail=chapter chain=chapter level=2 implicit=1 sectionnumber1/sectionnumber sectiontitleSomething/sectiontitle sectioncontent ... /sectioncontent /section section detail=chapter chain=chapter level=2 implicit=2 sectionnumber2/sectionnumber sectiontitleSomething Else/sectiontitle sectioncontent ... /sectioncontent /section - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Issues of export (structure bug)
Hi, there’s another structure bug in export: from \startchapter[title=Something] ... \stopchapter \startchapter[title={Something Else}] ... \stopchapter I get in *—raw.xml: ... /sectioncontent sectiontitleSomething Else/sectiontitle /section section detail=chapter chain=chapter level=2 implicit=4 sectioncontent … That means, the title of a section is at the end of the previous section. Please fix! Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues of Export
Hi, finally coming back... Am 2015-08-10 um 23:21 schrieb Hans Hagen pra...@wxs.nl: On 8/10/2015 10:30 AM, Henning Hraban Ramm wrote: As listed on http://wiki.contextgarden.net/Export Open Export issues as of 2014-01-20, still valid 2015-08-08 • Structure bug: Metadata ends up within the first section instead of in front of everything ok, fixed for document level ... keep in mind that setting metadata always relates to the next element Thanks, for me it’s good now. • Names of metavariables are missing in div.xhtml ok, i've added something Works. Not that important anyway. • Notes (footnotes): Only visual formatting, no semantical markup and no reference/ID boring, so todo Hey, I thought TeX would be about semantical markup? At the moment the markup for footnotes is purely graphical - a marker in the text, and the footnote somewhere later (where it appears on the printed page). E.g. Bla bladescriptionsymbol detail=footnotesup1/sup/descriptionsymbol bla bla ba break/...description detail=footnote chain=footnotedescriptiontagsup1/sup /descriptiontagdescriptioncontentThis is the footnote text/descriptioncontent/description That makes no sense and is very hard to process, even using xsl. I would suggest to stay with the source flow instead of the output, if possible. E.g. markup like Bla bladescription detail=footnote id=1 tag=1Footnote text/description The id would be some internal id (I guess there is one?), the tag the footnote marker (as of \setupnotes). Is that not possible and even simpler than the current version? • Delimited: Quotations have tagging *and* quotation marks, even in raw.xml i added symbol and content element Less would be enough, but works this way. • Firstpage/Lastpage is ignored in project structure fuzzy, so todo The keywords are defined in setup, I don’t understand where they get forgotten. • Minimal example doesn’t create a cover at all no beta yet ? Is this intentional, or what triggers the creation of cover.xhtml? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues of Export
On 8/10/2015 10:30 AM, Henning Hraban Ramm wrote: As listed on http://wiki.contextgarden.net/Export Open Export issues as of 2014-01-20, still valid 2015-08-08 • Structure bug: Metadata ends up within the first section instead of in front of everything ok, fixed for document level ... keep in mind that setting metadata always relates to the next element • Names of metavariables are missing in div.xhtml ok, i've added something • Notes (footnotes): Only visual formatting, no semantical markup and no reference/ID boring, so todo • Delimited: Quotations have tagging *and* quotation marks, even in raw.xml i added symbol and content element • Firstpage/Lastpage is ignored in project structure fuzzy, so todo • Minimal example doesn’t create a cover at all no beta yet - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Issues of Export
As listed on http://wiki.contextgarden.net/Export Open Export issues as of 2014-01-20, still valid 2015-08-08 • Structure bug: Metadata ends up within the first section instead of in front of everything • Names of metavariables are missing in div.xhtml • Notes (footnotes): Only visual formatting, no semantical markup and no reference/ID • Delimited: Quotations have tagging *and* quotation marks, even in raw.xml • Firstpage/Lastpage is ignored in project structure • Minimal example doesn’t create a cover at all Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues in export
Am 2015-01-20 um 14:52 schrieb Henning Hraban Ramm te...@fiee.net: Ok, I’ll start a wishlist. See http://wiki.contextgarden.net/Export#Open_Issues Another issue: Quotations show up like delimited detail=quotation-1“Prophet!”/delimited The tagging is fine, even if I don’t understand „-1“, but the quotation marks are too much, at least in *-raw.xml Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues in export
Am 2015-01-19 um 15:44 schrieb Hans Hagen pra...@wxs.nl: In raw.xml I’d prefer something like Quothdescription detail=footnote id=1by Edgar Allan Poe/description or Quothdescription detail=footnote id=1 / ... description detail=footnote id=1 descriptiontag1/descriptiontag descriptioncontentby Edgar Allan Poe/descriptioncontent /description and in div.xhtml something that works in HTML, like a title: Well, basically the export is visual with a few goodies; a footnote is nothing special unless i intercept it as such and even then it would be 'note' and again something generic it's probably no big deal to provide the crosslinked reference between the items but that would then not be '1' because there can be many 1's. Just collect such wishes and i can look at it when i'm in epub mode again. Visual might be ok, but please leave out „hard“ formatting like sup. The 1 is just a placeholder - doesn’t ConTeXt have some suitable internal ID? Ok, I’ll start a wishlist. Quothdiv class=descriptionsymbol footnote title=by Edgar Allan Poediv class=sup1/div/div That would be kind of arbitrary and unnatural: why should some content (of a description) suddenly end up as an attribute title. Just because it works in HTML. Of course it wouldn’t work with long or nested footnotes. And of course it’s a matter of taste (and usage of notes) if it makes sense to keep notes at the noted text. or a link: Quotha href=#footnote_1div class=descriptionsymbol footnotediv class=sup1/div/div/a … a name=„footnote_1“ div class=description footnote div class=descriptiontagdiv class=sup1/div /div div class=descriptioncontentby Edgar Allan Poe/div /div /a an automated link (when no reference is given) sounds ok Also here I’d use an unique note ID as anchor. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues in export
On 1/20/2015 10:19 AM, Henning Hraban Ramm wrote: Am 2015-01-20 um 14:52 schrieb Henning Hraban Ramm te...@fiee.net: Ok, I’ll start a wishlist. See http://wiki.contextgarden.net/Export#Open_Issues Another issue: Quotations show up like delimited detail=quotation-1“Prophet!”/delimited The tagging is fine, even if I don’t understand „-1“, but the quotation marks are too much, at least in *-raw.xml i can tag them (just add it to the wishlist) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues in export
On 1/20/2015 9:52 AM, Henning Hraban Ramm wrote: Am 2015-01-19 um 15:44 schrieb Hans Hagen pra...@wxs.nl: In raw.xml I’d prefer something like Quothdescription detail=footnote id=1by Edgar Allan Poe/description or Quothdescription detail=footnote id=1 / ... description detail=footnote id=1 descriptiontag1/descriptiontag descriptioncontentby Edgar Allan Poe/descriptioncontent /description and in div.xhtml something that works in HTML, like a title: Well, basically the export is visual with a few goodies; a footnote is nothing special unless i intercept it as such and even then it would be 'note' and again something generic it's probably no big deal to provide the crosslinked reference between the items but that would then not be '1' because there can be many 1's. Just collect such wishes and i can look at it when i'm in epub mode again. Visual might be ok, but please leave out „hard“ formatting like sup. well, that would demand a lot more analysis as technically it can be a quote or whatever a user has set up ... keep in mind that we start from typesetting and not abstractions with prescribed rules (so we cannto demand users to stick to only things that html likes) if needed i can tag the symbols so that they can be nilled in a css The 1 is just a placeholder - doesn’t ConTeXt have some suitable internal ID? it often has but not exclusive (it can use a namespaces so there can be several 1's) Ok, I’ll start a wishlist. ok Quothdiv class=descriptionsymbol footnote title=by Edgar Allan Poediv class=sup1/div/div That would be kind of arbitrary and unnatural: why should some content (of a description) suddenly end up as an attribute title. Just because it works in HTML. Of course it wouldn’t work with long or nested footnotes. And of course it’s a matter of taste (and usage of notes) if it makes sense to keep notes at the noted text. 'it works in html' is a weak argument (as html is a rather messy evolved bunch of tags) .. what works now (or worked in the past) can be different (or depricated) in the future (take mathml: chrome dropped it) i think that all these special cases also depend on the usage so there is always the option of some css or xslt juggling .. the export can only provide the info (and even then only info is has) or a link: Quotha href=#footnote_1div class=descriptionsymbol footnotediv class=sup1/div/div/a … a name=„footnote_1“ div class=description footnote div class=descriptiontagdiv class=sup1/div /div div class=descriptioncontentby Edgar Allan Poe/div /div /a an automated link (when no reference is given) sounds ok Also here I’d use an unique note ID as anchor. a footnote is a note which is a combination of a floating object and a notation which is a kind of description which itself is ... there can be all kind of notes not even being footnotes and although there is some relation and in most cases only 'footnotes' it will always need some care in the final 'epub' i can provide some crosslink info (although that will be overridden when a user gives explicit references) (footnotes in an epub are kind of not-done anyway) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues in export
On 1/17/2015 5:15 PM, Henning Hraban Ramm wrote: Hi, please consider the example at http://wiki.contextgarden.net/Export#More_useful_example and its result at http://wiki.contextgarden.net/Export#raw.xml_2 etc. The metadata tags end up within the first section (in this case: chapter), even if they’re defined before \starttext. Please fix, thanks. Further, I wonder about the tagging of footnotes (and probably other references, didn’t look into them yet): This is completely visual instead of semantical: (in *-raw.xml:) Quothdescriptionsymbol detail=footnotesup1/sup/descriptionsymbol ... description detail=footnote chain=footnote descriptiontagsup1/sup /descriptiontag descriptioncontentby Edgar Allan Poe/descriptioncontent /description (in *-div.xhtml:) Quothdiv class=descriptionsymbol footnotediv class=sup1/div/div ... div class=description footnote div class=descriptiontagdiv class=sup1/div /div div class=descriptioncontentby Edgar Allan Poe/div /div In raw.xml I’d prefer something like Quothdescription detail=footnote id=1by Edgar Allan Poe/description or Quothdescription detail=footnote id=1 / ... description detail=footnote id=1 descriptiontag1/descriptiontag descriptioncontentby Edgar Allan Poe/descriptioncontent /description and in div.xhtml something that works in HTML, like a title: Well, basically the export is visual with a few goodies; a footnote is nothing special unless i intercept it as such and even then it would be 'note' and again something generic it's probably no big deal to provide the crosslinked reference between the items but that would then not be '1' because there can be many 1's. Just collect such wishes and i can look at it when i'm in epub mode again. Quothdiv class=descriptionsymbol footnote title=by Edgar Allan Poediv class=sup1/div/div That would be kind of arbitrary and unnatural: why should some content (of a description) suddenly end up as an attribute title. or a link: Quotha href=#footnote_1div class=descriptionsymbol footnotediv class=sup1/div/div/a … a name=„footnote_1“ div class=description footnote div class=descriptiontagdiv class=sup1/div /div div class=descriptioncontentby Edgar Allan Poe/div /div /a an automated link (when no reference is given) sounds ok Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Issues in export
Hi, please consider the example at http://wiki.contextgarden.net/Export#More_useful_example and its result at http://wiki.contextgarden.net/Export#raw.xml_2 etc. The metadata tags end up within the first section (in this case: chapter), even if they’re defined before \starttext. Please fix, thanks. Further, I wonder about the tagging of footnotes (and probably other references, didn’t look into them yet): This is completely visual instead of semantical: (in *-raw.xml:) Quothdescriptionsymbol detail=footnotesup1/sup/descriptionsymbol ... description detail=footnote chain=footnote descriptiontagsup1/sup /descriptiontag descriptioncontentby Edgar Allan Poe/descriptioncontent /description (in *-div.xhtml:) Quothdiv class=descriptionsymbol footnotediv class=sup1/div/div ... div class=description footnote div class=descriptiontagdiv class=sup1/div /div div class=descriptioncontentby Edgar Allan Poe/div /div In raw.xml I’d prefer something like Quothdescription detail=footnote id=1by Edgar Allan Poe/description or Quothdescription detail=footnote id=1 / ... description detail=footnote id=1 descriptiontag1/descriptiontag descriptioncontentby Edgar Allan Poe/descriptioncontent /description and in div.xhtml something that works in HTML, like a title: Quothdiv class=descriptionsymbol footnote title=by Edgar Allan Poediv class=sup1/div/div or a link: Quotha href=#footnote_1div class=descriptionsymbol footnotediv class=sup1/div/div/a … a name=„footnote_1“ div class=description footnote div class=descriptiontagdiv class=sup1/div /div div class=descriptioncontentby Edgar Allan Poe/div /div /a Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___