[NTG-context] Two questions: Bib module and Headers
Hi, I'm using Bib module and bibtex to create my bibliography. I would like to order it by author name, and I'v tried it using: \setupbibtex[database=opensource-educacao,sort=author] But didn't get the desired result. Should I be using anything else ? And now for the header question: I'm using the following code to change the font size of my header from 12pt to 10pt. \setupheadertexts[][\setups{ta}] \startsetups[ta] \setupbodyfont[10pt] \getmarking[chapter] \stopsetups Using \setupbodyfont[10pt] in this case is the best solution ? Thank you, Miguel Queirós ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Configure Scite
All, How do you configure Scite to go to the error? Pressing "e" currently dumps me into Notepad. Or is there other functionality I am missing? David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Want all my *.1 *.2 .... *.30 files
I must have my mac (as do my colleagues) set for no run-time metapost processing, so I do get *.1, *.2, , *.30. And, we've set up our figure libraries like this: section1figs-mpgraph.30 eightfinal College of the Redwoods Mathematics Department So, how do I turn it off in this Scite environment, or in a DOS command window with texexec. On Feb 3, 2006, at 12:43 PM, Hans Hagen wrote: > David Arnold wrote: >> All, >> >> With the wincontext installed, I run: >> >> texexec section1figs >> >> and I wind up with only section1figs-mpgraph.1. I want all of them. >> What switch should I throw at texexec. >> >> My source looks like: >> >> \startMPpage >> ... >> \stopMPpage >> >> \startMPpage >> ... >> \stopMPpage >> >> etc. >> >> > eh ... when you have run-time metapost processing, figure slots are > reused when possible, so there is a good chance that you never get >1 > > 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 > - > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] SciTE and TeXLive
On Fri, 3 Feb 2006, Taco Hoekwater wrote: > > > Hooman Javidnia wrote: > > Hi Hans, > > > > Thanks for all the help. I have progressed a lot with the tips you gave > > me. Now, I have two problems: > > > > 1) I can run "texmfstart newtexexec.rb --autopdf --pdf myfile.tex" from > > Windows command line, but when I click on Build in SciTE's Tools menu, it > > says: "THe system cannot find the file specified." I don't which file it > > is mentioning. > > It can't find texmfstart. You need to have the TeXLive binary > directory in your global path (perhaps through autoexec.bat, but > windows is too long ago for me to be certain about that). Hi Taco, Thanks for the hint. TeXLive binary directory and all the ConTeXt script directory are in windows path and I can run and compile a sample ConTeXt file from windows command line. Should I copy all those perl and ruby scripts from their original location to TeXLive's bin folder, although they are in the Path? The problem is that SciTE can't find these commands. Apparently, installing and configuring SciTE to work in Windows is not as easy as Linux or other Unix-based OSs. > > 2) I have copied the scite-ctx.properties file to SciTE's path, but I > > still dont' get the wrapping and other ctx functionality. > > You have to add a new line containing > > import context > > to the bottom of the Global or User Options file in SciTE > > And you have to copy /scripts/context/lua/scite-ctx.lua to > the SciTE path as well. I have done that already according to what Hans said. I have all cont-*.properties files in SciTE's path and alson context.properties and scite-ctx.lua in the same path. I have added the line "import context" to the end of Global options files. Still doesn't work. And even when I compile my test file from Windows command line, some of the fonts are missing in the PDF file. I really appreciate your patience and time. Regards, Hooman ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Want all my *.1 *.2 .... *.30 files
David Arnold wrote: > All, > > With the wincontext installed, I run: > > texexec section1figs > > and I wind up with only section1figs-mpgraph.1. I want all of them. > What switch should I throw at texexec. > > My source looks like: > > \startMPpage > ... > \stopMPpage > > \startMPpage > ... > \stopMPpage > > etc. > > eh ... when you have run-time metapost processing, figure slots are reused when possible, so there is a good chance that you never get >1 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Identifying context files
Aditya Mahajan wrote: >>> On Feb 3, 2006, at 3:17 AM, Aditya Mahajan wrote: >>> >>> 3. Is it enough to check the first 6 line or should I check more. I do not want to check more lines as this will make the detection slower (by a few mili secs). > > On Fri, 3 Feb 2006, Hans Hagen wrote: > >> checking does not take much time, for instance in scite, i check till i >> know; also (probably goes unnoticed), texexec does soem checking: it >> needs to figure out the interface: >> >> > > Can you send me the scite code which does the checking. I do not know lua, > but it should not be too hard to covnert it to VimL. I do not want to > reinvent the wheel. > her eis the ruby method used in newtexexec: def scantexcontent(filename) if FileTest.file?(filename) and tex = File.open(filename) then while str = tex.gets do case str.chomp when /^\%/o then # next when /\\(starttekst|stoptekst|startonderdeel|startdocument|startoverzicht)/o then setvariable('texformats','nl') ; break when /\\(stelle|verwende|umgebung|benutze)/o then setvariable('texformats','de') ; break when /\\(stel|gebruik|omgeving)/o then setvariable('texformats','nl') ; break when /\\(use|setup|environment)/o then setvariable('texformats','en') ; break when /\\(usa|imposta|ambiente)/o then setvariable('texformats','it') ; break when /(height|width|style)=/o then setvariable('texformats','en') ; break when /(hoehe|breite|schrift)=/o then setvariable('texformats','de') ; break when /(hoogte|breedte|letter)=/o then setvariable('texformats','nl') ; break when /(altezza|ampiezza|stile)=/o then setvariable('texformats','it') ; break when /externfiguur/o then setvariable('texformats','nl') ; break when /externalfigure/o then setvariable('texformats','en') ; break when /externeabbildung/o then setvariable('texformats','de') ; break when /figuraesterna/o then setvariable('texformats','it') ; break end end tex.close end end - 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] Scite and wrapping
David Arnold wrote: > Hi, > > What tips can folks give me about wrapping in Scite? > > A. Starting with a blank document. > > B. Starting with a document that is not wrapped (lots of long lines). > > In particular, is there a way to wrap a document while still > preserving stuff like: > > given that the lua extensions are available, you can select a paragraph and do a shift0-f11 and wrap 'm \item text starts here if the selection starts at 'text' you will get a nice indented wrap 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building formats from within Scite
David Arnold wrote: > No Ctrl+9 on my menus. > create a desktop link to cmd.exe (the black console icon in accessoires) edit the properties and change the call to %SystemRoot%\system32\cmd.exe /k .\setuptex.bat the setuptex script is in your isoimage path a b it down the line that way you will get a console that knows texexec --make --all --fast another option is, when you have scite open, to open a console from scrite, or, to click on the right pane and just key in the same texexec command (the right pane is a both for messages and commands) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building formats from within Scite
Taco Hoekwater wrote: > David Arnold wrote: > >> All, >> >> Hans tells me that I can rebuild formats from within Scite, but I >> cannot figure out how? >> > > It should be under Ctrl 9, but doesn't work for me either. My scite > seems to dislike this line in context.properties: > >if $(context.distribution.writable) > > it is apparently never true. > you can set it to true -) it does not work that well from a cd -) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] japanese & ConTeXt
Renaud AUBIN wrote: > > Hi all, > > Is ConTeXt ready to typeset japanese ? sure, if you have the right fonts, you can \usemodule[japanese] 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building formats from within Scite
David Arnold wrote: > No Ctrl+9 on my menus. > I suspect it is a bug or missing feature in SciTE. I run 1.62 here, which is rather old. You can copy the relevant bits from context.properties to your User options file (without the if statement, of course). It is the indented block that follows if $(context.distribution.writable) (you can edit context.properties directly, but mine is a symlink to the distributed one from hans) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdfstartview
� wrote: > On Wed, 1 Feb 2006, Hans Hagen wrote: > > >> \setupinteraction[state=start,focus=width,openaction=FitWidth] >> > > Hello Hans, > this works (but not in fullscreen mode). > But "openaction=FitBH" does not work... :( > > I don't know, how it's done in LaTeX, but it has always worked during the > last 5 years independently of the version of acroread. > hm, i wonder, since it's a bunch of conflicting specs; also, openaction has not been around from the start of pdf (and got more robust later), and access to the page object number in pdftex is pretty recent as with many of such features, it has always been possible to cook up something that workes for the latest pdftex and the latest viewer, but if one uses odl and new docs/viewers intermixed there were always penalties. The same is true for more features. Only with acrobat 5 pdf became a bit more stable also keep in mind that context has chained annotation support as well as some other features that make it tricky to use certain tricks; in the deiver files you will find some workarounds, like adding quotes around destinations on order to make sure that acrobat 3 does not ignore them - it simply assumed some funny first char sort order in named destination, probably some optimization; or special treatment or spaces or ... other tricky areas are for instance widgets: context has always built the datastructures needed, and i'm sure not every tex package does that, thereby just depending on the recovery capabilities of acrobat (it indeed reconstructs fields arrays at startup) but context could not depend on that because it supports clones and copies of fields right from the start similar weirdness happens (happened) with javascripts: the spec supported a list of scripts, while viewers didn't; and then we don't even talk about initialization ... so, again, it's no problem to get something working for a certain version, but i always want to make sure that we are as backward compatible as possible or take special resources (related to plugins) keeps changing, never works 100% in the first release of a reader, so i more or less decided that, apart from some playing around, its best to wait till N.0.2 or higher -) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] japanese & ConTeXt
Hi all, Is ConTeXt ready to typeset japanese ? Cheers, Renaud ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building formats from within Scite
No Ctrl+9 on my menus. On Feb 3, 2006, at 10:54 AM, Taco Hoekwater wrote: > David Arnold wrote: >> All, >> >> Hans tells me that I can rebuild formats from within Scite, but I >> cannot figure out how? > > It should be under Ctrl 9, but doesn't work for me either. My scite > seems to dislike this line in context.properties: > >if $(context.distribution.writable) > > it is apparently never true. > > Taco > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdfstartview
Taco Hoekwater wrote: > Peter M�nster wrote: > >> On Thu, 2 Feb 2006, Taco Hoekwater wrote: >> >> >> >>> This works (but only because object 4 is the first page in my Pdf >>> document). I do not know if this can be 'internalized'? >>> everything can ... but i've learned my lessons and not everything should (unless pdf is stable -) >>> \setupinteraction[state=start,focus=minwidth] >>> \doPDFaddtocatalog{/PageMode /FullScreen >>> /OpenAction << /S /GoTo /D [4 0 R /FitBH ] >> } >>> >> Hello Taco, >> indeed, this seems to work! >> Only 2 problems remain: >> - the object number should be found automatically (as you've already written) >> - when clicking on a reference, the zoom-level still changes... >> > > I assume that is because the /FitBH should match what is implied by > the focus=minwidth, I just freewheeled a bit. The /D(estination) in > this is the top-level page object for page 1, so it actually does an > implied \goto{}[firstpage]. > > I don't know how to get the object number (I simply reverse- > engineered the hyperref output). It is not all that sneaky an > approach. I don't think it will work on pre 5.0 acroread, though. > over time, the possibilities of pdf has improved as well as changed: - first there were only page destinations - then came names ones - cross doc links were implemented differently - then there was a behavioural change in optimizers/viewers - views are not supported in certain named destinations - etc this all resulted in context supporting a mixture of destinations (page and named) and either or not providing support for views, depending on what method was chosen. the solution that taco suggests is possible now that in pdftex we have pdfpageref (ok, a bit of a lie: context could sorty out page object ref numbers itself but i never used that here due to mem limitations which now are gone) however, one needs to keep in mind that if we support things like this we also assume recent viewers (ok now, but some time ago both linux and apple were behind with viewers) i'll adapt the pdf driver a bit so that we can do what you want, under the assumption that everyone runs the latest pdftex (i normally take a one year period before i assume that) as well as that one has a version 5+ viewer. \setupinteraction[state=start,focus=width,openaction=firstpage,page=yes] \starttext the page actions (like firstpage) will use the obj ref approach now instead of the auto page destinations, and with page=yes one forces all destinations to be page destinations (which is needed on order to get the view working; keep in mind that one then looses cross document named referencing, only cross doc page referencing remains (no real problem, unless one refers from outside a pdf) \stoptext i'll upload a current with a slightly adapted driver (extra option which is now default; taco: just run a diff on spec-fdf.tex and you'll see what happens) \setupinteraction[state=start,focus=width,openaction=page(3),page=yes] \starttext test \page test \page test \page test \page test \page \stoptext works ok too 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdfstartview
On Fri, 3 Feb 2006, Taco Hoekwater wrote: > > Only 2 problems remain: > > - the object number should be found automatically (as you've already > > written) > > - when clicking on a reference, the zoom-level still changes... > > I assume that is because the /FitBH should match what is implied by > the focus=minwidth, Hello Taco, no, if I don't use the focus=minwidth, then clicking a reference brings me back to the default zoom-level (default means acroread preference). If you think, that my feature request is of very low priority and not worse the effort to implement into ConTeXt, then you're probably right. I've just learned to appreciate this feature during my LaTeX time, and now I miss it... ;) Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] MnSymbol + Minion?
Just curious if anyone is currently playing with Adobe Minion and MnSymbol in ConTeXt? http://www.ctan.org/tex-archive/help/Catalogue/entries/mnsymbol.html http://home.vr-web.de/was/mathfontsCheers,Randall ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdfstartview
Taco Hoekwater wrote: > I don't know how to get the object number (I simply reverse- > engineered the hyperref output). It is not all that sneaky an > approach. I don't think it will work on pre 5.0 acroread, though. > i'll explain the problem / solution in a while 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building formats from within Scite
David Arnold wrote: > All, > > Hans tells me that I can rebuild formats from within Scite, but I > cannot figure out how? It should be under Ctrl 9, but doesn't work for me either. My scite seems to dislike this line in context.properties: if $(context.distribution.writable) it is apparently never true. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdfstartview
Peter Münster wrote: > On Thu, 2 Feb 2006, Taco Hoekwater wrote: > > >>This works (but only because object 4 is the first page in my Pdf >>document). I do not know if this can be 'internalized'? >> >> \setupinteraction[state=start,focus=minwidth] >> \doPDFaddtocatalog{/PageMode /FullScreen >> /OpenAction << /S /GoTo /D [4 0 R /FitBH ] >> } > > > Hello Taco, > indeed, this seems to work! > Only 2 problems remain: > - the object number should be found automatically (as you've already written) > - when clicking on a reference, the zoom-level still changes... I assume that is because the /FitBH should match what is implied by the focus=minwidth, I just freewheeled a bit. The /D(estination) in this is the top-level page object for page 1, so it actually does an implied \goto{}[firstpage]. I don't know how to get the object number (I simply reverse- engineered the hyperref output). It is not all that sneaky an approach. I don't think it will work on pre 5.0 acroread, though. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdfstartview
On Wed, 1 Feb 2006, Hans Hagen wrote: > \setupinteraction[state=start,focus=width,openaction=FitWidth] Hello Hans, this works (but not in fullscreen mode). But "openaction=FitBH" does not work... :( I don't know, how it's done in LaTeX, but it has always worked during the last 5 years independently of the version of acroread. Greetings, 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] pdfstartview
On Thu, 2 Feb 2006, Taco Hoekwater wrote: > This works (but only because object 4 is the first page in my Pdf > document). I do not know if this can be 'internalized'? > >\setupinteraction[state=start,focus=minwidth] >\doPDFaddtocatalog{/PageMode /FullScreen > /OpenAction << /S /GoTo /D [4 0 R /FitBH ] >> } Hello Taco, indeed, this seems to work! Only 2 problems remain: - the object number should be found automatically (as you've already written) - when clicking on a reference, the zoom-level still changes... Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Want all my *.1 *.2 .... *.30 files
All, With the wincontext installed, I run: texexec section1figs and I wind up with only section1figs-mpgraph.1. I want all of them. What switch should I throw at texexec. My source looks like: \startMPpage ... \stopMPpage \startMPpage ... \stopMPpage etc. David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Building formats from within Scite
All, Hans tells me that I can rebuild formats from within Scite, but I cannot figure out how? David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Scite and wrapping
Hi, What tips can folks give me about wrapping in Scite? A. Starting with a blank document. B. Starting with a document that is not wrapped (lots of long lines). In particular, is there a way to wrap a document while still preserving stuff like: \placeformula[-] \startformula \eqalign{ f(x)&=x^2-2x-3\cr f(x)&=(x-3)(x+1)} \stopformula David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Identifying context files
>> On Feb 3, 2006, at 3:17 AM, Aditya Mahajan wrote: >> >>> 3. Is it enough to check the first 6 line or should I check more. I do >>> not want to check more lines as this will make the detection slower >>> (by a few mili secs). On Fri, 3 Feb 2006, Hans Hagen wrote: > > checking does not take much time, for instance in scite, i check till i > know; also (probably goes unnoticed), texexec does soem checking: it > needs to figure out the interface: > Can you send me the scite code which does the checking. I do not know lua, but it should not be too hard to covnert it to VimL. I do not want to reinvent the wheel. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Paragraph itemization
On Fri, 3 Feb 2006, Hans Hagen wrote: > Taco Hoekwater wrote: >> Aditya Mahajan wrote: >> >>> How can one do paragraph itemization in context. I want >>> >>> \startitemize[r][left=(,right=),stopper=] %paragraph option somehow >>> \item The first thing, >>> \item the second thing, and >>> \item finally, the last thing. >>> \stopitemize >>> >>> to come up as >>> >>> (i) The first thing, (ii) the second thing, and (iii) finally, the >>> last thing. >>> >> >> I vaguely recall someone else asking for this, but cannot find >> it anymore. I do not think you can do this with itemizations, >> but perhaps there was a \defineparagraphs that worked. Anyone >> else remember? >> > \startitemize[r,text] > \item The first thing, > \item the second thing, and > \item finally, the last thing. > \stopitemize Thanks, works perfectly. It is also smart enough to place the left and right brackets. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Removing headers with chapter headings
Hi Elliot, Here, I use the option header=empty and defined a custom chapter command: \setuphead[chapter][header=high, command=\ChapterHeader, style=\tfd] \def\ChapterHeader#1#2{% \framedtext [width= \overlaywidth, height=12\bodyfontsize, background=""> offset=0pt, strut=no, frame=off, align=left]{% \blank[4\bodyfontsize,force] #1 \blank[small] #2}} Cheers, Renaud Elliot Clifton a écrit : I setup chapter headings as: \setuphead[chapter][header=none] I want the effect of header=none only on the chapter page, but it persists across all subsequent pages. How can I reset the header to sate=normal for pages after my chapter. pages. Note: chapter pages are not blank --- they contain bodytext Elliot ___ 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] Removing headers with chapter headings
Elliot Clifton wrote: > I setup chapter headings as: > > \setuphead[chapter][header=none] You need \setuphead[chapter][header=high] Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Removing headers with chapter headings
I setup chapter headings as:\setuphead[chapter][header=none]I want the effect of header=none only on the chapter page, but it persists across all subsequent pages. How can I reset the header to sate=normal for pages after my chapter. pages. Note: chapter pages are not blank --- they contain bodytextElliot ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Paragraph itemization
Taco Hoekwater wrote: > Aditya Mahajan wrote: > >> How can one do paragraph itemization in context. I want >> >> \startitemize[r][left=(,right=),stopper=] %paragraph option somehow >> \item The first thing, >> \item the second thing, and >> \item finally, the last thing. >> \stopitemize >> >> to come up as >> >> (i) The first thing, (ii) the second thing, and (iii) finally, the >> last thing. >> > > I vaguely recall someone else asking for this, but cannot find > it anymore. I do not think you can do this with itemizations, > but perhaps there was a \defineparagraphs that worked. Anyone > else remember? > \startitemize[r,text] \item The first thing, \item the second thing, and \item finally, the last thing. \stopitemize - 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] Paragraph itemization
On 2/3/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > Aditya Mahajan wrote: > > How can one do paragraph itemization in context. I want > > (i) The first thing, (ii) the second thing, and (iii) finally, the > > last thing. > > I vaguely recall someone else asking for this, but cannot find > it anymore. I do not think you can do this with itemizations, > but perhaps there was a \defineparagraphs that worked. Anyone > else remember? I think that the best solution is to simply write it out. That's what I do anyway, and I recall Donald Knuth doing it as well (not that that says much about what we can do, though). nikolai ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt Chat: minihowto #context
Renaud AUBIN wrote: > > Hi all, > > If you read regularly this ML, you know that there is a #context irc chan. > I have made a small step by step #context howto for those who navigate > with firefox on contextgarden: > http://wiki.contextgarden.net/ConTeXt_Chats > It takes "30sec" to achieve... So, see you soon on #context ! works fine 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Paragraph itemization
Aditya Mahajan wrote: > How can one do paragraph itemization in context. I want > > \startitemize[r][left=(,right=),stopper=] %paragraph option somehow > \item The first thing, > \item the second thing, and > \item finally, the last thing. > \stopitemize > > to come up as > > (i) The first thing, (ii) the second thing, and (iii) finally, the > last thing. I vaguely recall someone else asking for this, but cannot find it anymore. I do not think you can do this with itemizations, but perhaps there was a \defineparagraphs that worked. Anyone else remember? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] SciTE and TeXLive
Hooman Javidnia wrote: > Hi Hans, > > Thanks for all the help. I have progressed a lot with the tips you gave > me. Now, I have two problems: > > 1) I can run "texmfstart newtexexec.rb --autopdf --pdf myfile.tex" from > Windows command line, but when I click on Build in SciTE's Tools menu, it > says: "THe system cannot find the file specified." I don't which file it > is mentioning. It can't find texmfstart. You need to have the TeXLive binary directory in your global path (perhaps through autoexec.bat, but windows is too long ago for me to be certain about that). > 2) I have copied the scite-ctx.properties file to SciTE's path, but I > still dont' get the wrapping and other ctx functionality. You have to add a new line containing import context to the bottom of the Global or User Options file in SciTE And you have to copy /scripts/context/lua/scite-ctx.lua to the SciTE path as well. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bug in today's release
Thomas A. Schmitz wrote: > sigh... this makes me feel really bad, but: no kerning, no output for > "'. Or am I missing something? Here's my minimal example: > an \unprotect -) the kerning is kind of tricky since there is some grouping involved take some thinking because i don't want to break other stuff (what we actually need is a way to let tex ignore grouping i.e. to see {"}W{"} as "W" when applying font kerning 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] ConTeXt Chat: minihowto #context
Hi all, If you read regularly this ML, you know that there is a #context irc chan. I have made a small step by step #context howto for those who navigate with firefox on contextgarden: http://wiki.contextgarden.net/ConTeXt_Chats It takes "30sec" to achieve... So, see you soon on #context ! Cheers, Renaud ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Identifying context files
Taco Hoekwater wrote: > Hans Hagen wrote: > >> checking does not take much time, for instance in scite, i check till i >> know; also (probably goes unnoticed), texexec does soem checking: it >> needs to figure out the interface: >> > > While on that subject, can we make texexec honour > >% format={latex,pdflatex,plain,pdfetex} > > etc.? No need to do smart things, just run the command > that results from engine+format, once. > the ruby version of texexec can handle that (if i did it right); 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Identifying context files
Hans Hagen wrote: > > checking does not take much time, for instance in scite, i check till i > know; also (probably goes unnoticed), texexec does soem checking: it > needs to figure out the interface: While on that subject, can we make texexec honour % format={latex,pdflatex,plain,pdfetex} etc.? No need to do smart things, just run the command that results from engine+format, once. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Identifying context files
Thomas A. Schmitz wrote: > That sounds like an excellent idea, and I'd be very grateful to have > such a detector. As to keywords: most of my ConTeXt files start with > \enableregime; you may want to add this to your list. > > Best > > Thomas > > > On Feb 3, 2006, at 3:17 AM, Aditya Mahajan wrote: > > >> I use (g)vim to edit both context and latex files. Unfortunately, both >> of them usually have *.tex extension. This mean that detecting >> filetype from extension is not possible, so one should look into the >> contents of the file to see if it a context file or not. >> >> I am planning to submit a ftdetect for context to vim. Right now, I >> check if the first six lines of the file contain any of >> '\\start\|\\enablemode\|\\unprotect\|\\setvariables\|\\module\|\ >> \usemodule' >> and if so, set the filetype to context, otherwise it is set to tex >> (that loads latex plugins). >> >> This works for my context writing style. I would like to know about >> other people's preference. >> >> 1. Do you write some keyword unique to context in the first few lines >> of the file. Should I also check the last few line lines. >> convention: % interface=en language=nl program=pdfetex etc, the following are understood by texexec ['tex','texengine'], ['program','texengine'], ['translate','tcxfilter'], ['tcx','tcxfilter'], ['output','backend'], ['mode','mode'], ['ctx','ctxfile'], ['version','contextversion'], ['format','texformats'], ['interface','texformats'] >> 2. Are there any other keywords that you will like to include. >> >> 3. Is it enough to check the first 6 line or should I check more. I do >> not want to check more lines as this will make the detection slower >> (by a few mili secs). >> >> checking does not take much time, for instance in scite, i check till i know; also (probably goes unnoticed), texexec does soem checking: it needs to figure out the interface: Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context