Hi Kevin,
any update on this? In Czech typography this is common requirement aswell. I wasn't able to achieve desired results even by injecting variousspecial characters into the point, where break can occur on hyphenationcharacter.
Thanks in advance,
Jirka
On Thu, Aug 7, 2014, at 11:46, Pilecki Konstanty wrote:> Hello Kevin,> > There is a sample FO document attached here. The one is perfectly> rendered by AH Formatter (see the PDF file). I would like to have the> same result using XEP RenderX. Is it possible?> Please pay attention, that an additional hyphen occurs on a trailing> line if and only if the line is broken at the place, where two words are> joined with a hyphen mark. Such are the demands of the Polish> orthography.> > Regards,> Konstanty> > From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of> Kevin Brown> Sent: Wednesday, August 06, 2014 9:25 PM> To: 'RenderX Community Support List'> Subject: [xep-support] Re: Line breaking at a hyphen mark> > Without a sample, it's hard to see what exactly you desire.> Certainly there is no design in the engine to automatically insert the> start hyphen on the trailing line, it can and does at the break on the> end of the line, but not at the start of the following line.> > Hyphena-> -tion> >
I drew in this fashion as typically the hyphens would be outside the> bounds of the flow, not inside.> > If you are inserting them manually, why not just insert a linefeed,> followed an inline with negative padding if you wish it to be inside the> left margin?> So I do not understand I guess.> > If you wish them "automatically" when hyphenation occurs, I am not sure> there is even a solution even in modification of the intermediate format.> One would need to search and find all places hyphenation was inserted and> insert something on the next line ... which becomes difficult in> understanding "next line" especially in tables or across pages.> > Kevin Brown> RenderX> > > > > From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of> Pilecki Konstanty> Sent: Wednesday, August 06, 2014 4:40 AM> To: xep-support@renderx.com<mailto:xep-support@renderx.com>> Subject: [xep-support] Line breaking at a hyphen mark> > Hello,> > My problem concerns a hyphenation. Let us have a piece of text with a> hyphen,
for example Sklodowska-Curie. When the text has been broken by a> RenderX after the hyphen, I would like to achieve an additional hyphen> mark at the beginning of the new line, as follow: Sklodowska-/-Curie (but> not: Sklodowska-/Curie).> > I have tried to resolve the problem adding, sequentially, a soft-hyphen> (­) and a zero-width space (​) characters before the hyphen> mark and a joiner character (⁠) after it. The result is quite good> but, unfortunately, the joiner character is unnecessarily visible in the> text rendered to PDF (as a rectangle mark). Is there any better way to> manage this problem?> > I would be grateful for any advice.> > Regards,> > Konstanty> > > ________________________________> Niniejszy e-mail może zawierać informacje poufne, a nadto może stanowić> przedmiot praw własności intelektualnej i/lub tajemnicę przedsiębiorstwa> Wolters Kluwer S.A., ul. Przyokopowa 33, 01-208 Warszawa, Sąd Rejonowy> dla m.st. Warszawy Wydział XII Gospodarczy Krajowego Rejest
ru Sądowego> (miejsce przechowywania dokumentacji spółki), KRS 0000441434, NIP> 583-001-89-31, REGON 190610277, kapitał zakładowy 5.162..518 PLN> (wpłacony w całości). Jeśli nie jest Pan/Pani adresatem niniejszego> e-maila, uprasza się o niezwłoczne zawiadomienie nadawcy o jego> otrzymaniu oraz o jego usunięcie. Jakiekolwiek wykorzystanie, w tym> rozpowszechnianie lub ujawnianie, niniejszego e-maila jest zakazane.> > > > !DSPAM:87,53e34b1910101294768012!> _______________________________________________> (*) To unsubscribe, please visit> http://lists.renderx.com/mailman/options/xep-support> (*) By using the Service, you expressly agree to these Terms of Service> http://w> ww.renderx.com/terms-of-service.html> Email had 2 attachments:> + soft-hyphen-example_ah.pdf> 60k (application/pdf)> + soft-hyphen-example.fo> 4k (application/octet-stream)
-- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka_AT_kosek.cz http://xmlguru.cz------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member------------------------------------------------------------------
_______________________________________________(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu Sep 17 05:57:56 2015
This archive was generated by hypermail 2.1.8 : Thu Sep 17 2015 - 05:58:13 PDT