unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Makefile (dvips) machinery of etc/
@ 2007-05-11 11:43 Michaël Cadilhac
  2007-05-11 21:26 ` Reiner Steib
  2007-05-12  4:30 ` Glenn Morris
  0 siblings, 2 replies; 4+ messages in thread
From: Michaël Cadilhac @ 2007-05-11 11:43 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 472 bytes --]

Hi the list !

The dvips manual says the following :
  3.1 Basic usage of Dvips
  ========================

  To use Dvips at its simplest, simply type
       dvips foo
    where `foo.dvi' is the output of TeX that you want to print.  If
  Dvips has been installed correctly, the document will probably roll out
  of your default printer.

Well, problem is, my dvips is installed « correctly », so the document
is printed.

Maybe the following is needed :

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: makefile.patch --]
[-- Type: text/x-patch, Size: 1684 bytes --]

Index: etc/Makefile
===================================================================
RCS file: /sources/emacs/emacs/etc/Makefile,v
retrieving revision 1.11
diff -c -r1.11 Makefile
*** etc/Makefile	23 Mar 2007 03:48:03 -0000	1.11
--- etc/Makefile	11 May 2007 11:41:48 -0000
***************
*** 75,96 ****
  
  ## A4, landscape.
  de-refcard.ps fr-refcard.ps pt-br-refcard.ps orgcard.ps: %.ps: %.dvi
! 	dvips -t a4 -t landscape $<
  
  ## A4, portrait.
  cs-dired-ref.ps cs-refcard.ps cs-survival.ps fr-drdref.ps \
  pl-refcard.ps ru-refcard.ps \
  sk-dired-ref.ps sk-refcard.ps sk-survival.ps: %.ps: %.dvi
! 	dvips -t a4 $<
  
  ## letter, landscape.
  calccard.ps refcard.ps: %.ps: %.dvi
! 	dvips -t letter -t landscape $<
  
  ## letter, portrait.
  dired-ref.ps gnus-booklet.ps gnus-refcard.ps survival.ps vipcard.ps \
  viperCard.ps: %.ps: %.dvi
! 	dvips -t letter $<
  
  
  .PHONY: mostlyclean clean distclean maintainer-clean unlock relock
--- 75,96 ----
  
  ## A4, landscape.
  de-refcard.ps fr-refcard.ps pt-br-refcard.ps orgcard.ps: %.ps: %.dvi
! 	dvips -t a4 -t landscape $< -o $@
  
  ## A4, portrait.
  cs-dired-ref.ps cs-refcard.ps cs-survival.ps fr-drdref.ps \
  pl-refcard.ps ru-refcard.ps \
  sk-dired-ref.ps sk-refcard.ps sk-survival.ps: %.ps: %.dvi
! 	dvips -t a4 $< -o $@
  
  ## letter, landscape.
  calccard.ps refcard.ps: %.ps: %.dvi
! 	dvips -t letter -t landscape $< -o $@
  
  ## letter, portrait.
  dired-ref.ps gnus-booklet.ps gnus-refcard.ps survival.ps vipcard.ps \
  viperCard.ps: %.ps: %.dvi
! 	dvips -t letter $< -o $@
  
  
  .PHONY: mostlyclean clean distclean maintainer-clean unlock relock

[-- Attachment #1.1.3: Type: text/plain, Size: 338 bytes --]


Cheers!

-- 
 |   Michaël `Micha' Cadilhac       |  To be portable,                       |
 |   http://michael.cadilhac.name   |    Just stay on Windows.               |
 |   JID/MSN:                       |                                        |
 `----  michael.cadilhac@gmail.com  |          -- A Microsoft Guy       -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: Makefile (dvips) machinery of etc/
  2007-05-11 11:43 Makefile (dvips) machinery of etc/ Michaël Cadilhac
@ 2007-05-11 21:26 ` Reiner Steib
  2007-05-12  4:30 ` Glenn Morris
  1 sibling, 0 replies; 4+ messages in thread
From: Reiner Steib @ 2007-05-11 21:26 UTC (permalink / raw)
  To: emacs-devel

On Fri, May 11 2007, Michaël Cadilhac wrote:

> Well, problem is, my dvips is installed « correctly », so the document
> is printed.
[...]
> --- etc/Makefile	23 Mar 2007 03:48:03 -0000	1.11
> +++ etc/Makefile	11 May 2007 11:41:48 -0000
> @@ -75,22 +75,22 @@
>
>  ## A4, landscape.
>  de-refcard.ps fr-refcard.ps pt-br-refcard.ps orgcard.ps: %.ps: %.dvi
> -	dvips -t a4 -t landscape $<
> +	dvips -t a4 -t landscape $< -o $@

As these make targets are only for convenience for the developers (not
used during the build: the *.ps files are included in CVS and the
tar-ball), I don't see any problem to install it in EMACS_22_BASE.
(At least that was the situation when I added the targets on
2006-06-28.)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: Makefile (dvips) machinery of etc/
  2007-05-11 11:43 Makefile (dvips) machinery of etc/ Michaël Cadilhac
  2007-05-11 21:26 ` Reiner Steib
@ 2007-05-12  4:30 ` Glenn Morris
  2007-05-12 14:35   ` Michaël Cadilhac
  1 sibling, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2007-05-12  4:30 UTC (permalink / raw)
  To: Michaël Cadilhac; +Cc: emacs-devel

Michaël Cadilhac wrote:

>   To use Dvips at its simplest, simply type
>        dvips foo
>     where `foo.dvi' is the output of TeX that you want to print.  If
>   Dvips has been installed correctly, the document will probably roll out
>   of your default printer.
>
> Well, problem is, my dvips is installed « correctly », so the document
> is printed.

Yes, but note the "probably". One can have a "correct" dvips
installation without this silly (IMO) default.

Anyway, carping aside, I think you should definitely install your
patch on branch and trunk.

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

* Re: Makefile (dvips) machinery of etc/
  2007-05-12  4:30 ` Glenn Morris
@ 2007-05-12 14:35   ` Michaël Cadilhac
  0 siblings, 0 replies; 4+ messages in thread
From: Michaël Cadilhac @ 2007-05-12 14:35 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 784 bytes --]

Glenn Morris <rgm@gnu.org> writes:

> Michaël Cadilhac wrote:
>
>> Well, problem is, my dvips is installed « correctly », so the document
>> is printed.
>
> Yes, but note the "probably". One can have a "correct" dvips
> installation without this silly (IMO) default.

We agree on the silliness of this behavior :-)

> Anyway, carping aside, I think you should definitely install your
> patch on branch and trunk.

Installed on both, thanks.

-- 
 |   Michaël `Micha' Cadilhac       |  Un certain Blaise Pascal              |
 |   http://michael.cadilhac.name   |    etc... etc...                       |
 |   JID/MSN:                       |  -- Prévert (Les paris stupides)       |
 `----  michael.cadilhac@gmail.com  |                                   -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

end of thread, other threads:[~2007-05-12 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-11 11:43 Makefile (dvips) machinery of etc/ Michaël Cadilhac
2007-05-11 21:26 ` Reiner Steib
2007-05-12  4:30 ` Glenn Morris
2007-05-12 14:35   ` Michaël Cadilhac

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).