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

From: Kevin Brown <kevin@renderx.com>
Date: Wed Aug 06 2014 - 12:25:13 PDT

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
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,53e2179f10101525514578!

_______________________________________________
(*) 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 Wed Aug 6 19:39:50 2014

This archive was generated by hypermail 2.1.8 : Wed Aug 06 2014 - 19:39:51 PDT