HNHacker News
TopNewBestAskShowJobs

rhythmvs

588 karma · joined April 3, 2013

founder: Textus.io | typographer: Rhythmus.be | rants: WouterSoudan.be | tweets @rhythmvs
submissionscomments
rhythmvs··on Show HN: Personalize Romeo and Juliet or Pride and Prejudice
Thanks a lot! We’re working on the input issue you mention.
rhythmvs··on Show HN: Personalize Romeo and Juliet or Pride and Prejudice
Hi, OP here! Multilingual support is core and center of our development. We do a lot more than accents, and go great lengths to make all of our stack, Unicode-based. That means ES6 regexes, up to designing and developing our own fonts. If that interests you, then have a look at http://dodecaglotta.com, too, a side project of mine, where I use that font and show how mad we are with language support…
rhythmvs··on IDPF, EPUB Standardizing Body, Has Combined with W3C
I believe it a good thing that the EPUB standard will henceforth be further developed by and within the same body that develops the standards on which EPUB relies. After all, EPUB is “stripped down html5” anyway. As a developer of Web-based html5 books, I can certainly see the benefits of becoming enabled to re-use my static html and css ‘as-is’ and repackage into EPUB-based books for offline consumption by e-readers.

But there’s some fierce objection against the merger of IDPF into the W3C [1][2], the key (?) argument being formulated as:

> “The W3C is focused on promoting the Web, but eBooks are not websites. When the IDPF is gone, who will advocate for readers?”

Maybe a fair point, but I don’t think I can agree. While it is true indeed that reading long-form content like books requires enduring focus, and that having to read them in a browser where linkbait always is luring to have you click away into a never ending feed of distraction, the problem is not the underlying technology.

[1] http://www.publishersweekly.com/pw/by-topic/digital/content-...

[2] http://futureofebooks.info/

rhythmvs··on Ask HN: Does anyone here have an art degree?
PhD History of Art, BA Typography, art school degree graphics
rhythmvs··on 10.3-inch reMarkable Paper Tablet and eReader
Besides what looks like a well-executed writing and reading experience on e-paper (at last…), the live syncing of sketching looks especially promising (as shown in the video).
rhythmvs··on Blue. No, Yellow
But then again, by what number did opensource and package managers decrease the clerical workload?

— Sure, if we’d not only consider machine architecture, language design and compile times, but add social factors to the equation, like ecosystems, business models, and network effects, well okay, then maybe a single, apprentice developer might do the work of a 100k MSc programmers, and at least as much as he `require`s modules. :-p

rhythmvs··on The text/markdown media type
Related discussion on the CommonMark (markdown standardization initiative) forum: http://talk.commonmark.org/t/ietf-request-for-input-text-mar...
rhythmvs··on From Word to Markdown to InDesign: Fully Automated Typesetting Using Pandoc
That’s exactly the sort of use case we are focussing on and building our automated typesetting service for.¹ You’ll probably also benefit from file inclusions so that you can keep a library of text snippets, with variables, keeping them versioned separately, and which you can then re-use and assemble to form a new, slightly different manual, with the variables automatically populated at typesetting time.

Could you be more specific on the problem you’re facing with placing images? Is it that there are like hundreds of them, for which you would want to have created the references (and ![Caption](syntax)) automatically, because typing out the file paths manually is too tedious? That is doable, although it would be more of a drag-and-drop feature to be implemented by a dedicated Markdown editor, or an ST plugin.

Or would you like to have more fine-grained control over floats, sizing and placement of the images relative to their place in the text narrative? For which a WYSIWYG interface is indeed more well suited, re: many document author’s gripe with TeX’s figure placement.

¹ http://textus.io/

rhythmvs··on From Word to Markdown to InDesign: Fully Automated Typesetting Using Pandoc
Thanks! And yeah, if people would only know their history… Relatively new, to me, unfortunately, means that lightweight markup still is not something which the broader public is familiar with, not even by its proxy brandname “Markdown”, even with big outlets (e.g. Reddit) pushing it forward.
rhythmvs··on From Word to Markdown to InDesign: Fully Automated Typesetting Using Pandoc
You are right. But “markdown” — not the brand, but the concept of lightweight markup — is a work in progress still.

