Live data from Hacker News

BibTeX Tidy

flamingtempura.github.io

11–20 of 33 posts

Re: BibTeX Tidy

#11
post #8

I've started using biblint which is nice although can be pretty aggressive in auto-cleaning: https://github.com/Kingsford-Group/biblint

Is there some linter like this vor LaTeX, too?

ChkTeX from sibling comment looks really cool!

There’s also a set of style linting scripts by Matt Might [0] that I’ve found really helpful in my writing. There’s an emacs minor mode built around them too, writegood-mode [1]

0: https://matt.might.net/articles/shell-scripts-for-passive-vo...

1: http://bnbeckwith.com/code/writegood-mode.html

Re: BibTeX Tidy

#13
post #11
post #8

Earlier quoted context omitted.

Is there some linter like this vor LaTeX, too?

ChkTeX from sibling comment looks really cool! There’s also a set of style linting scripts by Matt Might [0] that I’ve found really helpful in my writing. There’s an emacs minor mode built around them too, writegood-mode [1] 0: https://matt.might.net/articles/shell-scripts-for-passive-vo... 1: http://bnbeckwith.com/code/writegood-mode.html

You have to watch out about some of these linting tools, though, in case you get slavishly attached to their prescriptions. Some of these tools insist that you can never use passive voice, for instance, and that can lead to some truly barbaric phrasing in some docs I've read where it reads like the writer bent themselves into a pretzel trying to get to the active voice.

In Matt Might's recommended reading section for that tool he points out Style: The Basics of Clarity and Grace by Joseph Williams, and reading that book and really learning a lot of things it shows will be much more helpful overall for your writing. Its use of contrasting examples is very effective. For instance, it shows how the passive voice can be a very powerful tool for controlling the flow of topics and ideas and actions in a sentence or paragraph. Through the passive voice you can improve the clarity and coherence of a piece of prose. As Matt Might says, it's about making it a conscious decision rather than to enforce all controlling rules.

Re: BibTeX Tidy

#15
post #2

I made a really rough script that does a bunch of transformations on bibtex files to have them be ready for use in academic papers: 1. Shorten author lists to 10 authors 2. Abbreviate journal names 3. Remove unneeded IDs and replace with doi links 4. Remove unneeded tags (file, abstract) https://gist.github.com/joebentley/6e3e4198ea427545738a82021...

> 2. Abbreviate journal names

This was exactly what I was going to suggest, it would be a great addition! And if someone from Overleaf is listening... ;)

Re: BibTeX Tidy

#16
post #13
post #11

Earlier quoted context omitted.

ChkTeX from sibling comment looks really cool! There’s also a set of style linting scripts by Matt Might [0] that I’ve found really helpful in my writing. There’s an emacs minor mode built around them too, writegood-mode [1] 0: https://matt.might.net/articles/shell-scripts-for-passive-vo... 1: http://bnbeckwith.com/code/writegood-mode.html

You have to watch out about some of these linting tools, though, in case you get slavishly attached to their prescriptions. Some of these tools insist that you can never use passive voice, for instance, and that can lead to some truly barbaric phrasing in some docs I've read where it reads like the writer bent themselves into a pretzel trying to get to the active voice. In Matt Might's recommended reading section for…

Yeah, I agree with that. For me it’s still a nice syntax highlighting tool to help me identify and think through those decisions.

I use a lot of hedging/weasel words in my first drafts so I find it helpful to have those highlighted for reconsideration

Re: BibTeX Tidy

#17

Does it fix incorrect Unicode chars? I've had a huge problem with that recently when for some reason Kbibtex insisted on converting {\"O} into Ö. I believe Jabref fixed it but I've made very bad experiences with Jabref in the past and would prefer not to use it.

This doesn't answer the question, but I think that if you use XeLaTeX you get Unicode support universally "for free", including in bbl files (generated by bibtex, bibtex8 or biber -- which itself is great, even if it has more of a learning cliff than most!)

IME biber still nags you about unicode in weird ways; i ended up always escaping that characters to avoid breaking the compilation, so YMMV

Re: BibTeX Tidy

#18
My .bib files are a mess. This is partly because I tried to order the file by year then author (manually), which of course resulted in some errors. And also because I write some free text in between entries which talk about the papers and have some keywords that I'm able to search for entries in.

I'd really like some sort of citation manager that uses a .bib file as the data format.

Re: BibTeX Tidy

#20
post #8

I've started using biblint which is nice although can be pretty aggressive in auto-cleaning: https://github.com/Kingsford-Group/biblint

Is there some linter like this vor LaTeX, too?

My allmytexs script package has a texlint script which runs fotlatexmk, chktex, hunspell, and linkchecker. The next updates will also run biblint.

https://github.com/hoffmangroup/allmytexs/

Post reply on HN