Re: [NTG-context] gnuplot & ConTeXt
On Wed, 28 Feb 2007, Aditya Mahajan wrote: > m-gnuplot is found before t-gnuplot on my system. I know that > m-gnuplot has been removed from the core packages, but I (and I guess > most people) update using ctxtools --update, which will not delete the > existing m-gnuplot. Hello Aditya, for this reason I wrote updateConTeXt.sh ( http://pmrb.free.fr/work/OS/ConTeXt/updateConTeXt.sh ). If you want to use it, you need to have your local files in a different texmf tree (texmf-local for example and the ConTeXt tree in texmf-context). Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TikZ for standalone ConTeXt
Mojca Miklavec wrote: > Hello, > > Since some people asked about how to "install" TikZ on standalone > ConTeXt, here's a zip: > http://modules.contextgarden.net/TikZ > > There is one little problem I experienced while testing though. > xkeyval is located under tex/latex/, so it's not found by ConTeXt (at > least not with the default settings of standalone). > Suggestions? Should xkeyval be moved to /tex/context/xkeyval? > no, that would mean a duplicate copy in the tree, if it's generic it can go under tex/generic, or else you need to adapt the search path in texmf.cnf > Please let me know if you have any problems with it. > > Mojca > > (PS: I uploaded the version 1.10. Later on better support for XeTeX > was added, perhaps some other issues were solved as well. I will > probably try to fetch it from cvs one day, but if anyone needs newer > version(s) sooner, let me know.) > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TikZ for standalone ConTeXt
On Thu, 1 Mar 2007, Mojca Miklavec wrote: > Hello, > > Since some people asked about how to "install" TikZ on standalone > ConTeXt, here's a zip: >http://modules.contextgarden.net/TikZ > > There is one little problem I experienced while testing though. > xkeyval is located under tex/latex/, so it's not found by ConTeXt (at > least not with the default settings of standalone). > Suggestions? Should xkeyval be moved to /tex/context/xkeyval? There is also tex/generic/xkeyval/xkeyval.tex (plain tex support), and that is the one that is used while using tikz with context. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Bibtex: empty reference and reference-title / -data
Hi, maybe this is a stupid question, but I am "deadlocked" in this case. In the text I always getting an empty reference «()» and the listOfReferences has no title and looks also a little bit discontenting: 3 (2001). Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen. Spiegel Verlag und Stiftungs Lesen, Mainz, Hamburg, Deutschland I would like to get following results: A. Quellen Stiftung Lesen (Hrsg.): Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen aus: Schriftenreihe «Lesewelten», Band 3, Stiftung Lesen und Spiegel Verlag, Mainz, Hamburg 2001 Here is my tex-file (studie.tex) - \mainlanguage[de] \usemodule[bib] \setupbibtex[database=studie,bibtex=bibtex8] \setupheadtext[de][pubs=Quellen] text text \cite[stl] text text \placepublications Here is my bbl-file (one book for the begining: but no author - only an editor)(studie.bbl): - \setuppublicationlist[ criterium=all, totalnumber=1] \startpublication[ k=stl, y=2001, n=1, s=StL2001, t=book] \lang{de} \title{Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen} \series{Schriftenreihe: «Lesewelten»} \volumne{3} \pubyear{2001} \city{Mainz, Hamburg} \country{Deutschland} \edition{1.} \pubname{Spiegel Verlag und Stiftungs Lesen} \stoppublication Both files are in the same directory. When I am running texexec --xtx studie.tex it is showing stuff like this: hapter : 2 Textrepräsentation section : 2.1 Der Text ! Undefined control sequence. \pbdd-stl ...iftenreihe: «Lesewelten»} \volumne {3} \pubyear {2001} \city ... \dotypesetapublication ...mpty \getvalue {pbdd-#1} \ifcsname pbdt-#1\endcsnam... ...}\strut \dotypesetapublication {stl} \strut \outdented #1->\hskip -\hangindent #1 \doattributes ...sname [EMAIL PROTECTED] \endcsname \fi {#4 }\dostopattributes ...dotypesetapublication {stl}\strut }} \egroup \ifdim \wd 4=\zero... ... l.49 ? and is waiting for input. Here I am answering with an return I it continues. I am happy for any hint. Thanks, H. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] style for section
Hi all, this sounds easy, but I can't seem to find a solution. I want my section headers to look like so: 1. April 4 Title of chapter i.e. have the title right aligned. I thought this should be as simple as \section{April 4 \hfill Title of chapter} but alas, no, it's always flush left. Is there an obvious solution I'm overlooking? Thanks Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to set page background?
> Yes, but only the A7 small page changes the background. Actually, I've tried > many combinations of those options before I post my problem. So I think > there is something that hasn't been mentioned in the manual. \setupcolors[state=start] \setuppapersize [A7][A3] %%% %\setuparranging [2*8,rotated,doublesided] %%% \setuppagenumbering [alternative=doublesided] \setuplayout [margin=0pt,width=fit] \setupbackgrounds [paper][background=color,backgroundcolor=red] \setuplayout [location=middle,marking=color] \setuptolerance [tolerant] \setupbodyfont [6pt] \starttext \dorecurse{30}{\input tufte \par \input knuth \par} \stoptext hmm, may be \setuparranging [2*8,rotated,doublesided] reset backgrounds ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bibtex: empty reference and reference-title / -data
Hi Henning, Henning Haeske wrote: > Hi, > > maybe this is a stupid question, but I am "deadlocked" in this case. TeX hangs because of a typo in the bbl file. Did you by chance edit the bbl file manually? \volumne should be \volume (extra 'n'). > In the text I always getting an empty reference «()» and the listOfReferences > has no title and looks also a little bit discontenting: These two problems are likely caused by that same error. > 3 (2001). Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der > Stiftung Lesen. Spiegel Verlag und Stiftungs Lesen, Mainz, Hamburg, > Deutschland > > I would like to get following results: > > A. Quellen > > Stiftung Lesen (Hrsg.): Leseverhalten in Deutschland im neuen Jahrtausend: > Eine Studie der Stiftung Lesen aus: Schriftenreihe «Lesewelten», Band 3, > Stiftung Lesen und Spiegel Verlag, Mainz, Hamburg 2001 This is where it gets problematic. The 'Stiftung Lesen' does not appear in the bbl file at all. But even if it would, the 'apa' style is not ok for your use. I guess you need something closer to the 'num' style. Good luck, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bibtex: empty reference and reference-title / -data
Henning Haeske wrote: > Hi, > > maybe this is a stupid question, but I am "deadlocked" in this case. > > In the text I always getting an empty reference «()» and the listOfReferences > has no title and looks also a little bit discontenting: > > 3 (2001). Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der > Stiftung Lesen. Spiegel Verlag und Stiftungs Lesen, Mainz, Hamburg, > Deutschland > > I would like to get following results: > > A. Quellen > > Stiftung Lesen (Hrsg.): Leseverhalten in Deutschland im neuen Jahrtausend: > Eine Studie der Stiftung Lesen aus: Schriftenreihe «Lesewelten», Band 3, > Stiftung Lesen und Spiegel Verlag, Mainz, Hamburg 2001 > > > > Here is my tex-file (studie.tex) > - > \mainlanguage[de] > \usemodule[bib] > \setupbibtex[database=studie,bibtex=bibtex8] > \setupheadtext[de][pubs=Quellen] > > text text \cite[stl] text text > > \placepublications > > > > Here is my bbl-file (one book for the begining: but no author - only an > editor)(studie.bbl): > - > \setuppublicationlist[ > criterium=all, > totalnumber=1] > > \startpublication[ > k=stl, > y=2001, > n=1, > s=StL2001, > t=book] > \lang{de} > \title{Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der > Stiftung Lesen} > \series{Schriftenreihe: «Lesewelten»} > \volumne{3} \volumnr (?) just guessing, as i don't use bibtex > \pubyear{2001} > \city{Mainz, Hamburg} > \country{Deutschland} > \edition{1.} > \pubname{Spiegel Verlag und Stiftungs Lesen} > \stoppublication > > Both files are in the same directory. When I am running texexec --xtx > studie.tex it is showing stuff like this: > > hapter : 2 Textrepräsentation > section : 2.1 Der Text > ! Undefined control sequence. > \pbdd-stl ...iftenreihe: «Lesewelten»} \volumne this one is undefined (see above) HTH, Peter > {3} \pubyear {2001} > \city ... > > \dotypesetapublication ...mpty \getvalue {pbdd-#1} > \ifcsname > pbdt-#1\endcsnam... > ...}\strut \dotypesetapublication {stl} > \strut > \outdented #1->\hskip -\hangindent #1 > > \doattributes ...sname [EMAIL PROTECTED] \endcsname \fi {#4 > }\dostopattributes > ...dotypesetapublication {stl}\strut }} > \egroup \ifdim \wd > 4=\zero... > ... > l.49 > > ? > and is waiting for input. Here I am answering with an return I it continues. > I am happy for any hint. > > Thanks, H. > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TikZ for standalone ConTeXt
On 3/1/07, Aditya Mahajan wrote: > On Thu, 1 Mar 2007, Mojca Miklavec wrote: > > > Hello, > > > > Since some people asked about how to "install" TikZ on standalone > > ConTeXt, here's a zip: > >http://modules.contextgarden.net/TikZ > > > > There is one little problem I experienced while testing though. > > xkeyval is located under tex/latex/, so it's not found by ConTeXt (at > > least not with the default settings of standalone). > > Suggestions? Should xkeyval be moved to /tex/context/xkeyval? > > There is also tex/generic/xkeyval/xkeyval.tex (plain tex support), and > that is the one that is used while using tikz with context. Thanks. I'm sorry, I wasn't careful enough - I'll fix it. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] style for section
Thomas A. Schmitz wrote: > Hi all, > > this sounds easy, but I can't seem to find a solution. I want my > section headers to look like so: > > 1. April 4 Title of chapter > > i.e. have the title right aligned. I thought this should be as simple as > > \section{April 4 \hfill Title of chapter} > > but alas, no, it's always flush left. Is there an obvious solution > I'm overlooking? The section title does not have more than one line. This looks ok, but is quite ugly input: \section{April 4 \hfill Title of chapter\break} But that could be hidden inside a deeptextcommand, of course Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] spread box contents
Hi gang, Taco's solution to Thomas' section question reminds me: How can I evenly spread the contents of a box or column-row? In PlainTeX there is \hbox{Here\hfill is\hfill an\hfill evenly\hfill spread\hfill line.} but there must be a better (read "ConTeXt-") way. I looked into this years ago and may have found the answer; but I've forgotten it... Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] style for section
On Mar 1, 2007, at 7:36 PM, Taco Hoekwater wrote: > > The section title does not have more than one line. This looks ok, but > is quite ugly input: > >\section{April 4 \hfill Title of chapter\break} > > But that could be hidden inside a deeptextcommand, of course > > Cheers, Taco Taco, thanks! This made me experiment with my file again, and it turned out there is some strange interference because I have defined a command in \setuphead[section]. When I comment it out, I get the output I want. I'll do some more experiments and will report back. Thanks Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bibtex: empty reference and reference-title / -data
Thanks Peter and Ralf, your were right... i misspelled volume. I changed that and the publicationlist looks a little bit better. Sorry that I bothered you with that stupid mistake. I also added a editior field. But the reference in the text is still empty :-( How can I make this reference work? Also the publicationlist is in English: Stiftung Lesen, editor (2001). ... Number 3 in... but I need it in German - I thought \mainlanguage[de] is enough. What else I have to add? And last but not least: How can I make the \setupheadtext[pubs=NeuerTitel] work with \chapter (appendix) behavior? Ciao, H. Je Ĵaŭdo, 1. Marto 2007 19:23, Taco Hoekwater skribis: > Hi Henning, > > Henning Haeske wrote: > > Hi, > > > > maybe this is a stupid question, but I am "deadlocked" in this case. > > TeX hangs because of a typo in the bbl file. Did you by chance edit > the bbl file manually? \volumne should be \volume (extra 'n'). > > > In the text I always getting an empty reference «()» and the > > listOfReferences has no title and looks also a little bit discontenting: > > These two problems are likely caused by that same error. > > > 3 (2001). Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie > > der Stiftung Lesen. Spiegel Verlag und Stiftungs Lesen, Mainz, Hamburg, > > Deutschland > > > > I would like to get following results: > > > > A. Quellen > > > > Stiftung Lesen (Hrsg.): Leseverhalten in Deutschland im neuen > > Jahrtausend: Eine Studie der Stiftung Lesen aus: Schriftenreihe > > «Lesewelten», Band 3, Stiftung Lesen und Spiegel Verlag, Mainz, Hamburg > > 2001 > > This is where it gets problematic. The 'Stiftung Lesen' does not appear > in the bbl file at all. But even if it would, the 'apa' style is not ok > for your use. I guess you need something closer to the 'num' style. > > Good luck, Taco > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] style for section
On Mar 1, 2007, at 8:54 PM, Thomas A. Schmitz wrote: > Taco, > > thanks! This made me experiment with my file again, and it turned out > there is some strange interference because I have defined a command > in \setuphead[section]. When I comment it out, I get the output I > want. I'll do some more experiments and will report back. > > Thanks > > Thomas > OK, after some more experiments: it looks like I can't have a command= AND a \hfill in my sections. I have something like \setuphead [section] [command=\incrementSlideNumber, page=yes, ] in my definition. If I comment the command= line out or put a \ in front of the comma at the end, the section title looks the way I want, but the command does (of course) not work any longer. If I have the command, the \hfill is not honored. Strange, but I can live with it. All best Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to set page background?
On 2/28/07, Zhichu Chen <[EMAIL PROTECTED]> wrote: > Thanks Hans, > > But actually, I've tried it before I asked. I just modified your code from > cont-enp.pdf: > + > \setuppapersize [A7][A3] > \setuparranging [2*8,rotated,doublesided] Does it help if you say \setuparranging [2*8,background,rotated,doublesided] instead? The keyword was added in September. It would be much better if that would be the default, but Hans seems to prefer it that way. > \setuppagenumbering [alternative=doublesided] > \setuplayout [margin=0pt,width=fit] > \setupbackgrounds > [paper][background=color,backgroundcolor=red] > \setupcolors [state=start] > \setuplayout [location=middle,marking=color] > \setuptolerance [tolerant] > \setupbodyfont [6pt] > \starttext > \dorecurse{30}{\input tufte \par \input knuth \par} > \stoptext > Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to set page background?
> Does it help if you say > \setuparranging [2*8,background,rotated,doublesided] It works ok ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] style for section
On Thu, 1 Mar 2007, Thomas A. Schmitz wrote: > > On Mar 1, 2007, at 8:54 PM, Thomas A. Schmitz wrote: > >> Taco, >> >> thanks! This made me experiment with my file again, and it turned out >> there is some strange interference because I have defined a command >> in \setuphead[section]. When I comment it out, I get the output I >> want. I'll do some more experiments and will report back. >> >> Thanks >> >> Thomas >> > > OK, after some more experiments: it looks like I can't have a > command= AND a \hfill in my sections. I have something like > > \setuphead >[section] >[command=\incrementSlideNumber, > page=yes, > ] > > in my definition. If I comment the command= line out or put a \ in > front of the comma at the end, the section title looks the way I > want, but the command does (of course) not work any longer. If I have > the command, the \hfill is not honored. Strange, but I can live with it. Can you provide some more details? This works fine here \setuphead[section][command=\mycommand] \def\mycommand#1#2{\framed[width=0.8\textwidth]{#1#2}} \starttext \section{ABC\hfill DEF} \stoptext Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to set page background?
Thanks, Mojca. It's cool. On 3/2/07, Mojca Miklavec <[EMAIL PROTECTED]> wrote: On 2/28/07, Zhichu Chen <[EMAIL PROTECTED]> wrote: > Thanks Hans, > > But actually, I've tried it before I asked. I just modified your code from > cont-enp.pdf: > + > \setuppapersize [A7][A3] > \setuparranging [2*8,rotated,doublesided] Does it help if you say \setuparranging [2*8,background,rotated,doublesided] instead? The keyword was added in September. It would be much better if that would be the default, but Hans seems to prefer it that way. > \setuppagenumbering [alternative=doublesided] > \setuplayout [margin=0pt,width=fit] > \setupbackgrounds > [paper][background=color,backgroundcolor=red] > \setupcolors [state=start] > \setuplayout [location=middle,marking=color] > \setuptolerance [tolerant] > \setupbodyfont [6pt] > \starttext > \dorecurse{30}{\input tufte \par \input knuth \par} > \stoptext > Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] hyphenation, paragraphs
Hi all, I have an appendix consisting of a long list of genetic defects, containing e.g. a number, the name of a disease, and the enzymes concerned. I tried to set that up as paragraphs: \defineparagraphs [mypar][n=3,before={\blank},after={\blank}] \setupparagraphs [mypar][1][width=.1\textwidth] \setupparagraphs [mypar][2][width=.3\textwidth] and \defineparagraphs [Two][n=2,distance=0.5cm] % tolerance= at this point? didn't make a difference \setupparagraphs [Two][1][width=.3\textwidth] % tolerance= at this point? didn't make a difference 2 pages of the outcome are shown on "www.ogbasel.ch/ appendix.pdf" (61KB). Do some words overlap, because ConTeXt doesn't know where to hyphenate funny words? (But Doli-chol, not a common word really, is hyphenated correctly). Or can it be corrected with "tolerance"? (I couldn't). Besides playing with tolerance, I tried: 1. Writing a hyphenation file containing: \hyphenation{Acyl-CoA-De-hy- dro-ge-nase} etc., then: \input FunnyHyphens.tex \starttext \input appendix \stoptext No effect. 2. Writing the unfamiliar words in the appendix with ||, |-|, or |\-| where hyphens might be placed. The latter introduces brakes, but without hyphens. the other two insert hyphens everywhere. It seems that I misunderstood what I dug out of the archives. Could somebody enlighten me? Thanks, Jörg. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context