unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Refcard files
Date: Fri, 09 Jun 2006 20:34:39 +0200	[thread overview]
Message-ID: <v9u06ugou8.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <umzcmqnkz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 09 Jun 2006 19:51:40 +0300")

On Fri, Jun 09 2006, Eli Zaretskii wrote:

>> From: Richard Stallman <rms@gnu.org>
>> 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	other threads:[~2006-06-09 18:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-09  9:09 Refcard files Eli Zaretskii
2006-06-09 12:21 ` Reiner Steib
2006-06-09 16:40   ` Eli Zaretskii
2006-06-09 15:59 ` Richard Stallman
2006-06-09 16:51   ` Eli Zaretskii
2006-06-09 18:34     ` Reiner Steib [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9u06ugou8.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).