ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
To: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
Cc: Aditya Mahajan <adityam@umich.edu>
Subject: Re: How to display these characters
Date: Wed, 10 Aug 2022 17:42:16 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.78.908.2208101740450.280663@nqv-guvaxcnq> (raw)
In-Reply-To: <c4a79295-772d-1adf-5707-5c0a12912e90@fiee.net>

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]

On Tue, 9 Aug 2022, Henning Hraban Ramm via ntg-context wrote:

> Am 09.08.22 um 18:57 schrieb Wolfgang Schuster via ntg-context:
> > Henning Hraban Ramm via ntg-context schrieb am 09.08.2022 um 16:51:
> >> I actually never really looked into the nodes module, but I guess that 
> >> would work.
> > 
> > There is a simple LaTeX / plain TeX package [1] for this but I don't 
> > know if the plain TeX version works with ConTeXt.
> > [1] https://www.ctan.org/pkg/dirtree
> 
> That is advertised as “like Windows Explorer”, so I expected folder and 
> file icons, but it makes quite ugly lines with square nodes.

Looking at the documentation, it appears that the size of the square node is configurable. So, if you set the size to be the same as line width, the square will be invisible. 

> Line drawing glyphs look better IMO, and the MP nodes module is probably 
> even better, but I need to try...

It should be relatively easy to write a function that draws such trees without using any module as well.

Aditya

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2022-08-10 21:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05 17:04 juh+ntg-context--- via ntg-context
2022-08-05 18:07 ` Wolfgang Schuster via ntg-context
2022-08-05 18:13   ` Henning Hraban Ramm via ntg-context
2022-08-08  6:01     ` Alan Braslau via ntg-context
2022-08-09 14:51       ` Henning Hraban Ramm via ntg-context
2022-08-09 16:57         ` Wolfgang Schuster via ntg-context
2022-08-09 17:56           ` Henning Hraban Ramm via ntg-context
2022-08-10 21:42             ` Aditya Mahajan via ntg-context [this message]

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=nycvar.YAK.7.78.908.2208101740450.280663@nqv-guvaxcnq \
    --to=ntg-context@ntg.nl \
    --cc=adityam@umich.edu \
    /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).