In fact it looks like whether the soft hyphen shows up in mid line depends
on the following character.

   <itemizedlist>
>     <listitem><para><literal>..</literal></para></listitem>
>     <listitem><para><literal>. .</literal></para></listitem>
>     <listitem><para><literal>.</literal></para></listitem>
>     <listitem><para><literal>.]</literal></para></listitem>
>     <listitem><para><literal>.\</literal></para></listitem>
>     <listitem><para><literal>."</literal></para></listitem>
>     <listitem><para><literal>.a</literal></para></listitem>
>     <listitem><para><literal>.Z</literal></para></listitem>
>    </itemizedlist>


produces the following in the PDF:

• .-­.
> • . .
> • .
> • .­-]
> • .\
> • .-­"
> • .a
> • .Z


Mark


On Thu, Apr 18, 2013 at 3:23 PM, Mark Craig <[email protected]> wrote:

> Hello,
>
> Apologies if this is really a FOP question. I'm a bit out of my depth.
>
> I've added some FO customization based on Bob Stayton's helpful suggestion
> on putting hyphenation within table 
> cells<http://www.mail-archive.com/[email protected]/msg05030.html>,
> adding soft hyphens after . in <literal>.
>
> For most of the text the customization works exactly as desired in PDF.
> For example, inside of a <para>,
> <literal>com.iplanet.am.sdk.caching.enabled</literal> shows up split where
> necessary.
>
> You must explicitly set this property to true, because setting com.-
>> iplanet.am.sdk.caching.enabled to false in the previous step disables
>> both user and configuration data caching.
>
>
> I have many examples of this working throughout the documentation I'm
> working on, and it is particularly helpful in table cells.
>
> Unfortunately, in some cases, such as <term><literal>userattr =
> "[parent[child-level].]attr#GROUPDN|USERDN"</literal></term>, the soft
> hyphen shows up after the . even though the line does not break. (I've
> replaced the soft hyphen in the following with a hyphen so you can see what
> I mean.)
>
> userattr = "[parent[child-level].­-]attr#GROUPDN|USERDN"
>
>
> What should I do to avoid the soft hyphen appearing in the PDF in such
> cases?
>
> Thanks for your time and your help,
> Mark
>

Reply via email to