unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* texi2dvi --pdf emacs-lisp-intro.tex
@ 2009-10-25 22:21 Robert J. Chassell
  2009-10-27  2:49 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Robert J. Chassell @ 2009-10-25 22:21 UTC (permalink / raw)
  To: emacs-devel; +Cc: bob, mikelygee

(Michael Gauland <mikelygee@no8wireless.co.nz> discovered this first.)

`texi2dvi --pdf emacs-lisp-intro.texi' fails when you

    @set smallbook
    @set print-postscript-figures

but only with 

    @smallbook
    @clear print-postscript-figures

(the latter puts plain ASCII figures in).

I do not know why.  `texi2dvi emacs-lisp-intro.texi' succeeds.

-- 
    Robert J. Chassell                          
    bob@gnu.org                                 bob@rattlesnake.com
    http://www.rattlesnake.com                  http://www.teak.cc




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: texi2dvi --pdf emacs-lisp-intro.tex
  2009-10-25 22:21 texi2dvi --pdf emacs-lisp-intro.tex Robert J. Chassell
@ 2009-10-27  2:49 ` Glenn Morris
  2009-10-27 12:05   ` texi2dvi --pdf emacs-lisp-intro.texi Robert J. Chassell
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2009-10-27  2:49 UTC (permalink / raw)
  To: Robert J. Chassell; +Cc: mikelygee, emacs-devel

Robert J. Chassell wrote:

> `texi2dvi --pdf emacs-lisp-intro.texi' fails when you
>
>     @set smallbook
>     @set print-postscript-figures
>
> but only with 
>
>     @smallbook
>     @clear print-postscript-figures
>
> (the latter puts plain ASCII figures in).

I can't really understand what you are saying here. The answer to the
question I think you are asking is that pdftex cannot handle
postscript figures.

I have added pdf versions of the figures, and a Makefile rule, to the
emacs CVS. The following works for me, with or without ASCII figures:

cd doc/lispintro
make emacs-lisp-intro.pdf




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: texi2dvi --pdf emacs-lisp-intro.texi
  2009-10-27  2:49 ` Glenn Morris
@ 2009-10-27 12:05   ` Robert J. Chassell
  2009-10-27 18:35     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Robert J. Chassell @ 2009-10-27 12:05 UTC (permalink / raw)
  To: Glenn Morris; +Cc: bob, mikelygee, emacs-devel

Thank you.  I use texinfo version 4.13, a year later than that included
in the Emacs sources and it still fails.  I don't know why.  The
texinfo.tex file included with the Emacs sources is from 2007; I am
using one from 2008:

    \def\texinfoversion{2007-07-09.21}
    \def\texinfoversion{2008-04-18.10}

In any case, your changes work with the 2007 version of the file (as I
think they always did).  However, including PDF image files was smart.

-- 
    Robert J. Chassell                          
    bob@gnu.org                                 bob@rattlesnake.com
    http://www.rattlesnake.com                  http://www.teak.cc




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: texi2dvi --pdf emacs-lisp-intro.texi
  2009-10-27 12:05   ` texi2dvi --pdf emacs-lisp-intro.texi Robert J. Chassell
@ 2009-10-27 18:35     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2009-10-27 18:35 UTC (permalink / raw)
  To: Robert J. Chassell; +Cc: mikelygee, emacs-devel

Robert J. Chassell wrote:

> I use texinfo version 4.13, a year later than that included in the
> Emacs sources and it still fails.

This seems to be caused by lines 33-34 of emacs-lisp-intro.texi:

  \global\let\urlcolor=\Black % don't print links in grayscale
  \global\let\linkcolor=\Black

I suggest just removing these lines, and updating misc/texinfo.tex in
Emacs. In the 2009-08-14.15 version of texinfo.tex, these colours are
defined as:

  % by default, use a color that is dark enough to print on paper as
  % nearly black, but still distinguishable for online viewing.
  \def\urlcolor{\rgbDarkRed}
  \def\linkcolor{\rgbDarkRed}




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-27 18:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-25 22:21 texi2dvi --pdf emacs-lisp-intro.tex Robert J. Chassell
2009-10-27  2:49 ` Glenn Morris
2009-10-27 12:05   ` texi2dvi --pdf emacs-lisp-intro.texi Robert J. Chassell
2009-10-27 18:35     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).