From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38284 Path: news.gmane.org!not-for-mail From: Matija =?utf-8?q?=C5=A0uklje?= Newsgroups: gmane.comp.tex.context Subject: =?utf-8?q?First_document_=E2=80=94_problems_with_bi?= =?utf-8?q?b_module_and_layout?= Date: Tue, 25 Dec 2007 23:39:07 +0100 Message-ID: <200712252339.12166.matija.suklje@rutka.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2063683294==" X-Trace: ger.gmane.org 1198622509 26023 80.91.229.12 (25 Dec 2007 22:41:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Dec 2007 22:41:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 25 23:42:00 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J7ITH-0001RP-Ci for gctc-ntg-context-518@m.gmane.org; Tue, 25 Dec 2007 23:41:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1AFF1FBCB; Tue, 25 Dec 2007 23:41:38 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04261-02-2; Tue, 25 Dec 2007 23:41:07 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1E23A1FC0D; Tue, 25 Dec 2007 23:40:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 909D91FC0D for ; Tue, 25 Dec 2007 23:40:23 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02716-03-2 for ; Tue, 25 Dec 2007 23:39:50 +0100 (CET) Original-Received: from srce.rutka.net (srce.rutka.net [217.72.76.100]) by ronja.ntg.nl (Postfix) with ESMTP id 7D8171FBAA for ; Tue, 25 Dec 2007 23:39:44 +0100 (CET) Original-Received: from localhost (unknown [192.168.217.50]) by srce.rutka.net (Postfix) with ESMTP id 5E403380B7D9 for ; Tue, 25 Dec 2007 22:39:44 +0000 (Local time zone must be set--see zic manual page) Original-Received: from srce.rutka.net ([192.168.217.50]) by localhost (rutka.net [192.168.217.50]) (amavisd-new, port 10025) with ESMTP id 23576-08 for ; Tue, 25 Dec 2007 22:39:35 +0000 (Local time zone must be set--see zic manual page) Original-Received: from [192.168.1.3] (unknown [84.20.246.165]) by srce.rutka.net (Postfix) with ESMTP id A6FBA380B7D7 for ; Tue, 25 Dec 2007 22:39:34 +0000 (Local time zone must be set--see zic manual page) User-Agent: KMail/1.9.7 X-Face: 9JQ>.o,'m$70vXZ4)9$IJRO,F)Z(}Uf>Pt@~[M_uw1"G,C)V; sQs; }AQ]|*J82$@mW<=?utf-8?q?rj2=0A=09=7DmD=5Fn?=@,SGQ@'9z*PCSwyG\!%M~)l-2)x(%|AJP!tr(we4Q7^fbv5"Kin<8i5wCP:<=?utf-8?q?A=7EPtz=0A=09aX=3AyDeHx3ethS?=>c<=?utf-8?q?8e=5D3nC6x=5B0tUZyqsgyVq=25=7BYe=3BM=24=25O=3F1=7CDoz=26VU=3A=5Fj?= =?utf-8?q?qko=5BZn3Bv=27dO=60=0A=09dol=26C4L?="C1TO2n[~B{]> =?utf-8?q?=5Bke9d=60Y=2E=5CCm4=7B=7CDV=7DbbHlGhhvf=7B=25kn=24N2=24nA=25Gn?= =?utf-8?q?0V*g=3AIhB=7D33=0A=09RW=3D6A9uUxUPVC?=>)K<]AZgN}q X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38284 Archived-At: --===============2063683294== Content-Type: multipart/signed; boundary="nextPart1617756.vo93Q0h05C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1617756.vo93Q0h05C Content-Type: multipart/mixed; boundary="Boundary-01=_LaYcHctO0UchERn" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_LaYcHctO0UchERn Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hullo, I'm just making my first real document in ConTeXt and although I'm thinking= =20 more and more how this was a great idea. I also decided to simultaneously=20 write an external document/module containing all definitions to fit the=20 But as a newbie, of course, I stumbled upon some beginner's problems: 1. Chapter heading is not like I would expect =E2=80=94 I would like to hav= e the line=20 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=20 away. 3. The citations won't show any content, neither does the list of publicati= ons=20 =E2=80=94 I'm clearly doing something very wrong here. What I want is numbe= red=20 citation with short references at the bottom and full references in the lis= t=20 of publications in the appendices. 4. If I want to include 'pf_ul.tex' and 'moja_bibliografija.bbl' into my=20 user's local modules in Linux, where should I place the link to them? It's = a=20 bit annoying to have to place links to them in each directory where I make = a=20 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=20 tired, tried to learn and hack together this definitions the whole day toda= y=20 and didn't sleep much yesterday either. Cheers, Matija =2D-=20 gsm: +386 41 849 552 e-mail: matija.suklje@rutka.net www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: matija.suklje@gabbler.org msn: matija.suklje@rutka.net yahoo: matija_suklje --Boundary-01=_LaYcHctO0UchERn Content-Type: text/x-tex; charset="utf-8"; name*=utf-8''konkuren%C4%8Dnaklavzula_context%2Etex Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename*=utf-8''konkuren%C4%8Dnaklavzula_context%2Etex % za pravila PF UL \input pf_ul \def\avtor{Matija =C5=A0uklje} \def\mentor{as. mag. Luka Ti=C4=8Dar} \def\tip{seminarska naloga} \def\naslov{Konkuren=C4=8Dna klavzula v delovni pogodbi} \def\kljucnebesede{delovno pravo} % moji lastni linki \useURL[author-email][mailto:matija.suklje@rutka.net][][matija.suklje@rutka= =2Enet] \useURL[homepage][http://matija.suklje.name][][matija.suklje.name] \starttext \startstandardmakeup \title{\naslov} \stopstandardmakeup \startfrontmatter \setuppagenumbering[left=3D{stran },conversion=3DRomannumerals,location=3Dr= ight] \placecontent \section[uvod]{Uvod} \subsection[povzetek]{Povzetek} \input knuth {\en % za=C4=8Dasno spremeni jezik v angle=C5=A1=C4=8Dino \subsection[summary]{Summary} \input knuth } \stopfrontmatter \startbodymatter \setuppagenumbering[left=3D{stran },right=3D{ od \lastpagenumber},location= =3Dright] \chapter{Kr en poglavje} \section[1]{Prvo poglavje} \input tufte \subsection[1.1]{podpoglavje} \input knuth tuki citiram, ve=C5=A1? \cite[ZOFVI] \cite[neki] \stopbodymatter \startappendices \placepublications \stopappendices \stoptext --Boundary-01=_LaYcHctO0UchERn Content-Type: text/plain; charset="utf-8"; name="moja_bibliografija.bbl" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="moja_bibliografija.bbl" \startpublication[ k=3DZOFVI, % key, po katerem citira=C5=A1 t=3Dzakon, % tip publikacije je zakon y=3D1996, s=3DZOFVI, % short citation u=3Dhttp://www.uradni-list.si/1/ulonline.jsp?urlid=3D199612&dhid=3D32248, ] \title{Zakon o organizaciji in financiranju vzgoje in izobra=C5=BEevanja} \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=3D199612&dhid=3D322= 48} \pages{841-862} \stoppublication \startpublication[ a=3D{Matija =C5=A0uklje} k=3Dneki, t=3Dtest, y=3D2007, s=3DNeki ] \title{Neki nekastga} \author{Matija =C5=A0uklje} \stoppublication --Boundary-01=_LaYcHctO0UchERn Content-Type: text/x-tex; charset="utf-8"; name="pf_ul.tex" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="pf_ul.tex" %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 =C5=A0uklje, matija.suklje@rutka.net, http://matija.suklje= =2Ename %c Avtor dovoljuje (in spodbuja) uporabo vsebino tega =E2=80=9Edela=E2=80= =9C pod pogoji v licenci GPL. %d This are the ConTeXt definitions of layout etc. as perscribed for writin= g a thesis %d on the Law faculty, University of Ljubljana %c Author: Matija =C5=A0uklje, matija.suklje@rutka.net, http://matija.suklj= e.name %c The author permits (and encourages) the usage of this "work" under the t= erms of the GPL licence. %%% %%% splo=C5=A1ne 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=C5=A1e v informacije = v PDF \setupinteraction [state=3Dstart, title=3D{\naslov}, subtitle=3D{\tip}, author=3D{\avtor}, keyword=3D{\tip, \kljucnebesede} ] % ustvari kazalo v PDF \placebookmarks[chapter,section,subsection] %%% %%% kazalo %%% \setupcombinedlist[content][alternative=3Dc] \setuplist[chapter][style=3Dbold,alternative=3Db,width=3D1.5em] \setuplist[section][margin=3D1.5em,width=3D2em] \setuplist[subsection][margin=3D3.5em,width=3D3em] \setuplist[subsubsection][margin=3D6.5em,width=3D4em] %%% %%% oblika poglavij ipd. %%% % zgenerira okoli naslova prvo stran na podlagi definicij iz glavnega dokum= enta in datuma ob generiranju \setuphead [title] [align=3Dmiddle, textstyle=3D\sc, style=3D\bfd, before=3D{\startalignment[middle] Univerza v Ljubljani \crlf Pravna fakult= eta \vfill}, after=3D { (\tip) % definiraj v dokumentu =E2=80=94 npr. \def\tip{diplomska naloga} \vfill Avtor: \avtor % definiraj v dokumentu =E2=80=94 npr. \def\autor{Matija = =C5=A0uklje} \crlf Mentor: \mentor % definiraj v dokumentu =E2=80=94 npr. \def\mentor{prelj= ubi profesor} \vfill Ljubljana, \currentdate{} \stopalignment \page } ] % poglavja \setuphead [chapter] [header=3Dempty, textstyle=3D\sc, style=3D\bfb, before=3D{\page\hairline\blank[line]}, after=3D{\nowhitespace\hairline\blank[4*line]} ] % oddelki \setuphead [section] [page=3Dyes, textstyle=3D\sc, style=3D\tfa, align=3Dright, before=3D{\blank[2*line]}, after=3D{\blank[line]} ] % pododdelki \setuphead [subsection] [style=3D\it, align=3Dright, before=3D{\blank[2*line]}, after=3D{\blank[line]} ] %%% %%% splo=C5=A1na oblika teksta %%% \setupindenting[1.5em] \setupindenting[yes] \setupwhitespace[medium] %%% %%% definicije za citiranje in bibliografijo %%% % da sploh dela citiranje in bibliografija in ga poi=C5=A1=C4=8De v zunanji= datoteki \usemodule[bib] \input moja_bibliografija.bbl % splo=C5=A1ne nastavitve za citiranje %TODO =E2=80=94 predeli ...je sam za=C4=8Dasna oblika \setuppublications [sorttype=3Dcite, refcommand=3Dshort, monthconversion=3D\Romannumerals % ne dela? ] % splo=C5=A1ne nastavitve za bibliografijo %TODO =E2=80=94 sploh ustvari!! % zakonodaja %TODO =E2=80=94 predeli ...je sam za=C4=8Dasna oblika \setuppublicationlayout[zakon]{ \inserttitle{\bgroup}{\egroup. }{} \insertjournal{\bgroup\it}{\egroup, }{} \insertvolume{}{ }{} \insertpubyear{(}{) }{} \insertissue{}{, }{} \insertday{}{. }{} \insertmonth{}{. }{} \insertpages{Str. }{.}{} } \setupcite[key,author][] \setuppublicationlayout[test]{ \inserttitle{}{} } %TODO =E2=80=94 prenesi vse kar se le da iz glavnega dokumenta sem %TODO =E2=80=94 citiranje (to bo =C5=A1e komplicirano!) --Boundary-01=_LaYcHctO0UchERn-- --nextPart1617756.vo93Q0h05C Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBHcYaQK2gLUQVJ0ngRAtwOAKCgK+cOQ/7lVTYHsH0f+2vmeBkTVgCgkltJ yQrdQNAWcAkJDVdqfooeyBY= =CEy0 -----END PGP SIGNATURE----- --nextPart1617756.vo93Q0h05C-- --===============2063683294== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============2063683294==--