Just look at the list of “feature requests” on the CommonMark forum.¹ Pandoc’s Markdown supports lots of extra features from Github Flavored Markdown (GFM), MultiMarkdown and MarkdownExtra. John MacFarlane, Pandoc’s author, is also the author of the CommonMark spec. And while, eventually, the goal is to extend the CommonMark syntax with a sufficiently broad vocabulary of content element types, the focus now is on getting the basics right, speccing the edge cases, and defining standard parser behavior.

Meanwhile, there is AsciiDoc (which is a port of DocBook xml to lightweight markup), for more demanding use cases. And then there is also reStructuredText, and org-mode, etc. But the markdownish-style of syntactical sugar won the race, and while doing so, it will be the basis for a future lightweight markup language that will do indeed support not-dumbed down written content, with the full variety of nuance that offer the likes of TEI, DocBook, TeX, and will be fit to reproduce the akme of complex documents and typesetting, such as critical editions and technical manuals.

Until we reach that point, I bet on dumbed-down Markdown, and while doing so, can always add-in raw html ad libitum. The bulk of most written content, after all, is just headings and plain text, with a few emphasized phrases here and there, a link, an image. That covers a lot of use cases already.

¹ http://talk.commonmark.org/c/extensions

rhythmvs··on From Word to Markdown to InDesign: Fully Automated Typesetting Using Pandoc
Relative to widespread brand recognition, I guess, and relative to similar initiatives. But indeed, Markdown — as in, the concept of _lightweight markup_ — predates the Web and is at least as old as Usenet. I footnote 9, I linked to my Github repo with Markdown resources; there you’ll find the following chronology:

- Setext (Ian Feldman, 1992) - AFT (Todd Coram, 1999) - Grutatxt (Ángel Ortega, 2000) - atx (Aaron Swartz, 2002) - AsciiDoc (Stuart Rackham, 2002) - MediaWiki (Magnus Manske & Lee Daniel Crocker, 2002) - reStructuredText (David Goodger, 2002) - Org-mode (Carsten Dominik, 2003) - Textile (Dean Allen, 2004) - Markdown (John Gruber & Aaron Swartz, 2004)

rhythmvs··on From Word to Markdown to InDesign: Fully Automated Typesetting Using Pandoc
Though they are linked, see e.g. http://rhythmus.be/md2indd/#fn2 — it’s Pandoc after all, which creates those ;-)

The wide margins are due to typography best practices, which dictates between ~50 and 70 characters on a line. One could of course blow up font-size, as is in fashion, since Medium. But then there are too few lines above the fold.

But you’re entirely correct as regards marginal notes. Unfortunately, they’re not trivially implemented, since you’d need to swap end-notes to side-notes relative to the viewport, cq. media query breakpoint, but while that involves DOM manipulation, it cannot be done with CSS alone. Let alone dealing with collision detection for stacking longer footnotes vertically…

rhythmvs··on Show HN: LaTeX Boilerplates – Plain-Text Document Production System
At the time of writing my article cited above, I didn’t yet came across this one:

