[Top][All Lists]

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

Re: [help-texinfo] html relative path

From: Karl Berry
Subject: Re: [help-texinfo] html relative path
Date: Sun, 11 Jan 2009 15:44:08 -0600

    I guess we can add a command-line switch (--fixed-image-paths or
    something) which would cause makeindex ignore the include path (the -I
    switch) and just put the filename as is, appending extension if given,
    without checking for file existence.

Yeah.  I know the current image handling is imperfect, but what to do is
not clear to me.  One issue is output formats.  If you insert a
hardwired extension, the document won't be processable with tex to make
a dvi, since only eps is supported there.  (pdftex is still possible.)

Of course making a dvi may not matter for many documents, but it still
seems somehow theoretically troublesome.

    BTW, I've noticed that currently makeinfo in the HTML mode searches
    the include path, but when outputting the <img> tag, it just outputs
    the filename without the path that it has found.  Does anybody know if
    this is by design?

Well, it's intentional, although calling it "design" might be going too
far.  Since the arrangement of source files might not match the
arrangement of installed files, it seemed that copying the source file
paths could be wrong.  But it's probably right in more cases than it's

I wonder about being able to define an explicit "output image path"
which just gets prepended to all images as they are found, and an
"default html image extension" or something.

Patrice, does texi2html already have more flexible ways to control what
happens with images, perchance?


reply via email to

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