Re: [NTG-context] Feature request.
On Thursday 05 July 2007 17:37, Patrick Gundlach wrote: > Hello John, > > > It would be neat if the texfont program, which generates so much > > else, could generate and install a typescript. > > For otfs you can use otfinstall. Search the wiki for it. > > Patrick Thanks for the heads up. Now why OTF and not type 1? There are still many more type 1 fonts out there compared to OTF fonts. -- John Culleton _ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com ___ 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 ___
Re: [NTG-context] Feature request.
Hello John, > It would be neat if the texfont program, which generates so much else, > could generate and install a typescript. For otfs you can use otfinstall. Search the wiki for it. Patrick ___ 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 ___
Re: [NTG-context] typescript / variants question
>> I use oldstyle digits with a typescript using variants such as >> "\Var[osf]" to get oldstyle digits. How do I get _all_ digits, >> including the page number in oldstyle? >> >> \setuppagenumbering[style={\Var[osf]}] would be a solution, but it >> looks more like a hack - I'd like to have a complete setup. >> >> This is my typescript: > this was answered only a few days ago in the thread ,,automatic > oldstyle numerals`` > > http://www.ntg.nl/pipermail/ntg-context/2007/025795.html I guess you refer to the thread started from Alan? (I am currently offline.) My post is actually an attempt to use a slightly different approach, so I am perfectly aware of that thread. My point is, there should be a way to say 'before processing this document, switch to osf with \Var[osf] or something equivalent'. I don't want to deal with typescripts just for that. I have created a typescript already that includes oldstyle figures. IMO it should be possible to say \Var[] for the whole document. Patrick ___ 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 ___
[NTG-context] Feature request.
It would be neat if the texfont program, which generates so much else, could generate and install a typescript. -- John Culleton ATTN Publishers/authors: If you don't read you don't succeed. Free short list of publishing/marketing books. http://wexfordpress.com/tex/shortlist.pdf _ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com ___ 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 ___
Re: [NTG-context] Term "C++" in index
Duncan Hothersall wrote: > A long long time ago, Hans said: >> At 01:55 PM 10/31/2002 +0100, Matthias Heidbrink wrote:/ >>> Hi, >>> >>> possibly a trivial question, but can't find it anywhere: >>> >>> How do I get the term "C++" into an index? Unfortunately ConTeXT >>> interprets the "+" as a separator for indexed terms and I did not find a >>> way to escape it >>> that did not confuse the index mechanism./ >> \index[&Cplusplus]{C++} >> \index[Cplusplus]{Cpp} >> >> So, the & as started signals texutil that that is the separator >> instead of >> + while the plusplus makes sure that the sorting is ok >> >> Hans > The second part of this advice I assume is now just out of date, since > it will simply produce a second index entry called Cpp. However, the > first part *almost* works - it outputs an entry "C" with a subentry "+" > (without the & you can't get a + out at all). > > What is the up-to-date workaround for this issue to let me get a single > entry in the index that just says "C++"? > > Minimal test file is as follows: > > \starttext > We are talking about \index[&Cplusplus]{C++}C++, the programming language. > \placeindex > \stoptext \unexpanded\def\CPP{c++} \index[Cplusplus]{\CPP} Hans - 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 - ___ 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 ___
[NTG-context] Law/Jurisdiction typesetting
Hi, using ConTeXt more and more for typesetting books from the field of law/jurisdiction I came across some specifics that I just don't know how to do in our beloved application: 1) Paragraphs (not all) are labeled with numbers in the margin. These "paragraph numbers" are used in the table of contents in such way: you have the content's entry (eg the section heading), then the dots, then the corresponding paragraph number, then the corresponding page number. 2) Paragraphs (not all) are labeled with numbers in the margin. These "paragraph numbers" are used in a separate "paragraph register" in such way: you have the index entry (a law's number), space, then you have the corresponding paragraph number (the text paragraph where the index was used). [But of course there is also a "regular register" afterwards, containing alphabetical listed keyword index entries pointing to page numbers.] So, how can that be done?? Yours, Steffen ___ 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 ___
Re: [NTG-context] Term "C++" in index
A long long time ago, Hans said: > At 01:55 PM 10/31/2002 +0100, Matthias Heidbrink wrote:/ > >Hi, > > > >possibly a trivial question, but can't find it anywhere: > > > >How do I get the term "C++" into an index? Unfortunately ConTeXT > >interprets the "+" as a separator for indexed terms and I did not find a > >way to escape it > >that did not confuse the index mechanism./ > > \index[&Cplusplus]{C++} > \index[Cplusplus]{Cpp} > > So, the & as started signals texutil that that is the separator > instead of > + while the plusplus makes sure that the sorting is ok > > Hans The second part of this advice I assume is now just out of date, since it will simply produce a second index entry called Cpp. However, the first part *almost* works - it outputs an entry "C" with a subentry "+" (without the & you can't get a + out at all). What is the up-to-date workaround for this issue to let me get a single entry in the index that just says "C++"? Minimal test file is as follows: \starttext We are talking about \index[&Cplusplus]{C++}C++, the programming language. \placeindex \stoptext Thanks! Duncan ___ 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 ___
[NTG-context] context on 64 bit does not find environment files
Dear group, my computer running Context changed to a 64-bit-machine. Since all my local files (including a minimal Context installation) were migrated, I tried to use this installation as usual. Even after rearrangement of paths and setup scripts this did not work properly since Context did not find environment files located upwards in the directory tree. I therefore tried to install the linux-64 minimal distribution according to the installation hints in the wiki. The same behaviour occured: environmentfiles are not found except if they are in the same directory like the context tex file. I was able to reproduce this on a second 64-bit computer. What can I do to solve the problem? Thanks in advance, Ole An example log file looks like (just the beginning until commands defined in the environment occur): This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=cont-en 2007.7.4) 5 JUL 2007 10:15 entering extended mode \write18 enabled. (/home/oschoeni/local/context/tex/texmf-linux-64/web2c/natural.tcx) **testtextfile.tex emergencyend (./testtextfile.tex ConTeXt ver: 2007.04.03 13:01 MKII fmt: 2007.7.4 int: english/english language: language en is active system : cont-new loaded (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/cont-new.mkii)) system : cont-old loaded (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/home/oschoeni/local/context/tex/texmf-local/tex/context/user/cont-sys.tex) bodyfont: 12pt rm is loaded language: patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi :texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec- >13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec ->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded specials: tex,postscript,rokicki loaded \openout3 = `testtextfile.tui'. system : testtextfile.top loaded (./testtextfile.top specials: loading definition file tpd (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/spec-fdf.tex (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/spec-fdf.mkii)) specials: fdf loaded ) specials: fdf,tpd loaded ) \openout0 = `testtextfile-mpgraph.mp'. \openout0 = `mpgraph.mp'. systems : system commands are enabled systems : begin file envronmenttestfile at line 1 systems : end file envronmenttestfile at line 1 (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/sort-def.tex) (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/sort-lan.tex) (/home/oschoeni/local/context/tex/texmf-local/tex/context/base/pdfr-def.tex) systems : begin file testtextfile at line 2 ! Undefined control sequence. ___ 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 ___
Re: [NTG-context] acrobat reader does not open a pdf
> > try > > \pdfcompresslevel=0 > > \pdfobjcompresslevel=0 > > before anything else > > > > Thanks a lot Luigi, it's working fine now. It's not a true solution, because you have now a pdf with a bigger size. I had a similar problem sometime ago, and it's possible that it will be fixed in a next telease. -- luigi 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 ___ 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 ___
Re: [NTG-context] Time to take over a ConTeXt project in Hamburg, Germany?
Hello all, 2007/7/2, Karsten Heymann <[EMAIL PROTECTED]>: > I'm looking for someone to take over long-term support for a running > (paid) ConTeXt project in Hamburg, Germany. Thanks for the offers so far. I've already got a set of very promising candidates and started talks, so unless you have sth. extraordinary to offer, no further offerings are necessary. Yours, Karsten ___ 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 ___
Re: [NTG-context] mathcal
Le 04 juillet à 23:43:23 Aditya Mahajan <[EMAIL PROTECTED]> écrit notamment: | On Wed, 4 Jul 2007, Jean Magnan de Bornier wrote: | > That's exactly what I needed, thanks a lot Wolfgang; I was being | > maybe too confident in this: | > | > http://wiki.contextgarden.net/Math_with_amsl > | I think that amsl module is not really needed now. ConTeXt has most | (all?) features provided by amsl. Have a look at > | http://dl.contextgarden.net/myway/mathalign.pdf | http://dl.contextgarden.net/myway/context-latex-math.pdf > | Aditya Thank you Aditya; I had those but still need more training to fully use them. -- Jean ___ 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 ___
Re: [NTG-context] typescript / variants question
2007/7/4, Patrick Gundlach <[EMAIL PROTECTED]>: > Hi, > > I use oldstyle digits with a typescript using variants such as > "\Var[osf]" to get oldstyle digits. How do I get _all_ digits, > including the page number in oldstyle? > > \setuppagenumbering[style={\Var[osf]}] would be a solution, but it > looks more like a hack - I'd like to have a complete setup. > [...] change this: \starttypescript [map] [termes,termes-os] [texnansi] \loadmapfile [termes.map] \stoptypescript add this: \starttypescript [serif] [termes-os] [name] \definefontsynonym [Serif] [TeXGyreTermes-RegularOsF] \definefontsynonym [SerifBold] [TeXGyreTermes-BoldOsF] \definefontsynonym [SerifItalic] [TeXGyreTermes-ItalicOsF] \definefontsynonym [SerifBoldItalic] [TeXGyreTermes-BoldItalicOsF] \stoptypescript change this: \starttypescript [serif] [termes,termes-os] [texnansi] ... \stoptypescript change this: \starttypescript [termes] \definetypeface [termes] [rm][serif][termes] [default][encoding=texnansi] \definetypeface [termes-os][rm][serif][termes-os][default][encoding=texnansi] \stoptypescript or add this: \starttypescript [termes-os] \definetypeface [termes][rm][serif][termes-os][default][encoding=texnansi] \stoptypescript > -- > > and this is my example file: > > -- > \preloadtypescripts > \setupencoding[default=texnansi] [...] \usetypescript[termes] \setupbodyfont[termes] % normal figures \setupbodyfont[termes-os] % oldstyle figures or \usetypescript[termes-os] \setupbodyfont[termes] > \enableregime[utf-8] > \setuptolerance [tolerant] > \starttext > \input tufte > 0123456789 > \Var[osf] > \input tufte > 0123456789 > \stoptext > -- > > > Patrick Wolfgang ___ 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 ___
Re: [NTG-context] acrobat reader does not open a pdf
Le Tue, 03 Jul 2007 16:48:08 +0200, luigi scarso a écrit: > On 7/3/07, Olivier TURLIER <[EMAIL PROTECTED]> wrote: >> Hi everybody, >> >> Acrobat reader 7 (linux) cannot open "doc-test-gobck.pdf" > try > \pdfcompresslevel=0 > \pdfobjcompresslevel=0 > before anything else > Thanks a lot Luigi, it's working fine now. For inserting external doc, I was doing \getfiguredimensions[external-doc] \dorecurse{\noffigurepages}{ \externalfigure [external-doc] [width=1\textwidth,height=1\textheight,offset=-1cm] [page=\recurselevel]} And page numbering, via \setuppagenumbering[location=,state=stop] \setupheadertexts [\setups{chapter-toc}] \startsetups[chapter-toc] \rlap{\hspace{}} \hfill \llap{\pagenumber\space/\space\lastpage} \stopsetups was working Now, this "old" inserting code is no more working : I get a blank page. It does'nt matter, as long as this one works (partially): \copypages[external-doc][width=1.1\textwidth,height=1\textheight] But i loose page numbers. (only get "\lastpage") How can I achieve this ? TIA for any answer -- olivier Turlier ___ 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 ___
[NTG-context] metafun externalfigure macro with xetex
Hi all, if i use the metafun macro "externalfigure" with xetex, there is a printed number (first externafigure prints a "1", the second a "2" right after the "1" and so on) in the lower left corner of the picture; the picture itself is shifted to the upper right out of the bounding box. I have this effect with xetex 996p1, 997-dev, ConTeXt 17.04.07, the newest beta and ConTeXt 26.01.2007. pdftex works wery well. Is this a Bug in Xetex or in ConTeXt? Greetings Lutz ___ 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 ___
Re: [NTG-context] bib module and urls
Michael Green wrote: > > So, I have two questions: > > 1. Is that diagnosis correct? > 2. What can I do about it (short of deleting the url field)? You found a bug. Try this fix, just after \usemodule[bib] % start fix \unprotect \def\dousepublications#1% {\doonlyonce {#1.\f!bibextension} {\readfile{#1.\f!bibextension} {\catcode`\%=12 \showmessage\m!bib{4}{#1.\f!bibextension}} {\showmessage\m!bib{2}{#1.\f!bibextension \protect % end fix Best wishes, Taco ___ 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 ___
[NTG-context] bib module and urls
The bib module has a problem with processing my bibliography files. Here is my amateur diagnosis. There are hundreds of entries in my bibliography file in which the % character is part of the url. When the bib module comes across a %, it ignores everything else on the line, including the closing brace, }. Bad things follow. Here's some evidence for my diagnosis. I tried editing the urls by replacing "%" with "\%". When the urls are written that way, everything works smoothly. But that is an undesirable solution. Among other things, it renders the url inaccurate. So, I have two questions: 1. Is that diagnosis correct? 2. What can I do about it (short of deleting the url field)? Thank you! Here is a minimal example (1 and 2) followed by the log entry (3). 1. The test document \usemodule[bib] \setupbibtex[database=biblio] \setuppublications[alternative=apa] \starttext Adamson wrote an important paper \cite[Adamson:1987yq]. \completepublications \stoptext 2. The BibTeX entry %% Saved with string encoding Unicode (UTF-8) @article{Adamson:1987yq, Author = {Adamson, J. S. A.}, Date-Added = {2007-07-04 08:47:37 -0700}, Date-Modified = {2007-07-04 09:11:17 -0700}, Endnotereftype = {Journal Article}, Journal = {The Historical Journal}, Note = {0018-246X Article type: Full Length Article / Full publication date: Sep., 1987 (198709). / Copyright 1987 Cambridge University Press}, Number = {3}, Pages = {567-602}, Title = {The English Nobility and the Projected Settlement of 1647}, Url = {http://links.jstor.org/sici?sici=0018-246X%28198709%2930%3A3% 3C567%3ATENATP%3E2.0.CO%3B2-X}, Volume = {30}, Year = {1987}} 3. The relevant part of the log system : module bib loaded (/usr/local/texlive/2007/texmf-dist/tex/context/bib/t-bib.tex \etallimitcounter=\count214 \etaldisplaycounter=\count215 \todocounter=\count216 \bibitemcounter=\count217 \bibitemwanted=\count218 publications: loading formatting style from bibl-apa (/usr/local/texlive/2007/texmf-dist/tex/context/bib/bibl-apa.tex)) publications: loading formatting style from bibl-apa (/usr/local/texlive/2007/texmf-dist/tex/context/bib/bibl-apa.tex) (./URLinBib.tuo) (./URLinBib.tuo) (./URLinBib.tuo) (./URLinBib.tuo) (./URLinBib.tuo) (./URLinBib.tuo) (./URLinBib.tuo) (./URLinBib.tuo) (./URLinBib.tuo) (./URLinBib.tuo) (/usr/local/texlive/2007/texmf-dist/tex/context/base/sort-def.tex) (/usr/local/texlive/2007/texmf-dist/tex/context/base/sort-lan.tex) (./URLinBib.tuo) (./URLinBib.tuo) publications: loading database from URLinBib.bbl (./URLinBib.bbl) Runaway argument? k=Adamson:1987yq,t=article, a={{Adamson}},y=1987, u={http://links.jst \ETC. ! File ended while scanning use of \dostartpublication. \par \relax \dodoreadfile ...\preprocesssuffix \or \fi \relax \the \everyafterreadfile \doateverystarttext ->\the \everystarttext \global \everystarttext \emptytoks \starttext ->\doatever ___ 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 ___