DEV Community

Pacharapol Withayasakpunt
Pacharapol Withayasakpunt

Posted on

Precise and programmable Office Suite?

What do you use? MS Word and PowerPoint aren't being easy to be precise. PDF should be a possible output. Not sure about LibreOffice...

Programmable or CSS-based might be nice. Should also be semantically correct. (Like heading being h1.) Diff-able with Git would be nice.

Top comments (7)

Collapse
 
aurelmegn profile image
Aurel • Edited

Hello, it sound like a job for latex
en.wikipedia.org/wiki/LaTeX ,

  • there are some interesting tool to use with latex like pandoc
  • files can be versioned
  • pdf or html can be generated
Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

I have heard of this for a while. Thanks.

MacTeX.pkg
[ approximately 3.9G - 08 May 2019 ]

Perhaps size can be a problem... Not as much as XCode, though.

Collapse
 
aurelmegn profile image
Aurel

ok, there should be a way to install only needed package though

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Imprecise

Basically, anchor snapping. In MS Word.

In LibreOffice. It seem that the problem is fixed.

Perhaps I should ditch MS Office for LibreOffice...

Another example of impreciseness is in PowerPoint, as in this post.

But again, in LibreOffice, this is solved.

About semantics, again, LibreOffice seems to be better.

For programmability, I know LibreOffice and OpenOffice.org always have a public API.

Collapse
 
tobiassn profile image
Tobias SN

HTML.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

I thought so, but how much can I control

  • Print Preview
  • Repeated footers, headers
  • TOC / Bookmarks in PDF
Collapse
 
tobiassn profile image
Tobias SN • Edited

Footers and headers should be the only problem, as HTML was never designed for printing.