[xep-support] Re: Line breaking at a hyphen mark

From: Pilecki Konstanty <KPilecki@wolterskluwer.pl>
Date: Thu Aug 07 2014 - 02:46:45 PDT

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 (&#x00AD;) and a zero-width space (&#x200B;) characters before the hyphen mark and a joiner character (&#x2060;) 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 Rejestru 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

Received on Thu Aug 7 10:01:07 2014

This archive was generated by hypermail 2.1.8 : Thu Aug 07 2014 - 10:01:14 PDT