Hi,

another complete example:

<?xml version="1.0" encoding="UTF-8"?>
<d:article xmlns:d="http://docbook.org/ns/docbook"; xml:id="4292612">
  <d:info>
    <d:title>Home</d:title>
    <d:authorgroup>
      <d:author>
        <d:personname>
          <d:surname>Tobias</d:surname>
        </d:personname>
      </d:author>
    </d:authorgroup>
  </d:info>
  <d:section xml:id="4292615">
    <d:title>1</d:title>
    <d:para>Lorem ipsum dolor sit amet, ...</d:para>
    <d:section xml:id="4292615_1-H1">
      <d:title>H1</d:title>
      <d:para>Lorem ipsum dolor sit amet, ...</d:para>
    </d:section>
  </d:section>
  <d:section xml:id="4292617">
    <d:title>2</d:title>
    <d:para>Lorem ipsum dolor sit amet, ...</d:para>
    <d:section xml:id="4292617_2-H2">
      <d:title>H2</d:title>
      <d:para>
        <d:xref linkend="4292615" />
      </d:para>
      <d:para>Lorem ipsum dolor sit amet, ...</d:para>
    </d:section>
  </d:section>
</d:article>


;) Tobias

On Tue, May 19, 2009 at 7:55 PM, Tobias Anstett [k15t.com]
<[email protected]> wrote:
> Hi,
>
> Just checked the DocBook source:
>
> We are using "Internal link with generated text" e.g.:
>  <d:xref linkend="4915345" /> where d is set to
> xmlns:d="http://docbook.org/ns/docbook";
>
> This link should refer to
> <d:section xml:id="4915345">
>
> we also have links contained within the section with id:
> <d:section xml:id="4915345_sometext">
>
> when clicking on the link I am always redirected to the top of the
> page containing the target.
>
> Any ideas?
>
> Cheers,
> Tobias
>
>
> On Tue, May 19, 2009 at 7:38 PM, Tobias Anstett [k15t.com]
> <[email protected]> wrote:
>> Hi Bob,
>>
>> still have the problems... Would showing a DocBook snippet help to
>> find the problem?
>>
>> Cheers,
>> Tobias
>>
>> On Fri, May 15, 2009 at 1:02 AM, Bob Stayton <[email protected]> wrote:
>>> Sorry, that sounded like I'm using Acrobat as my XSL-FO processor.  I'm
>>> using XEP 4.13 and FOP 0.95, and browsing with Acrobat Pro 9.  When I
>>> enlarge the page so only part of the vertical span of the page is showing,
>>> the links scroll the page to show the title near the top of the window.
>>>
>>> Bob Stayton
>>> Sagehill Enterprises
>>> [email protected]
>>>
>>>
>>> ----- Original Message ----- From: "Bob Stayton" <[email protected]>
>>> To: "Tobias Anstett [k15t.com]" <[email protected]>
>>> Cc: <[email protected]>; "docbook-apps"
>>> <[email protected]>
>>> Sent: Thursday, May 14, 2009 3:59 PM
>>> Subject: Re: [docbook-apps] Link location
>>>
>>>
>>> Well, we seem to be getting different behavior.  What XSL-FO processor are
>>> you using?  I'm using Adobe Acrobat Professional 9.0.  Perhaps someone else
>>> could test this as well?
>>>
>>> Bob Stayton
>>> Sagehill Enterprises
>>> [email protected]
>>>
>>>
>>> ----- Original Message ----- From: "Tobias Anstett [k15t.com]"
>>> <[email protected]>
>>> To: "Bob Stayton" <[email protected]>
>>> Cc: <[email protected]>; "docbook-apps"
>>> <[email protected]>
>>> Sent: Wednesday, May 13, 2009 3:32 PM
>>> Subject: Re: [docbook-apps] Link location
>>>
>>>
>>> hi Bob,
>>>
>>> Yes that is exactly what I'd like to have. I am using Adobe Acrobat
>>> Professional and it always jumps to the top of the page.
>>>
>>> Cheers,
>>> Tobias
>>>
>>> On Wed, May 13, 2009 at 6:52 PM, Bob Stayton <[email protected]> wrote:
>>>>
>>>> It seems to already do that. If I enlarge the PDF pages and follow a link,
>>>> the page scrolls down to show the target section title near the top of the
>>>> screen. Is that what you were asking about? Does your PDF browser not do
>>>> that?
>>>>
>>>> Bob Stayton
>>>> Sagehill Enterprises
>>>> [email protected]
>>>>
>>>>
>>>> ----- Original Message ----- From: "Tobias Anstett [k15t.com]"
>>>> <[email protected]>
>>>> To: <[email protected]>
>>>> Cc: "docbook-apps" <[email protected]>
>>>> Sent: Wednesday, May 13, 2009 7:06 AM
>>>> Subject: Re: [docbook-apps] Link location
>>>>
>>>>
>>>> Hi,
>>>>
>>>> sorry I shouldn't have used the term hyperlink, I meant xref - I am
>>>> transforming DocBook -> FO -> PDF.
>>>>
>>>> Do you have an example for this too?
>>>>
>>>> Cheers,
>>>> Tobias
>>>>
>>>> On Wed, May 13, 2009 at 3:14 PM, <[email protected]> wrote:
>>>>>
>>>>> Yes but make sure you have an ID for the actual place in the HTML. I had
>>>>> this problem and had to do with the section ID. You need to drill down to
>>>>> the exact spot to make it work. I could dig out the example if you really
>>>>> need it.
>>>>>
>>>>>
>>>>>
>>>>> "Tobias Anstett
>>>>> [k15t.com]"
>>>>> <[email protected]> To
>>>>> docbook-apps
>>>>> 05/12/2009 05:25 <[email protected]>
>>>>> PM cc
>>>>>
>>>>> Subject
>>>>> [docbook-apps] Link location
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> is it possible for the internal hyperlinks to link directly to the
>>>>> relevant heading on the page rather than just to the top of the page?
>>>>>
>>>>> --
>>>>> Cheers,
>>>>> Tobias
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [email protected]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> **********
>>>>>
>>>>> The information contained in this communication is confidential, private,
>>>>> proprietary, or otherwise privileged and is intended only for the use of
>>>>> the
>>>>> addressee. Unauthorized use, disclosure, distribution or copying is
>>>>> strictly
>>>>> prohibited and may be unlawful. If you have received this communication
>>>>> in
>>>>> error, please notify the sender immediately at (312)653-6000 in Illinois;
>>>>> (800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; or (972)766-6900
>>>>> in
>>>>> Texas.
>>>>>
>>>>> **********
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Cheers,
>>>> Tobias
>>>>
>>>>
>>>> ________
>>>> K15t Software UG (haftungsbeschränkt), http://www.k15t.com
>>>> Rosenbergstr. 58, 70176 Stuttgart, GERMANY
>>>> Registration: Stuttgart HRB 729752, VAT ID: t.b.a.
>>>> Geschäftsführer (CEO): Klaus-Dieter Krüger
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to