[xep-support] Encoding spaces at line ends and between words

Armin Günther guenther at zpid.de
Mon May 2 01:18:34 PDT 2016


Hi all,

Is there a way to control how spaces at line ends and between words with 
different styles are encoded into PDF? There seems to be no space 
encoded at line ends and between words with different styles (e.g. 
bold/italics/normal). When we use PDF annotation tools on our PDFs 
generated by XEP (or simply want to copy text from PDFs generated by 
XEP) words/lines are concatenated as in the following example taken from 
a RenderX demo document 
(http://www.renderx.com/files/demos/examples/CH11.pdf):

Gender, in contrast, is a *social,not* a biological characteristic. 
*Genderconsists* of *what-ever* behaviors and attitudes a group 
considers proper for its males and females. *Conse-quently*, gender 
varies from one society to another. Whereas *sexrefers* to male or 
*female,genderrefers* to masculinity or femininity. In short, you 
inherit your sex, but you *learnyour* gender as you are socialized into 
the behaviors and attitudes your culture asserts *areappropriate* for 
your sex.
*Text copied from http://www.renderx.com/files/demos/examples/CH11.pdf 
with *missing spaces*

Is there a way to have real spaces encoded and not just positioning of 
text in PDFs here? The result should look like this text:

Gender, in contrast, is a *social, not* a biological characteristic. 
*Gender consists* of *what- ever* behaviors and attitudes a group 
considers proper for its males and females. *Conse- quently*, gender 
varies from one society to another. Whereas *sex refers* to male or 
*female, gender refers* to masculinity or femininity. In short, you 
inherit your sex, but you *learn your* gender as you are socialized into 
the behaviors and attitudes your culture asserts *are appropriate* for 
your sex.

Thanks!
Armin


-- 
Dr. Armin Günther
Information Technology
Leibniz Institute for Psychology Information (ZPID)
54286 Trier, Germany

Fon: +49(0)651-201-2055
Fax: +49(0)651-201-2604
E-Mail: guenther at zpid.de
www.zpid.de/en




More information about the Xep-support mailing list