emacs-devel
[Top][All Lists]
Advanced

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

Re: Refcard files


From: Reiner Steib
Subject: Re: Refcard files
Date: Fri, 09 Jun 2006 20:34:39 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Fri, Jun 09 2006, Eli Zaretskii wrote:

>> From: Richard Stallman <address@hidden>
>> Can we determine which .ps files need to be specially prepared?
>
> I think at least cs-refcard.tex needs that (it seems to use special
> hyphenation rules).

Yes, `cs-refcard.dvi' is produced using "csplain cs-refcard".  All
??-*refcard.tex files contain `compile-command' as a local variable.
(I've recently added the missing entries.)  pl-refcard need the "mex"
format.

>> Then let's set up a makefile which will update those that can be
>> updated normally, and having comments identifying those .ps files that
>> cannot be updated normally.

The following Makefile rules work for me (I don't have "mex" format,
though).

--8<---------------cut here---------------start------------->8---
refcards:       refcard.ps cs-refcard.ps de-refcard.ps fr-refcard.ps \
                pl-refcard.ps pt-br-refcard.ps ru-refcard.ps sk-refcard.ps

refcard.dvi de-refcard.dvi fr-refcard.dvi pt-br-refcard.dvi sk-refcard.dvi:     
%.dvi:  %.tex
        tex $<

cs-refcard.dvi: %.dvi:  %.tex
        csplain $<

pl-refcard.dvi: %.dvi:  %.tex
        if ! kpsewhich -format=fmt mex > /dev/null; then \
          echo "No mex format found."; false; \
        fi
        tex $<

ru-refcard.dvi: %.dvi:  %.tex
        latex $<

refcard.ps de-refcard.ps fr-refcard.ps pt-br-refcard.ps:        %.ps:   %.dvi
        dvips -t landscape $<

cs-refcard.ps pl-refcard.ps ru-refcard.ps sk-refcard.ps:        %.ps:   %.dvi
        dvips $<
--8<---------------cut here---------------end--------------->8---

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]