[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installation Manual: lines go outside of paper



Adam Di Carlo (adam@onshore-devel.com) wrote:
> Ardo van Rangelrooij <ardo@debian.org> writes:
> 
> > I'm looking into fixing this bug, so there is still hope.  I'll also take
> > a look at the SGML source to see whether these can be done differently.
> 
> Hmm, I saw this in the freeBSD DSSSL stylesheet, is it of any use:
> 
>         (define (urlwrap)
>           (let ((%factor% (if %verbatim-size-factor% 
> 			      %verbatim-size-factor% 
> 			      1.0)))
>           (make sequence
> 	    font-family-name: %mono-font-family%
> 	    font-size: (* (inherited-font-size) %factor%)
> 	    (make formatting-instruction data:
> 		  (string-append
> 		   "\\url|"
> 		   (data (current-node))
> 		   "|")))))
> 
>         (define (pathwrap)
>           (let ((%factor% (if %verbatim-size-factor% 
> 			      %verbatim-size-factor% 
> 			      1.0)))
>           (make sequence
> 	    font-family-name: %mono-font-family%
> 	    font-size: (* (inherited-font-size) %factor%)
> 	    (make formatting-instruction data:
> 		  (string-append
> 		   "\\path|"
> 		   (data (current-node))
> 		   "|")))))
> 
> 
> That "\\path" and "\\url" is TeX codes I believe....

Thanks!  I'll see what I can do with this.  I already got some
other suggestions, so maybe we can fix this after all. :-)

Thanks,
Ardo
-- 
Ardo van Rangelrooij
home email: ardo@debian.org
home page:  http://people.debian.org/~ardo
GnuPG fp:   3B 1F 21 72 00 5C 3A 73  7F 72 DF D9 90 78 47 F9



Reply to: