j2kun / chktex-action Goto Github PK
View Code? Open in Web Editor NEWA Github action to lint a LaTeX file for style and formatting issues.
A Github action to lint a LaTeX file for style and formatting issues.
Hello,
The README is currently rather minimalistic (no Usage, License etc.)
https://www.makeareadme.com/ is a great resource.
Here is what I find most important:
When using \input
in a subfolder, this chktex-action will fail, because the filename will not be found.
Suppose the following file structure:
main.tex
A/a1.tex
A/a2.tex
where main.tex
does \input{A/a1.tex}
, and in turn A/a1.tex
does \input{A/a2.tex}
. This will compile fine, and running chktex
on any file from the main folder will succeed.
In the current implementation of this action, however, the following line leads to an error, as the file is checked from within the subfolder.
This issue is trivially fixed by deleting the lines but in cases where the main tex
file is in a subfolder, this will lead to errors in turn.
Is there a way to detect the 'main' tex
file for a given file and only check from the respective working directory, or is there no way to prevent those errors (other than having \input
s only in the main file)?
See if I can have a pull request workflow that runs lint only on the .tex files that are edited in the pull request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.