[Top][All Lists]

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

[bug #35395] bad picture path with --html and --without --no-split

From: Vincent Belaïche
Subject: [bug #35395] bad picture path with --html and --without --no-split
Date: Sat, 04 Feb 2012 09:37:27 +0000
User-agent: Opera/9.80 (Windows NT 5.1; U; fr) Presto/2.10.229 Version/11.60

Follow-up Comment #7, bug #35395 (project texinfo):

Salut Patrice and al.,

After some further thoughts my suggestion would be as follows:

- provide a new command line option --link-prefix that allows the user to
force some prefix for relative links

- if the user does not explicitely give some output directory with --output or
-o, then add prefix `../' automatically when the --html w/o --no-split options
are used.

- if the user sets some output directory name with --output=FILE --html, but
w/o --no-split and w/o --link-prefix then do not prepend `../' if FILE has
some path specified, but do prepend `../' if FILE hasn't any path (i.e.
basename extraction does not change FILE)

   --html --output=./somedir 

won't prepend `../'

   --html --output=somedir 

will prepend `../'

- if the users sets some prefix with --link-prefix, simply use this prefix,
which overrules all the rules above.

If you agree with this proposition, then I can contribute the documentation


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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