"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/bugs/005/msg.txt" (16 Jan 2021, 3775 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 From luc.maranget@inria.fr  Mon Jan 12 09:45:50 2015
    2 Return-Path: <luc.maranget@inria.fr>
    3 X-Original-To: maranget@yquem.inria.fr
    4 Delivered-To: maranget@yquem.inria.fr
    5 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83])
    6 	by yquem.inria.fr (Postfix) with ESMTPS id 75BEDE19A4
    7 	for <maranget@yquem.inria.fr>; Mon, 12 Jan 2015 09:45:50 +0100 (CET)
    8 X-IronPort-AV: E=Sophos;i="5.07,742,1413237600"; 
    9    d="scan'208";a="116577066"
   10 Received: from zmbs1.inria.fr ([128.93.142.14])
   11   by mail2-relais-roc.national.inria.fr with ESMTP; 12 Jan 2015 09:45:50 +0100
   12 Received: from zfront2.inria.fr (LHLO zfront2.inria.fr) (193.51.193.148) by
   13  zmbs1.inria.fr with LMTP; Mon, 12 Jan 2015 09:45:50 +0100 (CET)
   14 Received: from zfront2.inria.fr (localhost [127.0.0.1])
   15 	by zfront2.inria.fr (Postfix) with ESMTP id 4DBA1A2F62
   16 	for <luc.maranget@inria.fr>; Mon, 12 Jan 2015 09:45:50 +0100 (CET)
   17 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83])
   18 	by zfront2.inria.fr (Postfix) with ESMTPS id 4B5C1A2EB0
   19 	for <maranget@zimbra.inria.fr>; Mon, 12 Jan 2015 09:45:50 +0100 (CET)
   20 From: Luc Maranget <luc.maranget@inria.fr>
   21 X-IronPort-AV: E=Sophos;i="5.07,742,1413237600"; 
   22    d="scan'208";a="116577065"
   23 Received: from yquem.inria.fr ([128.93.8.37])
   24   by mail2-relais-roc.national.inria.fr with ESMTP; 12 Jan 2015 09:45:50 +0100
   25 Received: by yquem.inria.fr (Postfix, from userid 18041)
   26 	id 3F8B4278C; Mon, 12 Jan 2015 09:45:50 +0100 (CET)
   27 Date: Mon, 12 Jan 2015 09:45:50 +0100
   28 To: Kevin Ryde <user42_kevin@yahoo.com.au>
   29 Cc: Luc.Maranget@inria.fr
   30 Subject: Re: hevea html links and anchors
   31 Message-ID: <20150112084550.GC28228@yquem.inria.fr>
   32 References: <87r3v3pgxg.fsf@blah.blah>
   33 MIME-Version: 1.0
   34 Content-Type: text/plain; charset=us-ascii
   35 Content-Disposition: inline
   36 In-Reply-To: <87r3v3pgxg.fsf@blah.blah>
   37 Content-Transfer-Encoding: 7bit
   38 User-Agent: Mutt/1.5.21 (2010-09-15)
   39 X-Zimbra-Forwarded: luc.maranget@inria.fr
   40 X-Spam: no; 0.00; hevea:01 encoded:01 lacking:01 hevea:01 foo:01 tex:01 foo:01 tex:01 usepackage:01 --luc:01 debian:02 begin:02 href:95 href:95 arguments:04 
   41 Content-Length: 1590
   42 Lines: 60
   43 
   44 Dear Kevin,
   45 
   46 Although I cannot find the reference I followed to apply encoding to
   47 <a href=...> arguments and not to < .. id=...> arguments, I think this
   48 is the right way to  proceed.  Notice that It may be that w3m is wrong.
   49 More precisely, firefox expects encoded URL as arguments to href attributes and
   50 translates them correctly, whether the link is local or not.
   51 
   52 Hence, I am sorry not follow your recommendation at the moment.
   53 If I am wrong, please provide me with some authoritative
   54 reference that solves the issue. I am lacking time to start a
   55 search for finding a standard compliant solution.
   56 I'd appreciate if you could could help me to find some definitive
   57 statement on the issue.
   58 
   59 
   60 All the best,
   61 
   62 --Luc
   63 
   64 
   65 
   66 
   67 > (I saw your name on the hevea page for bug reports, I hope that's right.)
   68 > 
   69 > With recent i386 debian packaged hevea 2.18 the file foo.tex below
   70 > processed
   71 > 
   72 >     hevea foo.tex
   73 >     hevea foo.tex
   74 > 
   75 > gives foo.html with
   76 > 
   77 >     <a id="sec/one"></a>
   78 >     ...
   79 >     to section <a href="#sec%2Fone">1</a>
   80 > 
   81 > It might be good for maximum inter-operation to have the anchor name and
   82 > the href with the same amount of % encoding.
   83 > 
   84 > w3m for example is literal about the fragment and the anchor and does
   85 > not follow to a percent decode or normalize.  I struck this in the
   86 > whizzytex manual where w3m would not follow link "#sec%2Flocal-custom"
   87 > to go to anchor "sec/local-custom".
   88 > 
   89 > 
   90 
   91 > \documentclass{article}
   92 > \usepackage{hevea}
   93 > \begin{document}
   94 > 
   95 > \section{Section One}\label{sec/one}
   96 > 
   97 > Link to section \ref{sec/one}.
   98 > 
   99 > \end{document}
  100 
  101 
  102 -- 
  103 Luc
  104