Your message dated Wed, 25 Nov 2015 14:13:44 +0100
with message-id <[email protected]>
and subject line Re: custom rule not used
has caused the Debian Bug report #399782,
regarding custom rule not used
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
399782: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399782
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rubber
Version: 1.1-2
Hi
I added the following rule to rules.ini:
[fcd]
target = (.*)\.tex
source = \1.fcd
cost = 0
rule = shell
command = fcd2tex $source $target
If I understand the other rules in rules.ini and the documentation
correctly, this should run fcd2tex on every .fcd file rubber encounters
to convert it to a .tex file.
But when I run:
$ rubber 1.fcd
rubber assumes that 1.fcd is a .tex file and does not use my rule
(`rubber-info --rules 1.fcd` says so, too).
I have python 2.4 installed.
Regards,
Martin Luder
--- End Message ---
--- Begin Message ---
On 22.11.06 Martin Luder ([email protected]) wrote:
Hi Martin,
Sorry for not responding that long!
> I added the following rule to rules.ini:
>
> [fcd]
> target = (.*)\.tex
> source = \1.fcd
> cost = 0
> rule = shell
> command = fcd2tex $source $target
>
> If I understand the other rules in rules.ini and the documentation
> correctly, this should run fcd2tex on every .fcd file rubber encounters
> to convert it to a .tex file.
>
These rules are not intended to pre-process files to generate LaTeX
input. These are just directices how to convert files written by
graphics programs into files, which can then be processed by LaTeX
(see section 5.3 in the info document).
There are methods to generate a TeX file by rubber. However currently
they can't be configured, they are hard coded as python code (see
section "4.2 Pre-processors" in the info manual). Currently we
support cweb, lhs2TeX and knitr (as of rubber 1.4). One could add
your fcd2tex, but as I can't find that program in Debian I don't see
any gain in doing so.
If you need a method to add custom pre-processors to rubber, please
open a wishlist bug. Thanks!
Closing that bug as "Layer 8 problem".
Hilmar
--
sigmentation fault
signature.asc
Description: PGP signature
--- End Message ---