delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/25/07:35:49

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Alexey Borzenkov <snaury AT gmail DOT com>
Subject: Asciidoc 8.2.3+ breaks git manpages
Date: Tue, 25 Dec 2007 12:20:55 +0000 (UTC)
Lines: 13
Message-ID: <loom.20071225T121539-328@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi everyone,

I wonder if nobody noticed this yet, but since Asciidoc 8.2.3 git manpages are
broken in regard that gitlink macro is not handled correctly, and what you see
when issuing git --help is a lot of [1], [2], [3], etc that are completely
unreadable. I found this offending line in asciidoc.conf:

# Explicit so they can be nested.
(?su)[\\]?(?P<name>(http|....|link)):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])=

If you add \b in front on (http|....|link) the macro then behaves correctly
(because it will match only when link is not preceded with other letters). This
is upstream bug and I wonder who is at fault here (git or asciidoc?).


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019