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
P
pflichtenheft
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
IPDSnelting
pflichtenheft
Commits
2e61ce1f
Commit
2e61ce1f
authored
Dec 07, 2016
by
Andreas Zwinkau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revised
parent
49aa78bb
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
15 deletions
+30
-15
Makefile
Makefile
+2
-2
pflichtenheft.tex
pflichtenheft.tex
+26
-11
rdfref-core.sty
rdfref-core.sty
+0
-0
rdfref-query.sty
rdfref-query.sty
+1
-1
rdfref-user.sty
rdfref-user.sty
+1
-1
No files found.
Makefile
View file @
2e61ce1f
...
...
@@ -4,7 +4,7 @@ default: $(NAME).pdf
all
:
$(NAME).pdf
build/%.pdf
:
%.tex
sty/
*.sty
build/%.pdf
:
%.tex *.sty
mkdir
-p
build
latexmk
-pdf
-g
-f
-auxdir
=
build
-outdir
=
build
$<
...
...
@@ -15,7 +15,7 @@ build/%.pdf: %.tex sty/*.sty
.PHONY
:
show clean distclean
show
:
$(NAME)
_debug
.pdf
show
:
$(NAME).pdf
xdg-open
$<
clean
:
...
...
pflichtenheft.tex
View file @
2e61ce1f
...
...
@@ -11,33 +11,48 @@
\usepackage
{
csquotes
}
% cross referencing
\usepackage
{
sty/
rdfref-user
}
\usepackage
{
sty/
rdfref-query
}
\usepackage
{
rdfref-user
}
\usepackage
{
rdfref-query
}
\newcommand\partOf
[1]
{
\AddProperty
{
doc:partOf
}{
#1
}}
\newcommand\tests
[1]
{
\AddProperty
{
pfl:tests
}{
#1
}}
\newcommand\test
[2]
{
\subsection
{
#1
}
\rdflabel
{
#2
}
Testing:
\Bind
{
#2
}{
pfl:tests
}{
?f
}{
\GetVal
{
?f
}
}}
\newcommand\functionality
[2]
{
\subsection
{
#1
}
\rdflabel
{
#2
}
Tested by:
\Bind
{
?t
}{
pfl:tests
}{
#2
}{
\GetVal
{
?t
}
}}
\newcounter
{
functionality
}
\newcounter
{
test
}
% document macros
\newcommand\test
[2]
{
\stepcounter
{
test
}
\par\textbf
{
T
\arabic
{
test
}
#1
}
\rdflabel
{
#2
}
\marginpar
{
T
\arabic
{
test
}}
Testing:
\Bind
{
#2
}{
pfl:tests
}{
?f
}{
\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
}
}
\par
}
\begin{document}
\section
{
Funktionen
}
\section
{
Kriterien
}
\rdflabel
{
sec:funktionen
}
\subsection
{
Muss
}
\rdflabel
{
sec:muss
}
\partOf
{
sec:funktionen
}
\functionality
{
Foo
}{
fnc:foo
}
\functionality
{
Bar
}{
fnc:bar
}
\subsection
{
Kann
}
\rdflabel
{
sec:kann
}
\partOf
{
sec:funktionen
}
\section
{
Funktionen
}
\functionality
{
Foo
}{
fnc:foo
}
\functionality
{
Bar
}{
fnc:bar
}
\section
{
Tests
}
\rdflabel
{
sec:tests
}
...
...
sty/
rdfref-core.sty
→
rdfref-core.sty
View file @
2e61ce1f
File moved
sty/
rdfref-query.sty
→
rdfref-query.sty
View file @
2e61ce1f
\ProvidesPackage
{
rdfref-query
}
\RequirePackage
{
sty/
rdfref-core
}
\RequirePackage
{
rdfref-core
}
\def\Var
#1
{
Variable: #1
}
\def\Value
#1
{
Value: #1
}
...
...
sty/
rdfref-user.sty
→
rdfref-user.sty
View file @
2e61ce1f
\ProvidesPackage
{
rdfref-user
}
\RequirePackage
{
sty/
rdfref-core,nameref
}
\RequirePackage
{
rdfref-core,nameref
}
\newwrite\exportfile
\def\RootObject
{_
:doc
}
...
...
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