This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: page numbers in TOC


Sorry, forgot to send the file with the email.
Im sending again.

[],s

On 28-Mar-00 Gershon Leib Joseph wrote:
> Carlos,
> 
> You have to run tex at least 3 times to get the print or PDF page numbers in
> TOC and xrefs resolved. In Word, to resolve all the xrefs and TOCs, you have
> to select all (Ctrl+A) and then update fields (F9).

Thanks

I used "jade -t tex..." 3 times and I got the RTF and the PDF with page numbers.

But, I still have 2 newbies problems

1. I am having  problems when trying to insert images (jpg) 

I want to insert a jpg image in my sgml document. Here's my sgml document.

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<book>
  <chapter>
    <title>Figure Test</title>
    <para>  
      <figure float="0">
        <title>Fig Test</title>
        <graphic align=center  fileref="image001.jpg"></graphic>
      </figure>
    </para>
  </chapter>
</book>

I use Norman DSSSL Stylesheets to get htlm and RTF versions. HTML works just
fine and RTF too.
But when I try to get the pdf version with pdftex I got the image bigger
then the A4 page.
How can I get the image inside the page in pdf versions?

Im sending a zip file with 
foo.sgml - sgml source
foo.tex  - tex generated with "jade -t tex"
foo.log  - tex log
foo.pdf  - pdf generate with pdftex 
image001.jpg - the image itself

Reading the foo.log I found this.
<--
<use image001.jpg>
Overfull \hbox (204.33096pt too wide) detected at line 562
 []
 []
[3]
Overfull \vbox (203.81622pt too high) has occurred while \output is active []
-->

So, I believe I forgot to do something or there is a better way to insert
images.

2. Getting cross references with pdftex.

My foo.pdf have cross references, the only problem is that the cross references
are inside a red box, like a html link. I saw some pdf files that also have
cross references but there is no red box around them. The foo.pdf that Im
sending with  the zip file have the references with the red box.
I would like to know how I can get the cross references withou the red box.

Thanks a lot for any help.

[]s

Carlos Eduardo Selonke de Souza
mailto:cess@matrix.com.br

-----BEGIN GEEK CODE BLOCK-----
Version:3.1
GE d+@ s+:+ a-- C+++ UB++> P+ !L E W++(+) N+> K- w--
!O !M V- PS+ PE+ Y PGP- t+ 5 X++ R- tv++ b++ DI++ D+
G e++ r+++ y+++
-----END GEEK CODE BLOCK------

foo.zip


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]