Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughparsonage/texcheckr
https://github.com/hughparsonage/texcheckr
bibtex latex r spellcheck
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/hughparsonage/texcheckr
- Owner: HughParsonage
- Created: 2017-04-09T03:12:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T06:06:20.000Z (11 months ago)
- Last Synced: 2024-12-24T19:54:58.914Z (2 days ago)
- Topics: bibtex, latex, r, spellcheck
- Language: TeX
- Size: 3.17 MB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
title: TeXCheckR
output:
md_document:
variant: markdown_github
---Development page for TeXCheckR. See also https://github.com/hughparsonage/grattanReporter
```{r}
# install.packages("TeXCheckR")
library(TeXCheckR)
library(knitr)
library(pander)
library(magrittr)```
```{r}
eg <- system.file("extdata", "readme.tex", package = "TeXCheckR")
``````latex
\documentclass{article}\begin{document}
I'd like an en dash - now.
Quotes need to be entered 'precisely'.
Footnotes can't have spaces before. \footnote{And should be full sentences}
We shouldn't refer to section 1 by typing out the literal cross-reference.
\section{Consitent labels are a good custom}\label{good-customs}
And English spacing dictates sentence spacing HERE. Otherwise the spacing looks strange.
Here the mismatched parentheses are obvious. (But it's not always the case.
We want to avoid this formatting: 10 million payments of $5 would total $50 million.
And \LaTeX{} won't raise an error.\end{document}
``````{r, error=TRUE}
check_dashes(eg)
check_quote_marks(eg)
check_footnote_typography(eg)
check_literal_xrefs(eg)
check_labels(eg)
TeXCheckR:::check_sentence_ending_periods(eg)
TeXCheckR:::check_unclosed_parentheses(eg)
check_escapes(eg)
```