Bug#322341: Borken implementation of the fancyvrb package in text output (at least)

2005-08-12 Thread Ralf Treinen
On Thu, Aug 11, 2005 at 11:52:37AM +0200, Martin Quinson wrote:

 But about the html output, don't you get the figure actually centrered?
 Actually, I do: /usr/share/doc/quilt/quilt.html in quilt-0.42 (tested with
 w3m and firefox). The relevant code is:
 \begin{center}
 \begin{minipage}{6cm}
 \begin{small}
 \begin{Verbatim}
 work/ -+- ...
|- patches/ -+- series
||- patch2.diff
||- patch1.diff
|+- ...
+- .pc/ -+- applied-patches
 |- patch1.diff/ -+- ...
 |- patch2.diff/ -+- ...
 +- ...
 \end{Verbatim}
 \end{small}
 \end{minipage}
 \caption{Quilt files in a source tree.}
 \label{fig:dir-layout}
 \end{center}
 
 So I guess that's the same: minipage support is rather partial in hevea,
 isn't it? I seem to remember warning messages in that sense. 

I only have the source for quilt-0.40 but it seems to be the same code
for that portion of the doc. With hevea 1.08, the figure itself gets
centered, but inside that figure the text is flush left (with some
additional left margin).

Minipage support is in fact quite poor, as you suspected. If I 
understand right this is due to a deliberate design choice of
hevea, which is not to assume anything about absolute font 
dimensions or the width of the output medium. This is of course
in contrast to the TeX model but it makes sense if you want to
generate proper HTML. As a result, a width specification like
{6cm} doesn't mean much to hevea.

-Ralf.
-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#322341: Borken implementation of the fancyvrb package in text output (at least)

2005-08-11 Thread Ralf Treinen
Hi Martin,

On Wed, Aug 10, 2005 at 11:02:40AM +0200, Martin Quinson wrote:
 Package: hevea
 Version 1.07-4
 Tags: upstream
 
 Hello,
 
 I try to convert a document (some documentation within the quilt package) 
 which
 prolog contains \usepackage{fancyvrb} and then this in the body:
 
 \begin{Verbatim}
 work/ -+- ...
|- patches/ -+- series
||- patch2.diff
||- patch1.diff
|+- ...
+- .pc/ -+- applied-patches
 |- patch1.diff/ -+- ...
 |- patch2.diff/ -+- ...
 +- ...
 \end{Verbatim}
 
 Neither the text output not the html one are perfectly satisfying. 
 
 The text output fails with a bunch of:
  Warning: Command not found: \Verbatim
 
 while the html output does center it. It must be due to the fact that the
 Verbatim environment is included within a figure.

I just tried with hevea 1.08 from testing/unstable on the file 
doc/main.tex from quilt 0.40-6, and it seemed to work fine (a bit to my
surprise, since fancyvrb is not on the list of latex packages supported
by hevea). No complains related to Verbatim, and the output of the figure
looks OK to me.  Can you please try for yourself  with hevea 1.08 and
confirm?

-Ralf.
-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#322341: Borken implementation of the fancyvrb package in text output (at least)

2005-08-11 Thread Ralf Treinen
On Wed, Aug 10, 2005 at 11:02:40AM +0200, Martin Quinson wrote:
 Package: hevea
 Version 1.07-4
 Tags: upstream

Forget my previous mail, I was looking at the html output, and
not at the text output. The text output does indeed look strange.

In fact, the hevea doc says that there is an *experimental* and partial
implementation of fancyvrb (section B.17.13 in the documentation
of hevea 1.08). If you look into /usr/share/hevea you see that
there is a file html/fancyvrb.hva (the hevea implementation of
fancyvrb for html output) but there is no corresponding file
in text/. Hence, if you want to generate text output you will
have to do without the fancyvrb package for now.

This rather is a wishlist bug (complete the support of fancyvrb for
text output). Do you agree?

-Ralf.
-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#322341: Borken implementation of the fancyvrb package in text output (at least)

2005-08-11 Thread Martin Quinson
package hevea
severity 322341 wishlist
retitle 322341 Please complete the support of fancyvrb for text output
thanks

On Thu, Aug 11, 2005 at 11:41:45AM +0200, Ralf Treinen wrote:
 On Wed, Aug 10, 2005 at 11:02:40AM +0200, Martin Quinson wrote:
  Package: hevea
  Version 1.07-4
  Tags: upstream
 
 Forget my previous mail, I was looking at the html output, and
 not at the text output. The text output does indeed look strange.
 
 In fact, the hevea doc says that there is an *experimental* and partial
 implementation of fancyvrb (section B.17.13 in the documentation
 of hevea 1.08). If you look into /usr/share/hevea you see that
 there is a file html/fancyvrb.hva (the hevea implementation of
 fancyvrb for html output) but there is no corresponding file
 in text/. Hence, if you want to generate text output you will
 have to do without the fancyvrb package for now.
 
 This rather is a wishlist bug (complete the support of fancyvrb for
 text output). Do you agree?

Sure, sorry. I should have used this severity myself. Done.

But about the html output, don't you get the figure actually centrered?
Actually, I do: /usr/share/doc/quilt/quilt.html in quilt-0.42 (tested with
w3m and firefox). The relevant code is:
\begin{center}
\begin{minipage}{6cm}
\begin{small}
\begin{Verbatim}
work/ -+- ...
   |- patches/ -+- series
   ||- patch2.diff
   ||- patch1.diff
   |+- ...
   +- .pc/ -+- applied-patches
|- patch1.diff/ -+- ...
|- patch2.diff/ -+- ...
+- ...
\end{Verbatim}
\end{small}
\end{minipage}
\caption{Quilt files in a source tree.}
\label{fig:dir-layout}
\end{center}

So I guess that's the same: minipage support is rather partial in hevea,
isn't it? I seem to remember warning messages in that sense. 


Btw, I solved my problem by lynx -dumping the html output. The result is
astonishing good.

Thanks for your time, Mt.


signature.asc
Description: Digital signature


Bug#322341: Borken implementation of the fancyvrb package in text output (at least)

2005-08-10 Thread Martin Quinson
Package: hevea
Version 1.07-4
Tags: upstream

Hello,

I try to convert a document (some documentation within the quilt package) which
prolog contains \usepackage{fancyvrb} and then this in the body:

\begin{Verbatim}
work/ -+- ...
   |- patches/ -+- series
   ||- patch2.diff
   ||- patch1.diff
   |+- ...
   +- .pc/ -+- applied-patches
|- patch1.diff/ -+- ...
|- patch2.diff/ -+- ...
+- ...
\end{Verbatim}

Neither the text output not the html one are perfectly satisfying. 

The text output fails with a bunch of:
 Warning: Command not found: \Verbatim

while the html output does center it. It must be due to the fact that the
Verbatim environment is included within a figure.

Bye, Mt.


signature.asc
Description: Digital signature