develooper Front page | perl.perlpoint | Postings from March 2002

pp2Latex "bug" and question

Thread Next
From:
Robert Inder
Date:
March 23, 2002 04:25
Subject:
pp2Latex "bug" and question
Message ID:
f51sn6rh3md.fsf@auk.3lg.org

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
------------------------------------------------------------------------

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About