by thangalin · 5y ago · 0 comments
https://github.com/DaveJarvis/keenwrite#features
What sets KeenWrite apart is the ability to use (externally-defined) variables within the prose, shown in this older demo video:
https://www.youtube.com/watch?v=u_dFd6UhdV8
Also, variables work in diagrams, R expressions, and TeX equations. For example, take a look at the following screenshot:
https://raw.githubusercontent.com/DaveJarvis/keenwrite/maste...
The palette is defined in one spot, allowing colours to be used by both diagrams and typesetting the final PDF. Further, character names can be assigned and referenced within both the prose and diagrams. Also, the variables are interpolated, which allows variables to be defined in terms of other variables.
Are there any other text editors that have interpolated variable references? (I looked, but didn't find any, so started developing my own text editor.)
Is this not the epitome of douchebaggery?
And honestly, if I see an advertisement _without_ any criticism, it sounds too good to be true to me. Seeing a comparison between these editors is going to provide a thousand times better information then just people talking about one or saying "hm, that looks interesting, I'll check it out sometime".
Kanye West hops on stage at the MTV Music Awards, steals the mic from "Best Female Music Video" winner Taylor Swift, and proceeds to tell the audience why he thought Beyonce should have won instead. It was an outrageous act widely panned as 'douchey'.
Is this example much different?
ps- Besides, a good community calls a spade a spade
Exactly why every single reply to your comment has explained why you're wrong.
Not whatsoever. It's on-topic and allows the community to discover other related, competing projects.
It can spark all sorts of discussions and ideas about the decisions and tradeoffs made in both projects. All aspects of this - from the ideas themselves to the community response to them - can be very valuable to the original creators of both. It can also give the original creator more information about what's been done and how. Searching for similar stuff when you lack a very well-defined term can be annoyingly difficult.
And it has what I think should be obvious value to the readers and commenters who are interested in originally posted product. Other similar projects may well serve any interested readers better than what was originally posted. Again, searching for this stuff can be difficult. Do you really want to remove this chance to discover a better-fitting product/project/whatever from all the readers?
I see no problem with people posting similar projects. With the usual caveats of civility that apply to literally every other comment as well, these stand to be highly productive comments.
I'm sure you're thinking of the more emotional aspects of this, and even here I disagree. The only situation I can think of where a poster is better off no even hearing about alternatives is if their main motivation is receiving praise on HN. And in that case, hopefully the situation will make it easier for them to realize that is what they are doing, and give them the opportunity to decide if that's something they want to continue doing.
>Are there any other text editors that have interpolated variable references?
The closest I can think of are Frescobaldi's snippets[1], vim's `!read`, or spreadsheets. Maybe light table [2]? I haven't seen anything exactly like what you've made
[1] https://www.frescobaldi.org/uguide#help_snippet_edit_help
I made my own markup language a while back that sort of has that feature (http://breuleux.github.io/quaint/syntax.html#variables). The variables can be defined inline or imported from a JSON file or whatever. It does reparse the whole thing on every change, so I'm not sure it scales very well. The language should be amenable to incremental parsing, though, I just haven't had time to tackle that issue. It's far more extensible and far better than Markdown IMO, but I suppose I'm biased.
Maybe Leo? I'm not sure if it qualifies as a (plain) text editor, but then maybe neither does keenwrite.
Or you could pair markdown with m4 - but I wouldn't really recommend it.