[Sustainable Authorship in Plain Text using Pandoc and Markdown](http://programminghistorian.org/lessons/sustainable-authorsh...)

rhythmvs··on Show HN: LaTeX Boilerplates – Plain-Text Document Production System
Kudos for this great, yet simple and lean toolchain!

Anyone familiar with command line tools and a corresponding aversion for bloated WYSIWYG apps will second the underlying idea that MS Word (and the likes) “should die” in favor of plain text workflows.

Yet, with the help of Pandoc (which does the heavy lifting in these boilerplates), nothing prevents you to keep using Word as a front-end and plug it in this exact same workflow. Word may not be the best-of-bread typesetting engine or layouting tool, but to many it still is useful as a quite decent word processor.

For those interested, I did a (long-read) write-up on how one could go from Word over Markdown to even InDesign (as an alternative templating/typesetting engine, instead of LaTeX/XeTeX): http://rhythmus.be/md2indd/

rhythmvs··on Mdast.js – AST-based parser for GFM/(Common)Mark(down)
A well-implemented contester/alternative to the official commonmark.js AST-based implementation. Started as a fork of marked.js, but with a solid plugin architecture for parse tree manipulation.
rhythmvs··on Popcorntime is dead
Alas, dead too…

    $ wget https://butterproject.org
    --2015-10-23 22:10:49--  https://butterproject.org/
    Resolving butterproject.org... 184.168.221.24
    Connecting to butterproject.org|184.168.221.24|:443... failed: Connection refused.
rhythmvs··on Show HN: This page exists only if someone is looking at it
Interesting to watch Gmail reading along…

Send the link with the hash using your gmail account, stay tuned at the corresponding page on http://ephemeralp2p.durazo.us, watch “Currently viewing” pop to "2" immediately after you sent the mail. Obviously, the Google borg is slurping up each and every address on the Web it is fed.

rhythmvs··on CommonMark editor for Mac
Great work! It’s a shame it doesn’t get through, with upvotes and so. I’ll add your app to the list on https://github.com/rhythmus/markdown-resources Wish you all the best with the release!
rhythmvs··on Markdownify
Great work! Always happy to see people working towards a WYSIWYG editor for Markdown.

I did a similar project¹, with strong focus on editing math, inline, and “real time” wysiwyg. It failed. The problem is that most such approaches treat Markdown as _code_ instead of _text_, and inevitably mistake syntax highlighting for semantic, text-driven styling (as if one would style nouns, verbs, adjectives, instead of <h1>, <p>, <em>, etc.). Thus they use a code editor such as CodeMirror (like this one does, too). And then you must style `.cm-` syntax markers instead of the eventual (html) nodes that would be the output of a real Markdown parser. Which makes it impossible to just throw in any arbitrary html5 css-stylesheet. Which is imho the whole point of wysiwyg Markdown editing.

What you’d really want instead is true Markdown parsing, which normalizes the user’s input into a parse tree, then renders to clean html. But syncing input and output over an AST is quite impossible as long as Shadow DOM is not available in browsers. Cfr interesting discussion, over at Github (re: Quill editor).²

As for Markdown parsers: there’s many of them. The OP’s project uses @chjj’s marked.js³: wouldn’t harm to mention that on the homepage or in the README, since behavior (markdown interpretation) is very different from parser to parser. (I used to maintain a repo which lists all available Markdown parsers, apps, etc.)⁴

Meanwhile there’s CommonMark⁵, of course, which has already some really fast implementations in JavaScript. (Plus, they’re “Standard” ;-)⁶ Would be nice to see one of the CommonMark reference implementations incorporated into a WYSIWYG editor like this one.

¹ https://github.com/rhythmus/mathdown ² https://github.com/quilljs/quill/issues/74#issuecomment-4294... ³ https://github.com/chjj/marked ⁴ https://github.com/rhythmus/markdown-resources ⁵ http://commonmark.org ⁶ https://news.ycombinator.com/item?id=8264733

rhythmvs··on A Guide to Thesis-Writing and a Guide to Life
> “There are certainly reasons to believe that the current crisis of the humanities owes partly to the poor job they do of explaining and justifying themselves.”

Especially when they accept that the argument must exclusively be about a discipline’s alleged usefulness to the economy. Last week the Belgian vice-president said Latin should be replaced as a high school subject with programming classes, because they are more useful. It’s been picked up, even by prominent intellectuals: http://woutersoudan.be/20150405/

rhythmvs··on Ask HN: How to develop a font for experimental punctuation project?
If you need something free/opensource, there’s not many options. When you like it old-school, you can give Knuth’s companion to TeX MetaFont¹ a try.

Then there’s FontForge², which is by far the most evolved, feature-heavy project, but until recently had bad UX/UI and was a pain to install and run on OSX. It seems, that’s changed, though.

FontLab³ still is the type design “industry”’s de facto standard font editor, but development lags behind, and it’s quite expensive for a hobby project.

There are a few other proprietary offerings, notably the DTL FontMaster⁴ tool suite. But Glyphs⁵ seems to be going the winner, steadily taking over market share from FontLab.

If you like scripting your designs (esp. in Python) you should definitely try RoboFont⁶.

When you’re looking for volunteers/collaborators on your project, then do check in at Typophile⁷. For over a decade, it’s the principal outlet for all things type and type design: on the fora you’ll meet some very knowledgable experts always willing to help.

Since you mentioned punctuation, I suppose you’re familiar already with the _Shady Characters_⁸ project (and its companion book⁹). As for a detailed history, I can highly recommend Malcolm B. Parkes† authoritative monograph on the subject, too.

¹ http://en.wikipedia.org/wiki/Metafont ² http://fontforge.github.io ³ http://www.fontlab.com/font-editor/fontlab-studio ⁴ http://www.fontmaster.nl ⁵ http://www.glyphsapp.com ⁶ http://doc.robofont.com ⁷ http://typophile.com ⁸ http://www.shadycharacters.co.uk ⁹ Keith Houston, Shady Characters: The Secret Life of Punctuation, Symbols, and Other Typographical Marks. W. W. Norton, 2013. † Malcolm B. Parkes, Pause and Effect: Punctuation in the West. University of California Press, 1993.

rhythmvs··on A Scholarly Markdown
John MacFarlane (Pandoc’s author) is heavily committed to the Common Mark standardization effort of Markdown (in fact he’s the principal designer of the Common Mark spec).

Both Common Mark and Pandoc serve different purposes: the first is an initiative to counter fragmentation/balkanization of the Markdown ecosystem and in being so has to reckon with backward compatibility, consensus and adoption. The latter is a document conversion library, which, by design, needs to reckon with interchangeability between formats and may hence be hampered by the lowest common denominator as regards feature support. Internally, Pandoc keeps an Abstract Syntax Tree (accessible in json format), and defaults on its own flavour of Pandoc Markdown (featuring a Markdown superset of content element types).

Both the Common Mark community and John MacFarlane have made it clear their first and foremost focus is on standardization, not so much on extending the feature set. Yet, scholars and technical writers are in dire need for something more heavy-weight than the rather small set of features offered by Common Mark implementations or Pandoc Markdown. Hence the Scholarly Markdown initiative and the scholdoc reference implementation (Pandoc fork).

More on how Scholarly Markdown came about, can be read on the blog of one of it’s pacemakers, Martin Fenner; e.g. http://blog.martinfenner.org/2013/11/17/the-grammar-of-schol..., http://blogs.plos.org/mfenner/2012/12/18/additional-markdown...

rhythmvs··on Ask HN: Is Hacker News no longer a great place to “Show HN”?
𝐒𝐡𝐨𝐰 some comments, 𝐇𝐍.
rhythmvs··on Git: ignore file lines
Not as generic a solution as ignoring lines on commit (whatever they may contain or for whatever reason you want to hide them), but when it comes to protecting credentials, crypto for arbitrary chunks of text comes in handy.¹ The fact that the encrypted string is being committed still might be a good thing: as the code is run an error will be thrown as a reminder to either decrypt or replace the string with one’s own creds.

¹ https://packagecontrol.io/packages/Transcrypt

rhythmvs··on Why Explore Space? A 1970 Letter to a Nun in Africa
http://nl.wikipedia.org/wiki/Ferdinand_Peeters#Betekenis
rhythmvs··on Show HN: Nooot – Share text using the key phrase, access it from anywhere
I see, thanks. (Plus, I guess getting the slugs right — the mess that comes with percentage encoded unicode chars — perhaps won’t be worth the effort.)
rhythmvs··on Show HN: Nooot – Share text using the key phrase, access it from anywhere
Surely, DM `nooot.co/keyphrase` is much easier than texting ‘Go to http://nooot.co, then type “keyphrase”.’ So what are the objections against a shareable url? Persistence, security? (Just curious.)
rhythmvs··on Show HN: Nooot – Share text using the key phrase, access it from anywhere
Nice! Is it a deliberate design decession to not replicate the key phrase in the url, and have the notes be shareable as a direct link?
rhythmvs··on Show HN: Remarq.io – Beautiful documents for consultants
Well done! Can we have a look at the markdown input source for the demo pdf? http://www.remarq.io/remarq_intro.md returns a GitHub Page 404. (Also, that url in the marginal note, on page 4 of the demo pdf, is broke, likely because of line-breaking.)

Which flavour of Markdown are you supporting? Do you plan to support _full_ Common Mark?

What are you using under the hood as your typesetting engine and stylesheet syntax? Pandoc, (La)TeX, CSS w/ Prince XML?

rhythmvs··on Show HN: Glose, a next-generation social reading platform for ebooks
Happy to see a successor for the acquihired/killed Readmill. Readmill offered a ton of free (public domain) books, right after signup, allowing new users to try the app’s full reading/highlighting/sharing/commenting experience, before having them purchase books just to get a grasp of, say, the basic typographic look and feel. It drew me in, I bought some titles, and own the epub files still, even after Readmill went to the deadpool. What’s Glose’s offering as regards long-term preservation of my electronic library investment?
← PreviousPage 2 of 5Next →