[Gimp-docs] Where have all my pictures gone?
Ulf-D. Ehlert
ude88 at web.de
Fri May 8 11:08:47 PDT 2009
Kolbjørn Stuestøl (Mittwoch, 6. Mai 2009, 21:15):
[...]
> There are no image references in the POT files although there are in
> the src xml files.
Ok, let's start with this problem:
Does
$ tools/xml2po src/introduction/whats-new.xml
produce image references?
Most likely it won't, but if it does, what about
$ tools/xml2po src/introduction/whats-new.xml |
> msguniq | msgcat --width=79 -
and
$ touch -c src/introduction/whats-new.xml # if necessary
$ make -f Makefile.GNU pot/introduction.pot
If the first command does not produce image references, try
$ grep 'submodes_path =' tools/xml2po
This command should tell you where 'xml2po' expects to find its docbook
module (e.g. /usr/share/xml2po).
Check if the module exists, e.g.
$ ls /usr/share/xml2po/docbook.py
I'm pretty sure you won't find it there, so you'll have to find out
where this file is installed. I don't know how to do it with Cygwin,
maybe
$ locate docbook.py | grep xml2po
Then you can
a) create a link, e.g.
$ ln -s /path/to/modules/of/xml2po /usr/share/xml/
b) set a proper environment variable, e.g. (with bash):
$ export PYTHONPATH=/path/to/modules/of/xml2po
Maybe you will have to change the above commands to make them work under
Cygwin, but I can't help you there (Linux-only user...).
Bye,
Ulf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : /lists/gimp-docs/attachments/20090508/1ab0cbfe/attachment-0001.bin
More information about the Gimp-docs
mailing list