Hullo, I'm just making my first real document in ConTeXt and although I'm thinking more and more how this was a great idea. I also decided to simultaneously write an external document/module containing all definitions to fit the
But as a newbie, of course, I stumbled upon some beginner's problems: 1. Chapter heading is not like I would expect — I would like to have the line above the chapter as long as the one below it 2. The empty page at the end of the document annoys me and doesn't want to go away. 3. The citations won't show any content, neither does the list of publications — I'm clearly doing something very wrong here. What I want is numbered citation with short references at the bottom and full references in the list of publications in the appendices. 4. If I want to include 'pf_ul.tex' and 'moja_bibliografija.bbl' into my user's local modules in Linux, where should I place the link to them? It's a bit annoying to have to place links to them in each directory where I make a new new file that uses them. And clearly, there will be many yet to come! If anything I just wrote doesn't make much sense, I excuse myself ...I'm tired, tried to learn and hack together this definitions the whole day today and didn't sleep much yesterday either. Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje
% za pravila PF UL \input pf_ul \def\avtor{Matija Šuklje} \def\mentor{as. mag. Luka Tičar} \def\tip{seminarska naloga} \def\naslov{Konkurenčna klavzula v delovni pogodbi} \def\kljucnebesede{delovno pravo} % moji lastni linki \useURL[author-email][mailto:[EMAIL PROTECTED]@rutka.net] \useURL[homepage][http://matija.suklje.name][][matija.suklje.name] \starttext \startstandardmakeup \title{\naslov} \stopstandardmakeup \startfrontmatter \setuppagenumbering[left={stran },conversion=Romannumerals,location=right] \placecontent \section[uvod]{Uvod} \subsection[povzetek]{Povzetek} \input knuth {\en % začasno spremeni jezik v angleščino \subsection[summary]{Summary} \input knuth } \stopfrontmatter \startbodymatter \setuppagenumbering[left={stran },right={ od \lastpagenumber},location=right] \chapter{Kr en poglavje} \section[1]{Prvo poglavje} \input tufte \subsection[1.1]{podpoglavje} \input knuth tuki citiram, veš? \cite[ZOFVI] \cite[neki] \stopbodymatter \startappendices \placepublications \stopappendices \stoptext
\startpublication[ k=ZOFVI, % key, po katerem citiraš t=zakon, % tip publikacije je zakon y=1996, s=ZOFVI, % short citation u=http://www.uradni-list.si/1/ulonline.jsp?urlid=199612&dhid=32248, ] \title{Zakon o organizaciji in financiranju vzgoje in izobraževanja} \journal{Uradni list Republike Slovenije} \volume{35} \issue{12} \pubyear{1996}\month{2}\day{29} \biburl{http://www.uradni-list.si/1/ulonline.jsp?urlid=199612&dhid=32248} \pages{841-862} \stoppublication \startpublication[ a={Matija Šuklje} k=neki, t=test, y=2007, s=Neki ] \title{Neki nekastga} \author{Matija Šuklje} \stoppublication
%d Tu so ConTeXt definicije oblike ipd., kot so predpisane za seminarske %d in diplomske naloge na Pravni fakulteti Univerze v Ljubljani %c Avtor: Matija Šuklje, [EMAIL PROTECTED], http://matija.suklje.name %c Avtor dovoljuje (in spodbuja) uporabo vsebino tega „dela“ pod pogoji v licenci GPL. %d This are the ConTeXt definitions of layout etc. as perscribed for writing a thesis %d on the Law faculty, University of Ljubljana %c Author: Matija Šuklje, [EMAIL PROTECTED], http://matija.suklje.name %c The author permits (and encourages) the usage of this "work" under the terms of the GPL licence. %%% %%% splošne definicije dokumenta %%% % jezik, UTF-8 in velikost papirja \mainlanguage[sl] \enableregime[utf8] \setuppapersize[a4][a4] %%% %%% za informacije v PDF, pobere podatke iz definicij glavnega dokumenta %%% % da dela UTF-8 tudi v PDF kazalu in informacijah o dokumentu \input spec-tst % pobere iz glavnega dokumenta definicije in jih zapiše v informacije v PDF \setupinteraction [state=start, title={\naslov}, subtitle={\tip}, author={\avtor}, keyword={\tip, \kljucnebesede} ] % ustvari kazalo v PDF \placebookmarks[chapter,section,subsection] %%% %%% kazalo %%% \setupcombinedlist[content][alternative=c] \setuplist[chapter][style=bold,alternative=b,width=1.5em] \setuplist[section][margin=1.5em,width=2em] \setuplist[subsection][margin=3.5em,width=3em] \setuplist[subsubsection][margin=6.5em,width=4em] %%% %%% oblika poglavij ipd. %%% % zgenerira okoli naslova prvo stran na podlagi definicij iz glavnega dokumenta in datuma ob generiranju \setuphead [title] [align=middle, textstyle=\sc, style=\bfd, before={\startalignment[middle] Univerza v Ljubljani \crlf Pravna fakulteta \vfill}, after= { (\tip) % definiraj v dokumentu — npr. \def\tip{diplomska naloga} \vfill Avtor: \avtor % definiraj v dokumentu — npr. \def\autor{Matija Šuklje} \crlf Mentor: \mentor % definiraj v dokumentu — npr. \def\mentor{preljubi profesor} \vfill Ljubljana, \currentdate{} \stopalignment \page } ] % poglavja \setuphead [chapter] [header=empty, textstyle=\sc, style=\bfb, before={\page\hairline\blank[line]}, after={\nowhitespace\hairline\blank[4*line]} ] % oddelki \setuphead [section] [page=yes, textstyle=\sc, style=\tfa, align=right, before={\blank[2*line]}, after={\blank[line]} ] % pododdelki \setuphead [subsection] [style=\it, align=right, before={\blank[2*line]}, after={\blank[line]} ] %%% %%% splošna oblika teksta %%% \setupindenting[1.5em] \setupindenting[yes] \setupwhitespace[medium] %%% %%% definicije za citiranje in bibliografijo %%% % da sploh dela citiranje in bibliografija in ga poišče v zunanji datoteki \usemodule[bib] \input moja_bibliografija.bbl % splošne nastavitve za citiranje %TODO — predeli ...je sam začasna oblika \setuppublications [sorttype=cite, refcommand=short, monthconversion=\Romannumerals % ne dela? ] % splošne nastavitve za bibliografijo %TODO — sploh ustvari!! % zakonodaja %TODO — predeli ...je sam začasna oblika \setuppublicationlayout[zakon]{ \inserttitle{\bgroup}{\egroup. }{} \insertjournal{\bgroup\it}{\egroup, }{} \insertvolume{}{ }{} \insertpubyear{(}{) }{} \insertissue{}{, }{} \insertday{}{. }{} \insertmonth{}{. }{} \insertpages{Str. }{.}{} } \setupcite[key,author][] \setuppublicationlayout[test]{ \inserttitle{}{} } %TODO — prenesi vse kar se le da iz glavnega dokumenta sem %TODO — citiranje (to bo še komplicirano!)
signature.asc
Description: This is a digitally signed message part.
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________