Skip to content

Commit c29bca7

Browse files
committedAug 26, 2019
styes
1 parent 466d0e0 commit c29bca7

File tree

4 files changed

+201
-0
lines changed

4 files changed

+201
-0
lines changed
 

‎Makefile

+115
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
MKINDEX=makeindex -gs index.format # dfki (German Order)
2+
DVIPS_OPTIONS=-j0 -Pwww
3+
#DVIPS_OPTIONS=-Ppdf
4+
5+
all: german-sentence.pdf
6+
7+
check: check-danish.2.ps
8+
9+
SOURCE=german-sentence-include.tex\
10+
german-sentence.tex\
11+
gs-empty-elements.tex\
12+
gs-introduction.tex\
13+
gs-mult-fronting.tex\
14+
gs-informationstructure.tex\
15+
gs-predication.tex\
16+
gs-sentence-structure.tex\
17+
gs-alternatives.tex
18+
19+
.SUFFIXES: .tex
20+
21+
22+
%.ps.gz: %.ps
23+
cp $*.ps $*.tmp
24+
gzip $*.tmp
25+
mv $*.tmp.gz $*.ps.gz
26+
27+
%.2.ps: %.ps
28+
2up 2 $*.ps >$*.tmp
29+
sed -e 's/%!PS-Adobe-2.0/%!PS-Adobe-2.0\n%%Orientation: Landscape/' $*.tmp >$*.2.ps
30+
rm $*.tmp
31+
32+
%.ps: %.dvi
33+
dvips -Pwww -j0 $*.dvi -o
34+
35+
%.pdf: %.ps
36+
ps2pdf13 $*.ps
37+
38+
#thumbpdf --modes=ps2pdf complex.pdf
39+
40+
41+
42+
%.pdf: %.tex $(SOURCE)
43+
xelatex -no-pdf $* |grep -v math
44+
biber $*
45+
xelatex -no-pdf $* |grep -v math
46+
biber $*
47+
xelatex $* -no-pdf |egrep -v 'math|PDFDocEncod' |egrep 'Warning|label|aux'
48+
correct-toappear
49+
correct-index
50+
\rm $*.adx
51+
authorindex -i -p $*.aux > $*.adx
52+
sed -e 's/}{/|hyperpage}{/g' $*.adx > $*.adx.hyp
53+
makeindex -gs index.format -o $*.and $*.adx.hyp
54+
makeindex -gs index.format -o $*.lnd $*.ldx
55+
makeindex -gs index.format -o $*.snd $*.sdx
56+
xelatex $* | egrep -v 'math|PDFDocEncod' |egrep 'Warning|label|aux'
57+
58+
# idx = author index
59+
# ldx = language
60+
# sdx = subject
61+
62+
# mit biblatex
63+
# makeindex -gs index.format -o $*.ind $*.idx
64+
65+
66+
# \rm $*.adx
67+
# authorindex -i -p $*.aux > $*.adx
68+
# sed -e 's/}{/|hyperpage}{/g' $*.adx > $*.adx.hyp
69+
# makeindex -gs index.format -o $*.and $*.adx.hyp
70+
# xelatex $* | egrep -v 'math|PDFDocEncod' |egrep 'Warning|label|aux'
71+
72+
73+
# the second BibTeX call resolves cross references,
74+
# this may change the number of pages, but since the indices are not in
75+
# the table of contents, we do not care
76+
kkk-danish.pdf: $(SOURCE)
77+
pdflatex danish
78+
bibtex danish
79+
pdflatex danish
80+
bibtex danish
81+
correct-toappear
82+
correct-index
83+
makeindex -gs index.format -o danish.ind danish.idx
84+
\rm danish.adx
85+
authorindex -i -p danish.aux > danish.adx
86+
sed -e 's/}{/|hyperpage}{/g' danish.adx > danish.adx.hyp
87+
makeindex -gs index.format -o danish.and danish.adx.hyp
88+
pdflatex danish
89+
90+
91+
92+
/Users/stefan/public_html/PS/german-sentence.pdf: german-sentence.pdf
93+
cp -p $? /Users/stefan/public_html/PS/german-sentence.pdf
94+
95+
96+
o-public: /Users/stefan/public_html/PS/german-sentence.pdf
97+
# svn commit -m "automatic checkin"
98+
scp -p $? hpsg.hu-berlin.de:public_html/PS/
99+
100+
101+
code-public:
102+
tar cjvf /tmp/german-sentence.tbz *.tex Makefile styles/ Bibliography/
103+
scp -p /tmp/german-sentence.tbz home.hpsg.fu-berlin.de:/home/stefan/public_html/transfer/
104+
105+
clean:
106+
rm -f *.bak *~ *.log *.blg *.bbl *.aux *.toc *.cut *.out *.tmp *.tpm *.adx *.idx *.ilg *.ind *.and *.glg *.glo *.gls *.657pk *.for *.wdx *.rdx *.ldx *.aux.copy *.lnd *.ldx *.sdx *.snd *.run.xml *.xdv *.mw *.bcf *.adx.hyp
107+
108+
check-clean:
109+
rm -f *.bak *~ *.log *.blg complex-draft.dvi
110+
111+
realclean: clean
112+
rm -f *.dvi *.ps *.pdf
113+
114+
115+

