Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
menhir
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
POTTIER Francois
menhir
Commits
2cedbfeb
Commit
2cedbfeb
authored
May 29, 2018
by
Gabriel Scherer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HTML manual: change the naming of Hevea-generated image files
parent
70328180
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
doc/Makefile
doc/Makefile
+15
-6
No files found.
doc/Makefile
View file @
2cedbfeb
...
...
@@ -16,13 +16,22 @@ all: main.pdf main.html
main.html
:
main.tex $(DEPS) $(wildcard *.hva)
hevea
-fix
main.tex
@
# Hevea interprets 'tabbing' environment in a way
@
# that creates spacing errors in the rendered output
@
# of "textual version of derivation trees": it
@
# asks for
(
padding:0px
;
)
while
the TeX rendering
@
# inserts spacing between columns. Change this
@
# to {padding:1px;
}
#
# Hevea interprets 'tabbing' environment in a way
# that creates spacing errors in the rendered output
# of "textual version of derivation trees": it
# asks for (padding:0px;) while the TeX rendering
# inserts spacing between columns. Change this
# to {padding:1px;}
$(SED)
-i
-e
"s/cellpadding0/cellpadding1/"
main.html
#
# Hevea generates images main00{1,2,3}.png for the tikz pictures
# present in the manual. Rename them into manual-figure00{1,2,3}.png
# for consistency with the naming scheme of the deployed manual files.
for
f
in
1
2
3;
do
\
mv
main00$$f.png
manual-figure00$$f.png;
\
done
$(SED)
--in-place
's/<img src="main/<img src="manual-figure/g'
main.html
loop
:
latexmk
-pdf
-pvc
main
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment