Thanks. Can I do that by just taking the .fo generated during the build and 
processing it with another FO processor?

(Not sure how to swap out the FO processor in docbkx-tools.)

Mark

On Apr 18, 2013, at 6:20 PM, Bob Stayton wrote:

> Was this example tested with another FO processor besides FOP?  That would 
> settle whether it is a FOP problem.
>  
> Bob Stayton
> Sagehill Enterprises
> [email protected]
> 
> From: Mark Craig
> Sent: Thursday, April 18, 2013 6:48 AM
> To: [email protected]
> Subject: [docbook-apps] Re: Eliminating soft hyphens shown in mid line?
> 
> 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, 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