Ahoi, I never managed to get a proper eBook from a project, the content was mostly missing, a whole while even \setupbackend[export=yes] led to an error. At least that I don’t get an error any more, I’ll try to debug the missing content later. One bug I can nail down is: As soon as I add \setupbackend[export=yes] to my environment, all hyphens are lost! I.e. hyphenation takes place, but there’s no hyphen (an no space left for it). That doesn’t happen in a single document, so I can’t provide a minimal example. (Yesterday’s beta MkIV on OSX-Intel) Greetlings, Hraban
Hello, I followed Marco's description on tex.sx with quite good results. http://tex.stackexchange.com/q/43052/8631 He explicitly states: "Hyphenation is also present. ConTeXt inserts soft hyphen (0x00AD) characters where hyphenation is possible, which enables the browser to justify the paragraphs." Although a quick check of my xml file shows, that there is no hyphenation in Safari and there are no 0x00AD characters I can find with a Hex-Editor. Maybe you could try with different viewers/browsers, because if there is an 0x00AD in the source, doesn't the viewer have to take care of the actual hyphenation? Andy On 04.06.2012, at 10:55, Henning Hraban Ramm wrote:
Ahoi,
I never managed to get a proper eBook from a project, the content was mostly missing, a whole while even \setupbackend[export=yes] led to an error. At least that I don’t get an error any more, I’ll try to debug the missing content later.
One bug I can nail down is: As soon as I add \setupbackend[export=yes] to my environment, all hyphens are lost! I.e. hyphenation takes place, but there’s no hyphen (an no space left for it). That doesn’t happen in a single document, so I can’t provide a minimal example.
(Yesterday’s beta MkIV on OSX-Intel)
Greetlings, Hraban ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Am 2012-06-04 um 11:14 schrieb Andy Thomas:
Hello, I followed Marco's description on tex.sx with quite good results. http://tex.stackexchange.com/q/43052/8631
Thanks for the link!
He explicitly states: "Hyphenation is also present. ConTeXt inserts soft hyphen (0x00AD) characters where hyphenation is possible, which enables the browser to justify the paragraphs." Although a quick check of my xml file shows, that there is no hyphenation in Safari and there are no 0x00AD characters I can find with a Hex-Editor. Maybe you could try with different viewers/browsers, because if there is an 0x00AD in the source, doesn't the viewer have to take care of the actual hyphenation?
I meant hyphenation in the PDF; I don’t yet care about the XML/XHTML, since it’s broken/incomplete anyway. (I need to get the PDF to the printer first, then care about the eBook, just ried to include the setup from start.) Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
On 2012-06-04 Andy Thomas
He explicitly states: "Hyphenation is also present. ConTeXt inserts soft hyphen (0x00AD) characters where hyphenation is possible, which enables the browser to justify the paragraphs." Although a quick check of my xml file shows, that there is no hyphenation in Safari and there are no 0x00AD characters I can find with a Hex-Editor.
Don't inspect the XML rendered by the browser. Open the XML file directly with an editor. I don't know if the soft hyphens survive being digested by my mail agent, but the source contains 0x00AD characters: The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. It would be happening whether humans had ever evolved or not.
Maybe you could try with different viewers/browsers, because if there is an 0x00AD in the source, doesn't the viewer have to take care of the actual hyphenation?
Exactly, and it works fine here, even with an ancient version of Firefox (4.0) Marco
participants (3)
-
Andy Thomas
-
Henning Hraban Ramm
-
Marco