News for hackers. Stuff that matters.
Re:I don’t know how to count that low by lostlogin on Monday October 25, 2021 @02:04PM (#28991082)
> I've pretty much hated MS Word

Do you mean the app, the web or the Teams version? Or is it the way each allows different things, blocks certain actions or displays differently?

It is incredible that this mess is the industry standard.

Re:I don’t know how to count that low by dhosek on Monday October 25, 2021 @02:16PM (#28991240)
The thing is, the vast majority of written communications are just fine in Word. And Word is a lot easier to integrate into other workflows than is LaTeX (and this is from someone who's finishing a book on using LaTeX right now). There are plenty of times that I wish for the kind of control that I have in LaTeX when using other platforms, but for just plain writing, I have to confess that Word is far more ergonomic and I haven't opened a LaTeX document to write fiction in for more than twenty years.
Re:I don’t know how to count that low by tombert on Monday October 25, 2021 @02:21PM (#28991285)
How do you feel about Markdown? It sometimes has issues, but generally speaking I feel like Markdown converted to LaTeX looks pretty good, and I think that Markdown is usually fairly pleasant to work with.
Re:I don’t know how to count that low by Arainach on Monday October 25, 2021 @02:54PM (#28991646)
Markdown is designed to be simple and minimalist. It works well for the specific set of things it is designed to do, but once you need anything else - images, headers/footers, color, page numbers, and so on - it collapses entirely.
Re:I don’t know how to count that low by tombert on Monday October 25, 2021 @03:02PM (#28991743)
> Markdown is designed to be simple and minimalist.

Fair enough.

> It works well for the specific set of things it is designed to do, but once you need anything else - images,

It's never been particularly hard for me to add images in markdown when rendering with Pandoc. It's fairly easy to add images and adjust their size and whatnot, not 100% what you're referring to.

> headers/footers,

Yeah, I'll give you that one, you gotta muck with the preamble YAML in pandoc to get headers, and that's some irritating LaTeX.

> Color

Also fair, not sure it's possible to have color in Markdown->PDF with Pandoc.

> page numbers,

Page numbers are output by default in Pandoc with Markdown. You can also add an optional Table of Contents if needed. Not sure where that rumor started.

Re:I don’t know how to count that low by grayclhn on Monday October 25, 2021 @06:09PM (#28993764)
Often you want page numbers so that you can refer to them later in the text (“See Figure 1 on page n.”) I think at one point I knew how to do that in markdown but IIRC it was only an option in pandoc, and 2) it only worked by printing to pdf via LaTeX, and 3) I may have needed to implement it in LaTeX anyway.

“Pandoc lets you achieve X by embedding latex in your markdown file” is a lot different than “markdown supports X”

Re:I don’t know how to count that low by dhosek on Tuesday October 26, 2021 @04:13PM (#29005685)
Page references are an interesting case because they’re very print-dependent. A I've been working on finl, I've thought about the fact that page references don't work well for documents which might be presented electronically.¹ A reference like “on page 32” doesn’t translate to say HTML or ePub. At one point, while I was reading the Rust book, I was excited to see how a page reference was translated into the online version. I quickly went there and they rewrote that sentence to eliminate the page ref.

The other challenge with page references is that they’re at least in theory, a potential source for a loop condition in rendering. We can have a reference to “on page xcix” which will cause the referred to element to move to page c, but then when the output is changed to “on page c” the element moves back to page xcix.²

⸻⸻⸻

1. PDF in a way doesn't count as electronic presentation in that it’s inherently an electronic representation of a print product, things like PDF reflowing notwithstanding.

2. I suspect, but can’t prove, that in LaTeX, this could even happen if a page reference becomes longer, thanks to how LaTeX’s line breaking algorithm works on a paragraph at a whole. When I get to that part of finl, I guess I’ll know for sure whether this is possible, and if so, will work out how to avoid it.

Re:I don’t know how to count that low by dhosek on Tuesday October 26, 2021 @04:16PM (#29005712)
It’s nice for small-context stuff, but it depends on the editor context as well. Hitting cmd-I to turn italics on and off is no more difficult than typing * at the beginning and the end. And then there’s the fact that the verbatim equivalent doesn't provide a way to be able to easily have ` as an in-line verbatim. Word is nice because it’s designed for writing which most text editors are not.
Re:I don’t know how to count that low by tombert on Monday October 25, 2021 @02:15PM (#28991223)
I was referring to the app, whatever was recent in 2011 or so. 2007 I think? I haven't used it in a long time.

I always wanted my documents (and particularly equations) to look as nice as the formatting in my textbooks, and it felt like no matter how much finagling I did (which was not an insignificant amount of time being spent), it never looked quite as good.

Also, I never fully knew what copy-paste was actually going to do. Was it going to copy the source formatting? Was it going to adopt the style of where I was pasting? Was it going to do neither and just break everything? I was never sure, so I always ended up pasting into Notepad and then re-copying it to guarantee all the formatting was stripped out.

And sometimes there would be just a vanilla "I pressed a random keystroke by accident, all the formatting broke, and undo doesn't appear to do anything" issues. This might just be gross incompetence on my end (it wouldn't be the first time) but nearly everyone I've described this issue to has experienced similar problems.

Also, I can't remember the details of it, and it's possibly fixed now, but I had issues with the equation editor simply not having all the symbols I needed.

In fairness, I have similar complaints about most of the other WYSIWYG word processors, so I don't mean to pick on MS Word specifically (most of these complaints apply to Pages and LibreOffice as well).

Re:I don’t know how to count that low by lostlogin on Monday October 25, 2021 @02:44PM (#28991532)
> I never fully knew what copy-paste was actually going to do.

On a Mac, Option+Shift+Command+V is paste without style.

I can’t understand why this wasn’t the default (or when Command+V is pressed).

Edit: > I was referring to the app, whatever was recent in 2011 or so. 2007 I think? I haven't used it in a long time.

I was raging at my world. Things have got much, much worse in the MS Office world. Going back to it after a long absence had me baffled. It’s all online now, except when it isn’t, or when it sort of isn’t and it does not work well.

Re:I don’t know how to count that low by II2II on Monday October 25, 2021 @07:29PM (#28994529)
> On a Mac, Option+Shift+Command+V is paste without style.

On Windows, it used to be Control-Shift-V. Unfortunately, it does not work in Office 2016 (and likely other recent versions). While the new approach is more flexible, it would have been nice if they kept the old behaviour bound to the old key combination.

I agree with recent versions of Office being a baffling mess. The only reason why I keep Office 2016 around is for the rare case that I need to send an editable document to someone else and I have no intent to upgrade since figuring out that mess is more trouble than it's worth.

Re:I don’t know how to count that low by tombert on Monday October 25, 2021 @02:48PM (#28991584)
I was on Windows at the time. I'm sure there's an equivalent in Windows but I never learned it, presumably because I was too lazy.
Re:I don’t know how to count that low by frosted-flakes on Monday October 25, 2021 @03:17PM (#28991903)
In Word, if you paste something, it will show a little tooltip menu beside the pasted content that allows you to change if it keeps source formatting, adopts destination formatting, or has no formatting.