‎README

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
These files are version controled. The URL for the project is
2+
3+
svn+ssh://home.hpsg.fu-berlin.de/home/stefan/.svn-books/German-sentence
4+
5+
If you configured ssh correctly (key authorization), you do not need a login name and a password.
6+
7+
For Mac OS I tested version.app as a SVN client.
8+
9+
http://versionsapp.com/
10+
11+
It works.
12+
13+
If you do not want to see the auxiliary files that are produced by LaTeX (and some other files), you can add the following line to the file ~/.subversion/config
14+
15+
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.sav *.bak .alec_throw .trale_user_cmd* *.old *.toc *.aux *.snm *.blg *.dvi *.nav *.ps *.pdf *.log .trale_interface* CVS* *.adx *.adx.hyp *.and *.ilg *.out *.idx *.ind *.*pk *.ldx *.lnd *.cut
16+
17+
18+
19+
20+
The styles are part of the repository. You have to set up your tex system in a way that these styles
21+
and headers are found before other styles with the same name that maybe installed on your system.
22+
23+
When you look at the LaTeX ouput you should see something like:
24+
25+
(./styles/jambox.sty
26+
\jamwidth=\dimen106
27+
) (./styles/article-ex.sty
28+
\c@smtempcnt=\count94
29+
\widelabel=\dimen107
30+
) (./styles/makros.2e.sty
31+
(./styles/merkmalstruktur.sty
32+
33+
For the tcsh you can put the following into .cshrc:
34+
35+
setenv TEXINPUTS .:./styles//:
36+
37+
38+
You may check the effectiveness of your settings by typing:
39+
40+
tlmgr conf
41+
42+
43+
44+
Details regarding SVN:
45+
46+
The svn repository is located on home.hpsg.fu-berlin.de you have to login there with the user name
47+
that Stefan told you. In order to do this automatically you have to modify your ~/.ssh/config (on
48+
Linux and Mac) to include the following:
49+
50+
Host home home.hpsg.fu-berlin.de
51+
HostName home.hpsg.fu-berlin.de
52+
User your-user-name
53+
54+
55+
You can then type:
56+
57+
svn checkout svn+ssh://home.hpsg.fu-berlin.de/home/stefan/.svn-books/German-sentence
58+
59+
60+
61+
62+
I used the following:
63+
64+
65+
ssh home.hpsg.fu-berlin.de svnadmin create /home/stefan/.svn-books/German-sentence
66+
67+
68+
svn import -m "" German-sentence svn+ssh://home.hpsg.fu-berlin.de/home/stefan/.svn-books/German-sentence
69+
70+
svn checkout svn+ssh://home.hpsg.fu-berlin.de/home/stefan/.svn-books/German-sentence
71+
72+
73+
svn propedit svn:externals .
74+
styles svn+ssh://home.hpsg.fu-berlin.de/home/stefan/.svn-books/styles
75+
Bibliography svn+ssh://home.hpsg.fu-berlin.de/home/stefan/.svn-books/Bibliography
76+
77+
78+
For a quickcheck do "make check" or even quicker: latex check-danish ; dvips check-danish ; bibtex check-danish.aux
79+
80+
81+
Or if you prefer to look at two pages simultanously:
82+
83+
latex check-danish ; make check-danish.2.ps ; bibtex check-danish.aux
84+

‎index.format

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
quote '`'

‎langsci

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../GT/English/langsci

0 commit comments

Comments
 (0)
Please sign in to comment.