Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
shell-workshop
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirabilos
shell-workshop
Commits
ebc641b9
Verified
Commit
ebc641b9
authored
6 years ago
by
mirabilos
Committed by
mirabilos
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
a custom link macro for TeX makes this so much better
parent
2b4475da
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
notes/linklist.mk
+10
-9
10 additions, 9 deletions
notes/linklist.mk
with
10 additions
and
9 deletions
notes/linklist.mk
+
10
−
9
View file @
ebc641b9
...
@@ -55,6 +55,7 @@ exec <linklist.dat
...
@@ -55,6 +55,7 @@ exec <linklist.dat
exec
4>linklist.htm
exec
4>linklist.htm
exec
5>linklist.tex
exec
5>linklist.tex
cat
linklist.hdr
>&4
cat
linklist.hdr
>&4
print
-ru5
--
'\newcommand{\myLink}[2]{\href{#1}{#2}\Hair\footnote{\texttt{[\url{#1}]}}}%'
print
-ru5
--
'\begin{otherlanguage*}{british}'
print
-ru5
--
'\begin{otherlanguage*}{british}'
print
-ru5
print
-ru5
...
@@ -119,7 +120,7 @@ function getpc {
...
@@ -119,7 +120,7 @@ function getpc {
init
=
0
init
=
0
inpq
=
0
inpq
=
0
inao
=
inao
=
0
nline
=
0
nline
=
0
xnl
=
xnl
=
tnl
=
tnl
=
...
@@ -190,18 +191,18 @@ while IFS= read -r line; do
...
@@ -190,18 +191,18 @@ while IFS= read -r line; do
getpc
getpc
print
-nru4
--
"$xnl<a href=\"${|tohtm "
$cw
";}\">${|tohtm "
$line
";}</a>$pc"
print
-nru4
--
"$xnl<a href=\"${|tohtm "
$cw
";}\">${|tohtm "
$line
";}</a>$pc"
xnl
=
$nli
xnl
=
$nli
print
-nru5
--
"$tnl\\
href
{${|totex "
$cw
";}}{%"
print
-nru5
--
"$tnl\\
myLink
{${|totex "
$cw
";}}{%"
print
-nru5
--
"$nlt ${|totex "
$line
";}%"
print
-nru5
--
"$nlt ${|totex "
$line
";}%"
print
-nru5
--
"$nlt
"
'}\Hair\footnote{\texttt{[\url{'
"${|totex "
$cw
";}}]}
}$pc"
print
-nru5
--
"$nlt}$pc"
tnl
=
$nlt
tnl
=
$nlt
;;
;;
(ao)
(ao)
[[
-z
$inao
]]
||
die
already
in
a
.ao
((
inao
))
&&
die
already
in
a
.ao
((
inpq
<<=
1
))
((
inpq
<<=
1
))
inao
=
${
|totex
"
$line
"
;}
inao
=
1
print
-nru4
--
"$xnl<a href=\"${|tohtm "
$line
";}\">"
print
-nru4
--
"$xnl<a href=\"${|tohtm "
$line
";}\">"
xnl
=
xnl
=
print
-nru5
--
"$tnl\\
href{$inao
}{%"
print
-nru5
--
"$tnl\\
myLink{${|totex "
$line
";}
}{%"
nlt
+=
' '
nlt
+=
' '
tnl
=
$nlt
tnl
=
$nlt
;;
;;
...
@@ -211,8 +212,8 @@ while IFS= read -r line; do
...
@@ -211,8 +212,8 @@ while IFS= read -r line; do
((
inpq
>>=
1
))
((
inpq
>>=
1
))
getpc
getpc
print
-nru4
--
"</a>$pc"
print
-nru4
--
"</a>$pc"
print
-nru5
--
"%$nlt}
\\Hair\\footnote{\\texttt{[\\url{$inao}]}}
$pc"
print
-nru5
--
"%$nlt}$pc"
inao
=
inao
=
0
;;
;;
(Em)
(Em)
xmlcmd
=
em
ltxcmd
=
emph
xmlcmd
=
em
ltxcmd
=
emph
...
@@ -248,7 +249,7 @@ while IFS= read -r line; do
...
@@ -248,7 +249,7 @@ while IFS= read -r line; do
done
done
((
init
))
&&
die
still
in
.It
at
EOF
((
init
))
&&
die
still
in
.It
at
EOF
(( inpq )) && die still in .Pq at EOF
:
$inpq
(( inpq )) && die still in .Pq at EOF
:
$inpq
[[
-n
$
inao
]]
&&
die
still
in
.ao
at
EOF
((
inao
))
&&
die
still
in
.ao
at
EOF
cat
linklist.ftr
>&4
cat
linklist.ftr
>&4
print
-ru5
--
'\end{otherlanguage*}'
print
-ru5
--
'\end{otherlanguage*}'
...
...
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