this post was submitted on 11 Sep 2023
116 points (100.0% liked)

Open Source

823 readers
23 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I ~~am sure~~ hope somebody™ already thought of this. Feel free to advertise your project here.

P.S.: Image transcription:

Patrick from SpongeBob SquarePants gesturing to the left with open hands:

Somebody should take document type conversion from Pandoc and version control from Git

Patrick gesturing to the right in a pushing motion:

And build a frontend around it

top 21 comments
sorted by: hot top controversial new old
[–] Muehe@lemmy.ml 19 points 1 year ago* (last edited 1 year ago) (1 children)

Shameless plug for Pandoc because I love it

That scalable vector graphic on the page shows source document type on the left and target type on the right. TL;DL: It converts about two dozen document types into about three dozen document types.

P.S.E.G.: PDF ← Markdown ←→ HTML → PDF

P.P.S: Where are my manners? Image transcription added to post.

[–] sxan@midwest.social 5 points 1 year ago

The author is also involved in a markup language called djot, which is like markdown, but well-defined. It's an awesome language that will probably languish under markdown's dominance.

[–] Cargon@lemmy.ml 15 points 1 year ago* (last edited 1 year ago) (3 children)

I've been using Quarto a lot for Data Science work and it uses Pandoc under the hood I recall.

Not sure what you're envisioning by Pandoc + git, but the RStudio IDE has a git integration and a WYSIWYM Quarto editor.

[–] Muehe@lemmy.ml 9 points 1 year ago* (last edited 1 year ago)

Quarto looks quite interesting indeed, thanks for pointing it out!

For those interested it's an "Open-source scientific and technical publishing system built on Pandoc"

https://quarto.org/
https://github.com/quarto-dev/quarto-cli

[–] Muehe@lemmy.ml 3 points 1 year ago

Like a data format inhabiting the centre of that conversion graph they have on their website, basically a superset of the available input types, that is then version controlled by git, and can be exported to any of the output formats, in a neat frontend that removes all that complexity from me. :D

Quarto user here, I use it for my blog.

There is also a vscode extension for WYSIWYM editing.

[–] uzay@infosec.pub 13 points 1 year ago (2 children)

This! I want office that just uses markdown/latex and pandoc under the hood to output PDF documents

[–] Kata1yst@kbin.social 18 points 1 year ago (2 children)
[–] Muehe@lemmy.ml 5 points 1 year ago* (last edited 1 year ago) (1 children)

Haha, kind of. However conversion between all these formats is lossy in some directions and I don't know of any software that integrates version control of documents by default (not saying there are none).

P.S.: Yes I know, https://xkcd.com/927/

[–] redxef@feddit.de 6 points 1 year ago (1 children)

So what's stopping you from putting your LaTeX files into a git repo and building them into a pdf when needed?

[–] Muehe@lemmy.ml 3 points 1 year ago

Nothing, I'd just like a nice GUI around it.

[–] uzay@infosec.pub 3 points 1 year ago (1 children)

What's a good Latex editor that abstracts the formatting behind buttons and doesn't need you to learn Latex?

[–] Kata1yst@kbin.social 3 points 1 year ago

The closest would probably be LyX, or Overleaf.

[–] lemmyvore@feddit.nl 6 points 1 year ago* (last edited 1 year ago) (1 children)
[–] uzay@infosec.pub 1 points 1 year ago

I'll have to take a look at that

[–] kitonthenet@kbin.social 10 points 1 year ago (1 children)

am I crazy or is this just a markdown renderer

[–] monk@lemmy.unboiled.info 1 points 1 year ago

yeah, but then your car is one unwieldy bicycle

[–] MasseR@sopuli.xyz 6 points 1 year ago
[–] dumb_luck 6 points 1 year ago

I’m currently working on this, using git and having GitHub actions produce artifacts when building the markdown files to pdf. It’s great!

[–] BestBouclettes@jlai.lu 2 points 1 year ago

Pandoc is absolutely amazing indeed

[–] jmcs@discuss.tchncs.de 2 points 1 year ago* (last edited 1 year ago)

That sounds like bash. It supports editors too (with holy wars included).