# HG changeset patch # User markus schnalke # Date 1392319699 -3600 # Node ID debf9b807f5fe2d541752d59ca32d87ce31f5866 initial commit diff -r 000000000000 -r debf9b807f5f .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,16 @@ +syntax: glob + +old/ +docs/ +fonts/ +handout/ + +ref2.ps +ref2.pdf + +*.ig +refs/ + +*.old + +.exrc diff -r 000000000000 -r debf9b807f5f README.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.txt Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,12 @@ +Open Access aus Sicht der Freien Software +----------------------------------------- + +(Zweites Referat an der Bayerischen Bibliotheksakademie) + + +Quellcode und Entstehungsgeschichte der Ausarbeitung: + + http://hg.marmaro.de/docs/bib-ref2/ + + +Diese Werke sind gemeinfrei (CC0). diff -r 000000000000 -r debf9b807f5f cc0.roff --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cc0.roff Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,12 @@ +.sp |23c +.in 0 +\l'\n(.lu' +.B "Public Domain Dedication +.sp .3 +Ich schenke dieses Werk der Menschheit, indem ich weltweit +auf alle urheberrechtlichen und verwandten Schutzrechte verzichte, +soweit das gesetzlich möglich ist. +Dies tue ich mittels \fICC0 1.0 Universell\fP. +\(em \f(CW\s-1http://creativecommons.org/publicdomain/zero/1.0/\s0\fP +.sp .3 +markus schnalke , 2014-03-07 diff -r 000000000000 -r debf9b807f5f decl.roff --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/decl.roff Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,8 @@ +.bp +.H- Erklärung + +.sp +.LP +Ich habe diese Arbeit ohne fremde Hilfe verfasst. +.sp 4c +markus schnalke diff -r 000000000000 -r debf9b807f5f front.roff --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/front.roff Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,35 @@ +\0 +.po 0 +.ll 21c +.sp 1c +.ps 20 +.vs 20 +.ce 99 +.sp 2 +.ps 16 +Markus Schnalke +.sp |10c +.ps 20 +.vs 24 +.B +Open Access +aus der Perspektive +der Freien Software +.R +.sp |14c +.ps 14 +.\" FIXME Untertitel FIXME +.sp |18c +.ps 18 +\(**\(**\(** +.sp |21c +.ps 16 +Bibliotheksakademie Bayern +Lehrgebiet: Open Access +Dozent: Gernot Deinzer +Kurs Q4 2012/2014 +.sp |25c +.ps 20 +2014-02-07 +.ce 0 +.RT diff -r 000000000000 -r debf9b807f5f makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/makefile Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,43 @@ +NAME = ref2 +CHAPS = style front.roff toc.roff text.roff refs.roff cc0.roff #decl.roff +BIB = bib +PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress +REFER = refer -n -p bib -e -P -sLAD -a # -l,2 -k + +all: $(NAME).ps + +$(NAME).ps: $(CHAPS) makefile $(BIB) toc.ig refs.ig + export TROFFONTS=fonts;\ + soelim $(CHAPS) | $(REFER) | \ + troff -Tps -ms 2>err.ig | dpost >$@ + +err.ig: $(CHAPS) + export TROFFONTS=fonts;\ + soelim $(CHAPS) | $(REFER) | \ + troff -Tps -ms -rZ1 -z 2>$@ + +toc.ig: err.ig + sed -n '/^TOC____/s///p' err.ig >$@ + +refs.ig: err.ig + mkdir -p refs + awk -F '\t' '/^REF____/{ \ + sub(/^REF____/,""); \ + printf $$2 >"refs/"$$1; close("refs/$$1"); \ + printf $$3 >"refs/"$$1".page"; close("refs/$$1.page");\ + }' err.ig + +pdf: $(NAME).pdf +$(NAME).pdf: $(NAME).ps + ps2pdf $(PDFFLAGS) $(NAME).ps 2>/dev/null + +book: book.pdf +book.pdf: book.ps + ps2pdf $(PDFFLAGS) book.ps 2>/dev/null +book.ps: $(NAME).ps + psbook -s16 $(NAME).ps | psnup -2 -m2mm >$@ + +clean: + rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf + rm -rf refs + rm -f *.ig diff -r 000000000000 -r debf9b807f5f refs.roff --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/refs.roff Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,10 @@ +.bp +.H- Literatur yes + +.nr PS 10 +.nr VS 12 + +.[ +$LIST$ +.] + diff -r 000000000000 -r debf9b807f5f style --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/style Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,492 @@ +.do xflag 3 +.de __ +.. +.blm __ \" ignore empty lines in input +.lc_ctype en_US.utf8 +.mediasize a4 + +.ds _f libertine + +.if '\*(_f'bookman' \{\ +.fp 1 R urw/bookman/ubkl8a pfb +.fp 2 I urw/bookman/ubkli8a pfb +.fp 3 B urw/bookman/ubkd8a pfb +.fp 4 BI urw/bookman/ubkdi8a pfb +.\} +.if '\*(_f'sabon' \{\ +.fp 1 R sabon-t1/psbr8a pfb +.fp 2 I sabon-t1/psbri8 pfb +.fp 3 B sabon-t1/psbb8 pfb +.fp 4 BI sabon-t1/psbbi8 pfb +.\} +.if '\*(_f'palatino' \{\ +.fp 1 R urw/palatino/uplr8a pfb +.fp 2 I urw/palatino/uplri8 pfb +.fp 3 B urw/palatino/uplb8 pfb +.fp 4 BI urw/palatino/uplbi8 pfb +.\} +.if '\*(_f'libertine' \{\ +.fp 1 R LinLibertine_R otf +.feature R +onum +.fp 2 I LinLibertine_RI otf +.feature I +onum +.fp 3 B LinLibertine_RB otf +.feature B +onum +.fp 4 BI LinLibertine_RBI otf +.feature BI +onum +.\} + + +.ss 12 0 \" the second (non-portable) argument requests french spacing + +.nr PI 4n +.nr PD 0 \".3v +.nr QI 2u*\n(PIu +.nr lu 0 +.af PN i +.af % i + +.hylang de_DE + +.nr PS 11 +.nr VS 16 + +.ds CH " + +.nr PO 2.5c +.nr HM 3.5c +.nr FM 3.5c +.nr LL 15c +.ll 15c +.nr LT \n(LL + +. \" _M - change margins for text block on next page +.de _M +.\" if t .if o .nr PO 5c +.\" if t .if e .nr PO 3c +.\" nr PO 2.5c +.\" ds CF " +.. +.\" .wh -1u _M + +.de _H +'sp |\n(HMu-1.5c +.ps 12 +.vs 14 +.ft I +.tl 'Markus Schnalke: Open Access aus der Perspektive der Freien Software''%' +.ft P +.ps +.vs +.. +.wh 1u _H + +. \" ZZ - enlarge or shorten the text block on the current +. \" page to avoid widows +. \" .ZZ -> enlarge by one line +. \" .ZZ +3 -> enlarge by three lines +. \" .ZZ -2 -> shorten by two lines +. \" .ZZ +1c -> enlarge by one centimeter +. \" .ZZ "" -> reset to the default +.de ZZ +.ie \\n(.$=0 .ch FO -\\n(FMu+1v +.el .ch FO -\\n(FMu\\$1 +.. + +. \" CW - Set text in CW font (similar to .B and .I) +.de CW +.nr PQ \\n(.f +.if t \{\ +. ft CW +. if !^\\$1^^ \&\\$1\f\\n(PQ\\$2 +.\} +.if n \{\ +. ie ^\\$1^^ .ul 999 +. el .ul 1 +. if \\n(.$=1 \&\\$1 +. if \\n(.$>1 \&\\$1\c +. if \\n(.$>1 \&\\$2 +.\} +.. + +. \" refer(1) stuff +.ds [. " [ +.ds .] ] +.rm ]< +.de ]< +. de FP +. IP \\\\$1 +\\.. +. rm FS FE +.. + +. \" PT - page top macro of ms +.am PT +. rs +.. + + +. \" RN - Reset PN and continue on an odd page ($1=number-format) +.de RN +.ie e .pn 1 +.el \{ +. pn 0 +. bp +.\} +.ie \\n(.$=1 \{\ +. af PN \\$1 +. af % \\$1 +.\} +.el \{\ +. af PN 1 +. af % 1 +.\} +.. + + +. \" T_ - Add TOC entry ($1=pre-space $2=indent-level $3=text) +.de T_ +.tm TOC____.sp \\$1 +.tm TOC____\&\\h'\\$2u*2u*\\n(PIu'\\$3\0\0\a\t\\n(PN\fR +.. + +. \" NH - redefine numbered heading +.de NH +.SH +.nr NS \\$1 +.if !\\n(.$ .nr NS 1 +.if !\\n(NS .nr NS 1 +.nr H\\n(NS +1 +.if \\n(NS<2 .nr H2 0 +.if \\n(NS<3 .nr H3 0 +.ds SN \\n(H1 +.if \\n(NS>1 .as SN \&.\\n(H2 +.if \\n(NS>2 .as SN \&.\\n(H3 +.. + +. \" H- - Chapter not numbered and not in TOC ($2==yes -> TOC) +.de H- +.ig IG +.EH " +.OH " +.IG +.bp +.\" .if e .rs \" move to an odd page +.\" .if e .bp +.lg 0 +.nr PS +6 +.nr VS +6 +.SH +.ce 1 +.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ +\&\\$1 +.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü +.br +.nr PS -6 +.nr VS -6 +.lg +.ig IG +.EH "\\\\*(_E +.OH "\\\\*(_o +.IG +.\" .ds CF \\n(PN +.if '\\$2'yes' \{ +.rm t_ +.T_ .5v 0 "\fB\\*(t_\\$1 +.\} +.RT +.sp 2 +.nr PP 0 +.. + +. \" AP - Start the Appendix +.de AP +.nr _A 1 +.nr H1 0 +.af H1 A +.. + +. \" H0 - Chapter ($2=="no" -> not numbered) +.de H0 +.\" bp +.\" .if e .rs \" begin chapter on an odd page +.\" .if e .bp +.br +.lg 0 +.nr PS +4 +.nr VS +4 +.ie ,\\$2,no, \{\ +. SH +. ce 99 +.if !,\\$3,no, .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ +\&\\$1 +.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü +.\} +.el \{\ +. NH 1 +. ce 99 +.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ +. ie \\n(_A Appendix \\*(SN. \\$1 +. el \\*(SN. \\$1 +.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü +.\} +.br +.ce 0 +.nr PS -4 +.nr VS -4 +.lg +.\" add to TOC +.rm t_ +.if !,\\$2,no, .ds t_ \\Z'\\*(SN'\\h'3n' +.T_ .5v 0 "\fB\\*(t_\\$1 +.RT +.sp .5 +.ns +.nr PP 0 +.. + + +. \" H1 - Section ($2=="no" -> not numbered) +.de H1 +.br +.ne 7 +.sp +.lg 0 +.nr PS +2 +.nr VS +2 +.ie '\\$2'no' .SH +.el .NH 2 +.if !'\\$2'no' \&\\*(SN +.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ +\&\\$1 +.br +.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü +.nr PS -2 +.nr VS -2 +.lg +.if !'\\$2'no' .T_ .3v 1 "\\Z'\\*(SN'\\h'4n'\\$1 \" add to TOC +.RT +.nr PP 0 +.. + +. \" H2 - Subsection +.de H2 +.br +.ne 4 +.NH 3 +\&\\*(SN \\$1 +.T_ 0 2 "\\Z'\\*(SN'\\h'5.5n'\\$1 \" add to TOC +.RT +.nr PP 0 +.. + +. \" U1 - Section ($2=="yes" -> add to TOC) +.de U1 +.sp .5 +.ne 7 +.lg 0 +.nr PS +2 +.nr VS +2 +.ns +.SH +\&\\$1 +.br +.nr PS -2 +.nr VS -2 +.lg +.T_ .3v 1 "\\$1 \" add to TOC +.RT +.nr PP 0 +.. + + +. \" U2 - Subsection unnumbered ($2=="yes" -> add to TOC) +.de U2 +.sp .5 +.ne 4 +.ns +.SH +\&\\$1 +.if '\\$2'yes' .T_ 0 2 "\\Z'\\*(SN'\\h'5.5n'\\$1 \" add to TOC +.RT +.nr PP 0 +.. + +. \" U3 - Subsubsection unnumbered +.de U3 +.br +.ne 4 +.RT +.sp +.I "\\$1 +.RT +.nr PP 0 +.. + +. \" P - Paragraph (indented unless following a heading) +.de P +.ie \\n(PP .PP +.el .LP +.nr PP 1 +.. + +.am LP +.nr PP 1 +.. + + +. \" LI - Numbered paragraph ``list item'' ($1=label) +.de LI +.ie \\n(.$ .IP "\\h'\\n(PIu'\\$1." 2u*\\n(PIu +.el .IP "\\h'\\n(PIu'\\(bu" 2u*\\n(PIu +.nr PP 1 +.. +.ig \" backup +.ie \\n(.$ .IP "\h'1n'\\$1" +.el .IP "\h'1.5n'\\(bu" +.. + +. \" BU - Bulleted paragraph +.de BU +.LI +.. + +. \" QS - Block quote start +.de QS +.ti \\n(.iu +.\"RT +.sp 2u*\\n(PDu +.ne 1.1 +.ps -1 +.vs -1 +.in +\\n(QIu +.ll -\\n(QIu +.ti \\n(.iu +.\"if \\n(Qp .ti +\\n(PIu +.\"nr QP 1 +.\"rr Qp +.. + +. \" QP - Block quote paragraph +.de QP +.sp \n(PDu +.ne 1.1 +.ti +\\n(PIu +.. + +. \" QP - Block quote end +.de QE +.sp \\n(PDu +.in -\\n(QIu +.ll +\\n(QIu +.ti \\n(.iu +.ps +1 +.vs +1 +.. + +. \" DS - Code display +.am DS +.ft CW +.ps -1 +.ta T 8n +.. + +. \" VS - verbatim text start (\\ -> ^G; ' -> disabled; . -> ^B) +.de VS +.br +.ne 3 +.sp \n(DDu +.di _V +.nf +.ft CW +.ps -.5 +.\" set up verbatim environment +\.blm +\.ec  +\.c2 "" +\.cc  +.. + +. \" VE - verbatim text end (NOTE: Needs to be called as ^BVE !) +.de VE +\" restore the special characters +cc +.c2 +.ec +.br +.di +.ne \\n(dnu+1v \" ensure enough space on the page +.in +2u*\\n(PIu +.ta T 8n +\.ec  \" set up verbatim environment, once again +\.c2 "" +\.cc  +_V \" output the verbatim content +\" restore the special characters +cc +.c2 +.ec +.blm __ +.in -2u*\\n(PIu +.sp \n(DDu +.ps +.5 +.ft P +.fi +.TA +.. + +. \" VF - verbatim text from file ($1=filename) +.de VF +.VS +so $1 +VE +.. + +.de Fn \" file name +.CW "\\$1" "\\$2 +.. +.de Pn \" program name +.CW "\\$1" "\\$2 +.. +.de Fu \" function +.CW "\\$1" "\\$2 +.. +.de Ev \" env variable +.CW "\\$1" "\\$2 +.. +.de Cl \" command line +`\c +.CW "\\$1" "'\\$2 +.. +.de Sw \" switch +.CW "\\$1" "\\$2 +.. +.de Ar \" argument +.CW "\f(CI\\$1" "\\$2 +.. +.de Mp \" man page +.I "\\$1" "\\$2 +.. +.de Pe \" profile entry +.CW "\\$1" "\\$2 +.. +.de Hd \" mail header field +.CW "\\$1:\&" "\\$2 +.. + +.de Ci \" commit hash ref +.ds _t \\$1 +.substring _t 0 6 +[\(rh\|\fL\\*(_t\fP]\\$2 +.. + +. \" Cf - reference within the document ($1=name of ref file) +.de Cf +\.if !\\nZ .so refs/\\$1 \c +\\$2 +.. + +. \" Id - put a referenceable marker here ($1=identifier) +.de Id +.tm REF____\\$1\t\\*(SN\t\\n(PN +.. diff -r 000000000000 -r debf9b807f5f text.roff --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/text.roff Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,12 @@ +.ig +.ds LH "\s12\fIMarkus Schnalke: Open Access aus der Perspektive der Freien Software +.ds RH "\s12\\n(PN +.. +.RN 1 +.bp + + +.\"################################################################### +.H0 "Einführung +.P +FIXME diff -r 000000000000 -r debf9b807f5f toc.roff --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toc.roff Thu Feb 13 20:28:19 2014 +0100 @@ -0,0 +1,10 @@ +.H- Inhalt + +.ps +2 +.vs +2 +.ns +.ta \n(LLu-5n \n(LLuR +.nf +.if !\nZ=1 .so toc.ig +.ps -2 +.vs -2