Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Thesis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
luke naylor latex documents
research
Thesis
Commits
ea8fbd06
Commit
ea8fbd06
authored
3 months ago
by
Luke Naylor
Browse files
Options
Downloads
Patches
Plain Diff
Tweak zed settings to build on save
parent
aab45efb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.zed/settings.json
+12
-8
12 additions, 8 deletions
.zed/settings.json
.zed/tasks.json
+12
-6
12 additions, 6 deletions
.zed/tasks.json
compose.yaml
+27
-1
27 additions, 1 deletion
compose.yaml
tex/latexmkrc
+0
-1
0 additions, 1 deletion
tex/latexmkrc
with
51 additions
and
16 deletions
.zed/settings.json
+
12
−
8
View file @
ea8fbd06
{
"lsp"
:
{
"texlab"
:
{
"settings"
:
{
"lsp"
:
{
"texlab"
:
{
"diagnostics"
:
{
"ignoredPatterns"
:
[
"Duplicate"
]
}
"settings"
:
{
"texlab"
:
{
"build"
:
{
"executable"
:
"podman-compose"
,
"args"
:
[
"-f"
,
"../compose.yaml"
,
"run"
,
"latexmk"
]
},
"diagnostics"
:
{
"ignoredPatterns"
:
[
"Duplicate"
]
}
}
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
.zed/tasks.json
+
12
−
6
View file @
ea8fbd06
[
{
"label"
:
"Forward Search"
,
"command"
:
"zathura --synctex-forward
\"
$ZED_ROW:$ZED_COLUMN:$ZED_FILE
\"
-x
\"
.zed/inverse.sh %{input} %{line}
\"
tex/main.pdf"
,
"allow_concurrent_runs"
:
true
,
"reveal"
:
"never"
}
{
"label"
:
"Forward Search"
,
"command"
:
"zathura --synctex-forward
\"
$ZED_ROW:$ZED_COLUMN:$ZED_FILE
\"
-x 'zed %{input}:%{line}' ${ZED_WORKTREE_ROOT}/tex/main.pdf"
,
"allow_concurrent_runs"
:
true
,
"reveal"
:
"never"
},
{
"label"
:
"project build"
,
"command"
:
"podman-compose -f ${ZED_WORKTREE_ROOT}/compose.yaml run latexmk-watch"
,
"allow_concurrent_runs"
:
false
,
"tags"
:
[
"latex-build"
]
}
]
This diff is collapsed.
Click to expand it.
compose.yaml
+
27
−
1
View file @
ea8fbd06
...
...
@@ -9,6 +9,32 @@ services:
target
:
/root/workdir/
entrypoint
:
[
"
/usr/bin/bash"
,
"
-i"
]
stdin_open
:
true
# docker run -i
tty
:
true
# docker run -t
tty
:
true
# docker run -t
privileged
:
true
user
:
"
${UID}:${GID}"
latexmk-watch
:
build
:
context
:
./.devcontainer
volumes
:
-
type
:
bind
source
:
.
target
:
/root/workdir/
entrypoint
:
[
"
latexmk"
,
"
-synctex=1"
,
"
-pvc"
]
stdin_open
:
true
# docker run -i
tty
:
true
# docker run -t
privileged
:
true
user
:
"
${UID}:${GID}"
working_dir
:
/root/workdir/tex/
latexmk
:
build
:
context
:
./.devcontainer
volumes
:
-
type
:
bind
source
:
.
target
:
/root/workdir/
entrypoint
:
[
"
latexmk"
,
"
-synctex=1"
]
stdin_open
:
true
# docker run -i
tty
:
true
# docker run -t
privileged
:
true
user
:
"
${UID}:${GID}"
working_dir
:
/root/workdir/tex/
This diff is collapsed.
Click to expand it.
tex/latexmkrc
+
0
−
1
View file @
ea8fbd06
...
...
@@ -8,5 +8,4 @@ $pdf_mode = 1;
$pdflatex = 'lualatex -shell-escape -interaction=nonstopmode %O %S';
$max_repeat = 8;
$use_make_for_missing_files = 1;
$do_cd = 1;
$aux_dir = 'aux_files';
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment