Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
pflichtenheft
Commits
3a0b8a1b
Commit
3a0b8a1b
authored
Dec 07, 2016
by
Andreas Zwinkau
Browse files
Nice link texts
parent
2e61ce1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
pflichtenheft.tex
View file @
3a0b8a1b
...
...
@@ -15,6 +15,10 @@
\usepackage
{
rdfref-query
}
\newcommand\partOf
[1]
{
\AddProperty
{
doc:partOf
}{
#1
}}
\newcommand\tests
[1]
{
\AddProperty
{
pfl:tests
}{
#1
}}
\newcommand\testlink
[1]
{
\hyperlink
{
#1
}
%
{
\GetProperty
{
#1
}{
pfl:tstid
}
}}
\newcommand\functionalitylink
[1]
{
\hyperlink
{
#1
}
%
{
\GetProperty
{
#1
}{
pfl:fncid
}
}}
\newcounter
{
functionality
}
\newcounter
{
test
}
...
...
@@ -24,13 +28,17 @@
\stepcounter
{
test
}
\par\textbf
{
T
\arabic
{
test
}
#1
}
\rdflabel
{
#2
}
\marginpar
{
T
\arabic
{
test
}}
Testing:
\Bind
{
#2
}{
pfl:tests
}{
?f
}{
\GetVal
{
?f
}
}
\AddProperty
{
pfl:tstname
}{
#1
}
\AddPropertyEx
{
pfl:tstid
}{
T
\arabic
{
test
}}
Testing:
\Bind
{
#2
}{
pfl:tests
}{
?f
}{
\functionalitylink
{
\GetVal
{
?f
}}
}
\par
}
\newcommand\functionality
[2]
{
\stepcounter
{
functionality
}
\par\textbf
{
F
\arabic
{
functionality
}
#1
}
\rdflabel
{
#2
}
\marginpar
{
F
\arabic
{
functionality
}}
Tested by:
\Bind
{
?t
}{
pfl:tests
}{
#2
}{
\GetVal
{
?t
}
}
\AddProperty
{
pfl:fncname
}{
#1
}
\AddPropertyEx
{
pfl:fncid
}{
F
\arabic
{
functionality
}}
Tested by:
\Bind
{
?t
}{
pfl:tests
}{
#2
}{
\testlink
{
\GetVal
{
?t
}}
}
\par
}
\begin{document}
...
...
@@ -59,4 +67,12 @@
\test
{
First Start
}{
tst:first
}
\tests
{
fnc:bar
}
\test
{
Trial
}{
tst:trial
}
\tests
{
fnc:bar
}
\pagebreak
\test
{
The End
}{
tst:end
}
\tests
{
fnc:foo
}
\end{document}
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment