discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Thomas Klausner <wiz@NetBSD.org>
To: discuss@mdocml.bsd.lv
Cc: Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>
Subject: -Ttree: non-ASCII characters
Date: Sun, 18 May 2014 12:47:12 +0200	[thread overview]
Message-ID: <20140518104711.GE10377@danbala.tuwien.ac.at> (raw)

Hi!

apropos in NetBSD is using the mandoc library (currently 1.13.0). I
noted a problem with apropos midi output and asked the author (Abhinav
Upadhyay) to take a look at it.

He reported the mandoc -Ttree /usr/share/man/man4/midi.4 already gave
back mangled output:

root (root) 0:0
        Sh (block) *33:1-35
                Sh (block-head) 33:1
                        NAME (text) 33:4
                Sh (block-body) 33:1-35
                        Nm (elem) *34:1
                                midi (text) 34:4
                        Nd (block) *35:1
                                Nd (block-head) 35:1
                                Nd (block-body) 35:1
                                        device^^independent MIDI driver layer (text) 35:4


The "^^" are reversed, and they correspond to this (from "mandoc midi.4" output):

NAME
     midi -- device-independent MIDI driver layer

I see that the mandoc man page says under "Mdoc Abstract Syntax Tree"
     TEXT       <- [[:ascii:]]*

There seems to be a bug here, or?
 Thomas
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

             reply	other threads:[~2014-05-18 10:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-18 10:47 Thomas Klausner [this message]
     [not found] ` <20140519135952.GA8975@iris.usta.de>
2014-05-19 18:00   ` Abhinav Upadhyay
2014-05-19 23:52     ` Ingo Schwarze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140518104711.GE10377@danbala.tuwien.ac.at \
    --to=wiz@netbsd.org \
    --cc=discuss@mdocml.bsd.lv \
    --cc=er.abhinav.upadhyay@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).