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


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

Re: Fix for table cell indents and margins in PDF files


Dan York <dyork@e-smith.com> writes:

> Next, I went into Norm's 1.62 DSSSL stylesheets, into the file
> 'print/dbtable.dsl' and did the following:
> 
> 1. Adjusted top and bottom cell margins by changing these two lines:
> 
>   (define %cals-cell-before-row-margin% 3pt)
>   (define %cals-cell-after-row-margin% 3pt)
> 
> 2. Adjusted the right side cell margin by modifying this line:
> 
>   (define %cals-cell-after-column-margin% 3pt)
> 
> 3. Adjusted the left side cell margin by first commenting out 
>    Adam Di Carlo's fix in the stylesheet:
> 
>      ;; seems to be a bug in JadeTeX -- we get a wierd indent on table
>      ;;   cells for the first line only.  This is a workaround.
>      ;; Adam Di Carlo, adam@onshore.com
>      (define %cals-cell-before-column-margin% 
>        (cond ((equal? (print-backend) 'tex)
>               0pt)
>              (else
>               3pt)))
> 
>    and replacing it with the single line:
> 
>      (define %cals-cell-before-column-margin% 3pt)

Norm, it seem that you can remove the hack I had done before working
around jade/jadetex problems that have been fixed.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


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