Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Word Processing/Document Formatting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
dartleader
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2019
Posts: 119

PostPosted: Tue Jun 13, 2023 2:48 am    Post subject: Word Processing/Document Formatting Reply with quote

Hello everyone,

I've been accepted to graduate school which will involve a lot of writing and word processing. Currently doing some research and seeking the advice of those who have gone down this route already or do a significant amount of word processing.

I use neovim and am trying to research my options for formatting .txt files to produce .pdfs.

Out of latex, markdown, groff and pandoc, does anyone have any particular arguments for or against any of these?

I am leaning towards latex as it seems to be the standard in academia, and has a huge following; I had thought it was only for mathematics and scientific papers but based on a little research it seems like it can be used for general document processing as well.


Last edited by dartleader on Wed Jun 14, 2023 1:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 324
Location: Naarm/Melbourne, Australia

PostPosted: Tue Jun 13, 2023 3:48 am    Post subject: Reply with quote

Context: i've used LaTeX in an academic context (albeit only as a student), have ported s6-ecosystem documentation to mdoc(7) (cf. my user page on the wiki), and my experiences of dealing with Markdown (in the generic sense; explanation below) involve creating a script to convert Markdown to LaTeX in order to ultimately produce a PDF. As a result, i have Opinions(tm). :)

My perspective is essentially the same as this commentary on undeadly.org:
Quote:
The reason for providing this output mode is not that i consider markdown a good, or even a half-decent, markup language. Quite to the contrary, I hereby offcially declare it the shittiest markup language i have seen so far. Basically, it hasn't any strong point whatsoever, but the downsides are numerous, scary, and cover practically every relevant aspect

That quote is followed by the gory details, including the fact that there are numerous flavours of Markdown, of which there is indeed a common subset, but which is unlikely to be sufficiently functional for academic use. And in any case, CommonMark feels like yet another example of xkcd's comment on standards.

That article also ranks other input formats. Nowadays i'd probably prefer to use roff if possible, but there are number of contexts in which it might necessary to use LaTeX, and i'm certainly fine with that.
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 370

PostPosted: Tue Jun 13, 2023 8:36 am    Post subject: Reply with quote

I also would recommend Latex for this kind of work. But I am avoiding text processors like Word and LibreOffice where I can.

As an alternative to markdown I can recommend asciidoc (with the AsciidocFX editor).
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2009

PostPosted: Tue Jun 13, 2023 9:04 am    Post subject: Reply with quote

I was working on a book in LibreOffice Word, and realised I needed to reformat it to a better page size, and didn't like the results. A friend in academia suggested LaTeX. Much better results.

I use LyX to tame LaTeX. It's not perfect, and you end up doing a fair bit of native LaTeX code (such as cover pages) using "Evil Red Text" (LyX puts native code in a Red box), but it generally works well and makes it much easier to navigate the source and prevent coding errors.

LyX supports many LaTeX to PDF backends; I recommend pdflatex together with the micro-typographic extensions; the results when printed are excellent. The downside is you are restricted to fonts shipped with LaTeX unless you import others, which is moderately tedious. IIUC XeTeX can use any font installed on your system, not just ones shipped with LaTeX.
_________________
Greybeard
Back to top
View user's profile Send private message
dartleader
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2019
Posts: 119

PostPosted: Tue Jun 13, 2023 6:44 pm    Post subject: Reply with quote

Thanks everyone, that's clinched it for latex.

I've been playing around with pdflatex and working on some basic formatting and it seems to be exactly what I was looking for.
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Wed Jun 14, 2023 8:02 am    Post subject: Reply with quote

https://www.youtube.com/watch?v=w8EKH_fjmXA

Might be of interest.
Back to top
View user's profile Send private message
dartleader
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2019
Posts: 119

PostPosted: Wed Jun 14, 2023 1:55 pm    Post subject: Reply with quote

mrbassie wrote:
https://www.youtube.com/watch?v=w8EKH_fjmXA

Might be of interest.


I was interested in groff, I'll check that out thanks. I had trouble finding information compared to the wealth of latex stuff out there.
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 378
Location: Dayton, OH, USA

PostPosted: Wed Jun 14, 2023 8:18 pm    Post subject: Reply with quote

I'd give another vote for LaTeX, although I have fairly limited experience with the other options. I prefer LaTeX for its flexibility, the number of optional packages, the huge amount of documentation, and most importantly to me, the distinct look of the final document. It's a defacto standard for a reason.

Pro tip: LaTeX, groff, and Markdown all offer easily diffed files for version control, and you can use Makefiles for creating .pdf or other documents from the raw files.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum