• Re: What ASCII Markup Do You Use?

    From scudo@scudo@tilde.black to tilde.text on Sun Nov 17 22:31:21 2019
    On 2019-04-30, <nonlinear@tilde.institute> <nonlinear@tilde.institute> wrote:
    What markup do you use, and why?

    depends what you mean, for conversion, Markdown, of course

    but for personal use I just format with custom ascii & utf-8
    stuff which feels or looks nice enough, like
    +-------------------+
    | hello |
    +-------------------+
    | + structured list |
    | +- subitem |
    | |+-- sub-subitem |
    | |+-- 2nd subitem |
    | +- 2nd main item |
    | +- another way |
    +-------------------+
    sometimes using the block and line drawing characters from utf8

    * unordered list
    - markdown style
    + etc

    1) you
    2. get
    III the idea

    sometimes up to making whole ASCII diagrams and stuff

    why?

    plaintext is still VERY versatile,
    and when you get just basic formatting
    (like markdown or terminal ANSI CSI SGR sequences), it gets even better...

    speaking of SGR, the terminal formatting,
    it's actually very easy, just 8 colors + bold/bright + dim
    maybe underline & italics too if you're fancy
    and THEN there's the advanced stuff...

    I've been thinking of manually writing RTF documents, too, lol
    RTF wasn't MEANT for human writing, but it's still very writable,
    it looks a little like the bastard child of HTML and TeX ;)
    or maybe just ol' troff family...
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From James Tomasino@tomasino@cosmic.voyage to tilde.text on Wed Dec 4 11:10:56 2019
    On 2019-11-17, scudo@tilde.black <scudo@tilde.black> wrote:
    On 2019-04-30, <nonlinear@tilde.institute> <nonlinear@tilde.institute> wrote:
    What markup do you use, and why?

    It depends on what I'm doing. My notes are in markdown as are my git
    readmes. I write stories in plain text with fixed widths. I write my man
    pages in *roff. For informal stuff I think markdown could be called my
    default. It's easy to read & write and transform into other things. I
    don't like wasting time thinking about my format while writing.
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From Dacav Doe@dacav@tilde.institute to tilde.text on Mon Sep 28 08:56:48 2020
    On 2019-11-17, scudo@tilde.black <scudo@tilde.black> wrote:
    On 2019-04-30, <nonlinear@tilde.institute> <nonlinear@tilde.institute> wrote:
    What markup do you use, and why?

    Depending on the context...

    At work, all documentation is in markdown.

    I have to say I don't like markdown. I was very enthusiast in the beginning, but then I cooled off when I noticed it cannot easily handle some corner cases (e.g. have you tried to put verbatim text under an ordered or unordered list?).

    I've tried asciidoc. Lot of complexity, I use less than half of it.

    I'm using *roff with the excellent mandoc macros for man-pages. I love manpages.

    I've tried Perl's POD format, which is in my opinion the best compromise: as powerful as Markdown, supported by Github's document viewer, no ambiguities, and
    produces really good manpages too! (But I'm still using mandoc for manpages:
    I don't want to get rid of the semantic features).

    When I've got no requirement, plain utf8 text (most often just ASCII, if I write
    in English) does the job.


    - dacav
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From peron@peron@tilde.club to tilde.text on Sat Nov 21 23:55:25 2020
    I mostly use plain text. Old HTML is a second choice. But I like markdown. Sadly I'm not so used to it yet.

    --
    https://tilde.club/~peron | gopher://tilde.club/1/~peron
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From xwindows@xwindows@tilde.club to tilde.text on Sun Nov 22 20:56:50 2020
    On Tue, 30 Apr 2019, nonlinear@tilde.institute wrote:

    What markup do you use, and why?

    For personal notes, I use US-ASCII or national-language ISO-8859-* [1] monospaced plain text. I also draw ASCII art/diagram in the notes
    occasionally.

    I use the same for email and newspost, except that I'd normally use UTF-8
    in these cases if US-ASCII doesn't fit.

    (I personally treat US-ASCII plain text an eternally-portable digitocalypse-ready document format)

    Anyway...

    For draft documents of non-serious writings-to-be-published
    (e.g. blog post, article), I normally write in Markdown-
    the *original Markdown*. [2]

    However, for seriously-formatted document for web viewing (including some software documentation I release), I write HTML4 directly. [2]

    For even more serious technical document with lots of internal referencing,
    and multiple-format typesetting output (e.g. web+print),
    I use DocBook XML. [2]

    I also dab in Troff, but only for writing command line software
    documentation (a la man pages) with man macro set.

    For writing out non-complicated tabular information, I use CSV.

    I'd use RTF as a word processor exchange format, I don't really
    write RTF directly by hand. I've also touched PostScript a bit,
    but I normally just write a program to generate it.

    The next ones I'm going to look into and try are plain TeX,
    and likely also TeX with GNU TeXInfo macro set [3]
    (for DocBook-like purpose).

    For diagram markup, I'm considering looking into Pic- which was originally
    used in combination with Troff, I suppose. (The other one I already know
    is SVG- but I still rarely write it by hand)

    Cheers for textual formats,
    ~xwindows

    -----

    [1] I like them due to the technical property of of 1 byte = 1 character.
    [2] And I usually employ Brian Kernighan's `ed`-minded VCS-friendly
    "semantic linefeed" rule in these cases too.
    <https://rhodesmill.org/brandon/2012/one-sentence-per-line/>
    [3] For several years that I have to live a semi-offline life
    with intermittent Internet connection,
    I have come to appreciate GNU Info a lot, as on-the-go
    technical manual bookshelf that don't need Internet
    or even anything graphics to browse, view, and search.
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From Dacav Doe@dacav@tilde.institute to tilde.text on Mon Nov 23 13:33:08 2020
    Cheers for textual formats,

    Forever long life to text!

    On 2020-11-22, xwindows <xwindows@tilde.club> wrote:
    [3] For several years that I have to live a semi-offline life
    with intermittent Internet connection,
    I have come to appreciate GNU Info a lot, as on-the-go
    technical manual bookshelf that don't need Internet
    or even anything graphics to browse, view, and search.

    Interesting point here: this is a great property of GNU Info and manpages!
    I love being able to read my documentation without the need of a filthy browser! Software should always be distributed with a manual, as it used to be in old good times!

    That said, I've got a real problem with navigating `info`, as a manpage/vi user.

    This is eceptionally severe when it comes to GNU software, since the manpage is often disregarded in favour of the `info`! I "recently" discovered the `pinfo` program, which is basically a lynx wrapper over the info pages.

    The navigation with lynx is not perfect either, but it has got at least a `-vikeys` mode that makes it bearable:

    $ more $HOME/.lynx.cfg
    INCLUDE:/etc/lynx/lynx.cfg
    INFOSECS: NO_PAUSE
    STARTFILE:~/lynx_bookmarks.html
    FORCE_SSL_COOKIES_SECURE:TRUE
    ACCEPT_ALL_COOKIES:TRUE
    COOKIE_FILE:~/dev/null
    COOKIE_SAVE_FILE:/dev/null
    VIEWER:images/svg:ristretto %s
    DEFAULT_KEYPAD_MODE:LINKS_AND_FIELDS_ARE_NUMBERED
    VI_KEYS_ALWAYS_ON:TRUE
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From Dario Niedermann@dnied@tilde.institute to tilde.text on Tue Dec 1 16:26:32 2020
    On 2020-11-23, Dacav Doe <dacav@tilde.institute> wrote:

    That said, I've got a real problem with navigating `info`, as a manpage/vi user.
    [...]
    The navigation with lynx is not perfect either, but it has got at least a `-vikeys` mode that makes it bearable:

    GNU info has '--vi-keys'... I use that option all the time.
    It makes the thing almost tolerable.

    --
    Dario Niedermann. Also on the Internet at:

    gopher://darioniedermann.it/ <> https://www.darioniedermann.it/
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From Dacav Doe@dacav@tilde.institute to tilde.text on Wed Dec 2 13:30:52 2020
    On 2020-12-01, Dario Niedermann <dnied@tilde.institute> wrote:
    On 2020-11-23, Dacav Doe <dacav@tilde.institute> wrote:

    That said, I've got a real problem with navigating `info`, as a manpage/vi >> user.
    [...]
    The navigation with lynx is not perfect either, but it has got at least a
    `-vikeys` mode that makes it bearable:

    GNU info has '--vi-keys'... I use that option all the time.
    It makes the thing almost tolerable.


    Hey! Thanks for sharing!

    I've tried it and I was quite puzzled anyway (hjkl movements are granted, but how do I...?). I'll try to figure it out, maybe, although pinfo is already covering it for me.

    If only I could have something like that for python documentation! For my day job I often need to search for python references, and sometimes you just *NEED* a browser.

    EDIT: and no, not everything is available in pydoc! Many libraries have really poor pydocs and lots of useful information in javascript-bloated web pages. :( --- Synchronet 3.18b-Linux NewsLink 1.113
  • From yeti@yeti@tilde.institute to tilde.text on Sat Dec 5 15:37:42 2020
    scudo@tilde.black writes:

    On 2019-04-30, <nonlinear@tilde.institute> <nonlinear@tilde.institute> wrote:
    What markup do you use, and why?

    Nobody using Org(mode)?
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From f6k@f6k@huld.re to tilde.text on Wed Dec 9 19:50:30 2020
    On 2020-12-05, yeti <yeti@tilde.institute> wrote:
    scudo@tilde.black writes:

    On 2019-04-30, <nonlinear@tilde.institute> <nonlinear@tilde.institute> wrote:
    What markup do you use, and why?

    Nobody using Org(mode)?

    i was! it's very effective but i moved to md since i need to edit my
    files from other devices that don't have Emacs on them :/ i lost some
    good features in the process though...

    --
    ~{,_,"> insidious LabRat
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From yeti@yeti@tilde.institute to tilde.text on Sat Dec 12 05:39:42 2020
    f6k <f6k@huld.re> writes:
    Nobody using Org(mode)?

    i was! it's very effective but i moved to md since i need to edit my
    files from other devices that don't have Emacs on them :/ i lost some
    good features in the process though...

    Always have a Pi0(-W) in your pocket?
    Or a phone with termux + emacs?
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From lucidiot@lucidiot@tilde.town to tilde.text on Mon Dec 14 07:03:24 2020
    Le 12/12/2020 à 06:39, yeti a écrit :
    f6k <f6k@huld.re> writes:
    Nobody using Org(mode)?

    i was! it's very effective but i moved to md since i need to edit my
    files from other devices that don't have Emacs on them :/ i lost some
    good features in the process though...

    Always have a Pi0(-W) in your pocket?
    Or a phone with termux + emacs?


    You can use Orgzly too if you just want Org-mode without Emacs on Android:

    https://f-droid.org/en/packages/com.orgzly/

    --
    ~lucidiot
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From f6k@f6k@huld.re to tilde.text on Thu Dec 17 18:41:05 2020
    On 2020-12-14, lucidiot <lucidiot@tilde.town> wrote:
    Le 12/12/2020 à 06:39, yeti a écrit :
    f6k <f6k@huld.re> writes:
    Nobody using Org(mode)?

    i was! it's very effective but i moved to md since i need to edit my
    files from other devices that don't have Emacs on them :/ i lost some
    good features in the process though...

    Always have a Pi0(-W) in your pocket?
    Or a phone with termux + emacs?


    You can use Orgzly too if you just want Org-mode without Emacs on Android:

    https://f-droid.org/en/packages/com.orgzly/

    oh thank you very much, i will definitely five it a try!

    -f6k

    --
    ~{,_,"> insidious LabRat
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From f6k@f6k@huld.re to tilde.text on Thu Dec 17 18:40:18 2020
    On 2020-12-12, yeti <yeti@tilde.institute> wrote:
    f6k <f6k@huld.re> writes:
    Nobody using Org(mode)?

    i was! it's very effective but i moved to md since i need to edit my
    files from other devices that don't have Emacs on them :/ i lost some
    good features in the process though...

    Always have a Pi0(-W) in your pocket?

    yes, that would be the best!

    Or a phone with termux + emacs?

    i tried, but i didn't found it very handy. i really prefer the first
    solution!

    --
    ~{,_,"> insidious LabRat
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From Arch@archenoth@tilde.town to tilde.text on Sat Apr 24 00:21:38 2021
    Only 19 weeks late, buuuuut I very much enjoy Org!

    I find that it's a really good text format for me personally because of
    the billion things that it supports that let it fill a pretty
    substantial number of niches for me!

    At a surface level, it does a lot of the same things that markdown does,
    so it's a pretty easy way to write basic formatted text with headings,
    code, etc...

    A little deeper in, it has really nice internal and external linking
    that lets me reference a lot more things than I would with markdown, and
    makes it easy to make a little kinda-wiki sorta thing

    The comprehension of Org documents also means that it's easy to see an
    overview of the document itself, since you can collapse branches of the document readily, and see a version of the document that is just the hierarchical headers in an outline.

    Another nice thing for me is how Org document headers have togglable
    statuses (Like TODO, DONE, CANCELLED, etc...), which makes it easy to
    see the status of any header with very little effort when you look at
    the outline of the entire document.

    Org documents can even be added to an agenda to make certain statuses
    and dates attached to headings across multiple documents appear in its
    own dedicated autogenerated TODO list.

    Another big thing for me is that the code environments in Org are live!
    Which means that if I'm thinking about something that can be tested or demonstrated with code, I can easily write a block that actually
    evaluates in the document itself, and the result will appear below. I
    can even use these results in other code blocks!

    The tables in Org are slick too, and support calc formulas, so the
    document itself can act like a little turing-complete spreadsheet app selectively too, which is pretty gnarly!

    It's also nice how there is Org support in a lot of multi-markup
    environments like GitHub's document renders, and it's really nice how
    you can export Org documents to HTML, PDF, ODT, or a bunch of other
    kinds of documents!

    I could probably write a book about the things that Org does for me
    personally, hee.
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From yeti@yeti@tilde.institute to tilde.text on Sat Apr 24 12:57:12 2021
    Arch <archenoth@tilde.town> writes:

    Only 19 weeks late, buuuuut I very much enjoy Org!

    We're sloooooow here...

    Another big thing for me is that the code environments in Org are live!

    That's my main reason for using org.

    But I'm still only scratching the surface.

    --
    Take Back Control! — Mesh The Planet!
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From Arch@archenoth@tilde.town to tilde.text on Sat Apr 24 18:27:34 2021
    yeti <yeti@tilde.institute> writes:
    Arch <archenoth@tilde.town> writes:
    Another big thing for me is that the code environments in Org are live!

    That's my main reason for using org.

    But I'm still only scratching the surface.

    Oh! You're in for a treat~ Org is ridiculously cool!

    What sorts of things do you do with them?
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From yeti@yeti@tilde.institute to tilde.text on Sun Apr 25 07:10:45 2021
    Arch <archenoth@tilde.town> writes:
    What sorts of things do you do with them?

    https://yeti.tilde.institute/brain/B-at-Rosetta-Code/B-at-Rosetta-Code.html https://yeti.tilde.institute/brain/dc/dc.html http://yeti.freeshell.org/orgy/fastspin/fastspin.html https://yeti.tilde.institute/brain/Spin-at-Rosetta-Code/Spin-at-Rosetta-Code.html
    ...

    ...and more personal brainstorm, cheat sheet or bookmark like notes...

    Just look into https://yeti.tilde.institute/brain/ directly.

    That's my outsourced memory prothesis.

    --
    Take Back Control! — Mesh The Planet!
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From Arch@archenoth@tilde.town to tilde.text on Mon Apr 26 15:37:21 2021
    Ooh! These are pretty!

    A lot of my literate documents are "playgrounds" where I can mess around
    with session-based languages to figure things out.

    There's something to be said about being able to record my entire train
    of thought, and immediately test my assumptions as I come across them!

    One of my favorite tricks with JVM based languages like Java is to embed
    a Clojure nrepl into them and then hook into it with CIDER--because then
    I can do all kinds of novel things with the runtime of the program as
    it's running in a literate document.

    The fact this all happens in a document makes it an almost-perfect setup
    for dissecting things, and making those program do novel and ab lib
    things.

    I also find it really handy for learning things, since there's basically
    no friction between taking notes and experimenting with the code within
    them.
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From yeti@yeti@tilde.institute to tilde.text on Tue Apr 27 05:45:52 2021
    Arch <archenoth@tilde.town> writes:

    I also find it really handy for learning things, since there's basically
    no friction between taking notes and experimenting with the code within
    them.

    (n+1) whiles ago I tried to "infect" some other microcontroller coding neighbours with orgmode. I expected everything from laughter to
    shitstorm but got totally ignored there. Well, their problem! They
    don't even want to see what they miss!

    https://forums.parallax.com/discussion/comment/1479243/

    --
    Take Back Control! — Mesh The Planet!
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From yeti@yeti@tilde.institute to tilde.text on Tue Apr 27 05:53:24 2021
    The babel blocks make the difference.

    And Emacs!

    Starting with TeX and METAFONT, I tried literate programming several
    times, but writing, leaving the editor, extracting the code and
    extracting the doc with different tools, running the result, capturing
    test runs, feeding them back into the text's source ... this all is
    different using emacs/org/babel while most times not even having to
    leave emacs in the complete work flow.

    It is "applied text magic".

    --
    Take Back Control! — Mesh The Planet!
    --- Synchronet 3.18b-Linux NewsLink 1.113
  • From darkthorne@darkthorne@mail.com to tilde.text on Tue Jun 1 05:00:46 2021
    On Sun, 17 Nov 2019 22:31:21 -0000 (UTC)
    scudo@tilde.black wrote:

    On 2019-04-30, <nonlinear@tilde.institute> <nonlinear@tilde.institute> wrote:
    What markup do you use, and why?

    If i need to generate a beautiful PDF i use AsciidocFX, it uses the same syntax as markdown but has more extended styles and sections for writing books.
    Why it's the best: https://developer.jboss.org/thread/196216

    I actually use plain text for everything else.

    What is more important is HOW i organize the complex nested information in plaintext: my outliners of choices are KeynoteNF, CherryTree, Jreepad.
    Highly recommended to unify all your notes!
    (also Todolist from abstractspoon.com for scheduling work because it's synched with the calendar, but i can't suggest Mindforger because it has too many options)


    Of course troff/groff is the best, i love it but unfortunately i still haven't learned the syntax for complex columns and styles.
    --
    LM
    --- Synchronet 3.19a-Linux NewsLink 1.113
  • From Neodium@neo@neo.tld to tilde.text on Wed Aug 4 10:46:27 2021
    another org lover here! right now i can only do some basic things like
    todos and export and tangle but i know it has a lot and yet i don't feel
    like i need to rush at all!

    I mainly use it as a bookmark file with links and some daily routines in
    agenda file as timestamp. going slow but steady here!
    --- Synchronet 3.19a-Linux NewsLink 1.113
  • From Neodium@neo@neo.tld to tilde.text on Wed Aug 4 14:23:24 2021
    another org lover here! right now i can only do some basic things like
    todos and export and tangle but i know it has a lot and yet i don't feel
    like i need to rush at all!

    I mainly use it as a bookmark file with links and some daily routines in
    agenda file as timestamp. going slow but steady here!

    if you know any of simple but great things about org, do mention!
    --- Synchronet 3.19a-Linux NewsLink 1.113
  • From yeti@yeti@tilde.institute to tilde.text on Wed Aug 4 21:16:32 2021
    Neodium <neo@neo.tld> writes:

    if you know any of simple but great things about org, do mention!

    I just found out how to get my SVG graphics generated by e.g. Org blocks
    scaled right to fit the text width.

    https://tilde.guru/~yeti/snippets.html#org0407fcd
    --
    Take Back Control! — Mesh The Planet!
    --- Synchronet 3.19a-Linux NewsLink 1.113