Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Set default line endings to LF for all text files
* text=auto eol=lf

# Explicitly set LF for specific file types
*.sh text eol=lf
Dockerfile text eol=lf
*.py text eol=lf
*.jinja text eol=lf
*.tex text eol=lf
*.cls text eol=lf
*.yaml text eol=lf
*.bib text eol=lf
*.md text eol=lf
.gitignore text eol=lf
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
output/
.DS_Store
.DS_Store
.env
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ Start a Docker container with the image you just built. This will launch an inte
$ docker run -it -v $(pwd):/workdir cv-tools
```

for windows systems:
```bash
$ docker run -it -v $(pwd -W):/workdir cv-tools
```

The `-v $(pwd):/workdir` option mounts your local cv-tools directory to the `/workdir` directory inside the container.

### Method 2: From Source with Manual Installation
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ check_latex_package() {
check_latex_packages_from_file() {
local package_file="$1"
while IFS= read -r package || [ -n "$package" ]; do
package=$(echo "$package" | xargs) # Trim any surrounding whitespace
package=$(echo "$package" | tr -d '\r' | xargs) # Trim whitespace and strip CR
if [ -n "$package" ]; then
check_latex_package "$package"
fi
Expand Down
Loading