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
6778798d
Commit
6778798d
authored
May 29, 2018
by
Gabriel Scherer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: rename main.tex into manual.tex to simplify scripts
parent
bb30f942
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
19 deletions
+14
-19
GNUmakefile
GNUmakefile
+4
-4
doc/.gitignore
doc/.gitignore
+4
-4
doc/Makefile
doc/Makefile
+6
-11
doc/manual.tex
doc/manual.tex
+0
-0
No files found.
GNUmakefile
View file @
6778798d
...
...
@@ -141,9 +141,9 @@ package: clean
@
cp
-r
doc
$(PACKAGE)
@
echo
'\gdef\menhirversion{$(DATE)}'
>
$(PACKAGE)/doc/version.tex
@
make
-C
$(PACKAGE)/doc
clean
all
@
mv
$(PACKAGE)/doc/ma
in
.pdf
$(PACKAGE)/manual.pdf
@
mv
$(PACKAGE)/doc/ma
in
.html
$(PACKAGE)/manual.html
@
mv
$(PACKAGE)/doc/manual
-figure
*.png
$(PACKAGE)/
@
mv
$(PACKAGE)/doc/ma
nual
.pdf
$(PACKAGE)/manual.pdf
@
mv
$(PACKAGE)/doc/ma
nual
.html
$(PACKAGE)/manual.html
@
mv
$(PACKAGE)/doc/manual*.png
$(PACKAGE)/
@
mv
$(PACKAGE)/doc/menhir.1
$(PACKAGE)/
# Include a copy of the sources of the documentation,
# as Debian requires this for the PDF to be included
...
...
@@ -216,7 +216,7 @@ export:
$(RSYNC)
\
$(TARBALL)
\
$(PACKAGE)/manual.pdf
\
$(PACKAGE)/manual.html
$(PACKAGE)/manual
-figure
*.png
\
$(PACKAGE)/manual.html
$(PACKAGE)/manual*.png
\
$(TARGET)
# Mettre jour la page Web de Menhir avec le nouveau numro de version.
cd
$(PAGE)
&&
\
...
...
doc/.gitignore
View file @
6778798d
...
...
@@ -7,9 +7,9 @@
*.toc
*.fdb_latexmk
*.fls
ma
in
.pdf
ma
nual
.pdf
*.haux
*.htoc
ma
in
.image.tex
ma
in
[0-9][0-9][0-9].png
ma
in
.html
ma
nual
.image.tex
ma
nual
[0-9][0-9][0-9].png
ma
nual
.html
doc/Makefile
View file @
6778798d
...
...
@@ -6,7 +6,7 @@ DEPS = $(wildcard *.tex) $(wildcard *.bib) $(wildcard *.sty) $(wildcard *.mly)
SED
:=
$(
shell
if
hash
gsed 2>/dev/null
;
then
echo
gsed
;
else
echo sed
;
fi
)
all
:
ma
in.pdf main
.html
all
:
ma
nual.pdf manual
.html
%.pdf
:
%.tex $(DEPS)
pdflatex
$*
...
...
@@ -14,8 +14,8 @@ all: main.pdf main.html
pdflatex
$*
pdflatex
$*
ma
in.html
:
main
.tex $(DEPS) $(wildcard *.hva)
hevea
-fix
ma
in
.tex
ma
nual.html
:
manual
.tex $(DEPS) $(wildcard *.hva)
hevea
-fix
ma
nual
.tex
#
# Hevea interprets 'tabbing' environment in a way
# that creates spacing errors in the rendered output
...
...
@@ -23,15 +23,10 @@ main.html: main.tex $(DEPS) $(wildcard *.hva)
# asks for (padding:0px;) while the TeX rendering
# inserts spacing between columns. Change this
# to {padding:1px;}
$(SED)
-i
-e
"s/cellpadding0/cellpadding1/"
ma
in
.html
$(SED)
-i
-e
"s/cellpadding0/cellpadding1/"
ma
nual
.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
# Note: hevea generates images manual00{1,2,3}.png for the tikz pictures
# present in the manual.
loop
:
latexmk
-pdf
-pvc
main
...
...
doc/ma
in
.tex
→
doc/ma
nual
.tex
View file @
6778798d
File moved
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