pp2Latex "bug" and question

[email protected] (Robert Inder) 23 Mar 2002 12:26:18 +0000
Newsgroups perl.perlpoint
Message-ID <[email protected]>
I've found a misfeature of pp2latex that is so severe that I'd
call it a bug!  A link like...

   \L{url=foo}<bah>

translates into commands that typeset the URL in small
font, and then put the body.  

This is a very strange decision -- it certainly is not how I would
want to format/handle a link/URL.  

I believe the right thing to do is to instead plant a LaTeX command which
will handle a url/link.  Something like...
   \ppointURL{foo}{bah}

Perhaps the default could be the current behaviour, but 
the end-user is free to re-define it in LaTeX so as to typeset the URL
however they choose.

I can supply diffs or a patched pp2latex if anyone is interested.

Now the question:

pp2latex translates description lists 

   :foo:all about a foo

   :bar:all about bars and things

into a latex itemize list, with a short first paragraph.

   \begin{itemize}

   \item foo

   all about a foo

   \item bar

   all about bars and things

   \end{itemize}

WHY??  Latex has a description list, so why is it not used?

I'd have expected it to be ranslated as...

   \begin{description}

   \item [foo] all about a foo

   \item [bar] all about bars and things

   \end{description}

Is there a strong reason why not?

Robert.


------------------------------------------------------------------------
Robert Inder   Interactive Information Limited,           07770 30 40 52
               3, Lauriston Gardens,    Edinburgh    EH3 9HH    SCOTLAND
------------------------------------------------------------------------