Re: [NTG-context] What to do with math-ext.tex
On Mon, 10 Jul 2006, Hans Hagen wrote: David Arnold wrote: All, I have a file in my document directory called math-ext.tex. Isn't this part of the core now? Can I get rid of it? you can get rid of that one (or put \endinput at the first line) the beta/next release has more in there (things needed for cow-math and so) Can you give a pointer on cow-math is? Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Stopper not working
On Mon, 10 Jul 2006, Hans Hagen wrote: Aditya Mahajan wrote: On Thu, 6 Jul 2006, David Arnold wrote: Hans et all, I don't get my period after item numbers with this file: This is because the code for placing stopper is commented in core-des.tex. Why? did you try the beta? The one from 06-29-2006 says \def\domakednnumber {\descriptionparameter\c!left \strut\doshowdnnumber % \descriptionparameter\c!stopper \descriptionparameter\c!right} Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] too much space because of margin notes
On Tue, 11 Jul 2006, Mojca Miklavec wrote: Hello, I would like to write a note in the margin next to some framed formula, but I guess that the formula starts a new paragraph and there's too much space left on the top of the frame. How can I fix that? \starttext \startframedtext \inmargin{some text in margin} \placeformula \startformula a+b=c \stopformula How can I get rid of that space? \stopframedtext \stoptext See if margintext suits you better. \margintext{some text in margin} \placeformula. This moves the text into the next paragraph. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] definetypeface vs math symbols
Hans Hagen wrote: \definetypeface [charter] [it] [italics] [modern] [default][encoding=ec] \definetypeface [charter] [bf] [bold] [modern] [default] [encoding=ec] does not make sense, ack \usetypescript[serif][charter][ec] \definetypeface [charter] [rm] [serif] [charter] [default] [encoding=ec] \definetypeface [charter] [mm] [math] [modern] [default] [encoding=ec] \definetypeface [charter] [tt] [mono] [charter] [default] [encoding=ec] \setupbodyfont [charter, 11pt] % rm si default since defined first and what is surprising to me: order does matter here. If I put the definetypeface for math mode command at the front, {\bf bold} does not work anymore. Thanks, - Ralf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Common counter
David Arnold wrote: This is excellent. Now, how can I include this \placeformula[eq:nine] \startformula f(x)=x^2 \stopformula with the same common counter as remark and definition below? hm, it's incredible what users come up with but this time you're lucky -) \defineenumeration[whatever] \definenumber[davidsnumber] \setupnumber[whatever][number=davidsnumber] \setupnumber[formula] [number=davidsnumber] \starttext \placeformula[x] \startformula x\stopformula \startwhatever x\stopwhatever \placeformula[x] \startformula y\stopformula \startwhatever y\stopwhatever \stoptext (1) can you wikify this (2) can someone add this to the test suite since we need to make sure that it keeps working 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] !?!? -what's up?
Matthias Wächter wrote: Hans Hagen schrieb: andrea valle wrote: I reinstalled all (tex, texshop) and solved the problem. Now I installed ConTeXt Beta. Still I have this warning I do not understand: remark : 'texutil' is now part of 'texexec' warning : use 'texmfstart texutil' instead total run time : 7 seconds warning : use 'texmfstart texexec' instead What does it mean? that you run texexec.pl (which calls texutil.pl) instead of texexec.rb (which has texutil built in) The same text is returned when using live.contextgarden.net. the garden is not updated to use texexec.rb 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] definetypeface vs math symbols
Ralf Schmitt wrote: Hans Hagen wrote: \definetypeface [charter] [it] [italics] [modern] [default][encoding=ec] \definetypeface [charter] [bf] [bold] [modern] [default] [encoding=ec] does not make sense, ack \usetypescript[serif][charter][ec] \definetypeface [charter] [rm] [serif] [charter] [default] [encoding=ec] \definetypeface [charter] [mm] [math] [modern] [default] [encoding=ec] \definetypeface [charter] [tt] [mono] [charter] [default] [encoding=ec] \setupbodyfont [charter, 11pt] % rm si default since defined first and what is surprising to me: order does matter here. If I put the definetypeface for math mode command at the front, {\bf bold} does not work anymore. indeed, this is because the first one defined is the default (think of typefaces that only have ss, like optima) so, this may work when rm, tt or ss is defined first \setupbodyfont [charter, 11pt] but this is more robust \setupbodyfont [charter, rm, 11pt] 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] symbolset
Adam Lindsay wrote: Taco Hoekwater wrote: IIRC, some of the Unicode symbol sets require commercial fonts (from MacOS X). Eh, require is such a strong word... There are some placeholders in there, since the Mac OS X fonts were easy (for me) to get. The XeTeX code that named the fonts explicitly (hmm, bad old assumption now...) was set off in a conditional in the hopes that a more general solution would come along... When the dust from eurotex2006 settles down, I hope to have a look at this. I have some half-finished fonts for unicode symbols lying around that could perhaps be extended. Remind me in a month or so? Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] What to do with math-ext.tex
Mojca Miklavec wrote: On 7/10/06, Hans Hagen wrote: the beta/next release has more in there (things needed for cow-math and so) Also things like \longrightarrow (which is a problem in Antykwa Torunskwa as well)? Do you have any slides from EuroTeX? the eurotex slides will be published on the eurotex web site (btw, it was a rather nice conference, well organized, good location, balanced program, etc) 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] texexec --nokeep ?
Peter Münster wrote: Hello, texexec generates now files with extension .mp.keep. And texutil --purgeall does not delete them. I thought this was fixed in the beta, but I can be mistaken. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \bar missing in euler
Aditya Mahajan wrote: I have no knowledge of how Context's font stuff works. The first definition looks better to me, as one would not need to worry about the encoding while defining symbols (one needs to worry about the encoding while defining \textbreve etc, anyway). Though the second does have the advantage that it works right away, so there is no need to change the definition of \definemathsymbol. what a mess \unprotect \def\dohandlemathtoken#1% {\csname \ifmmode [EMAIL PROTECTED]@\outerencoding#1\endcsname [EMAIL PROTECTED]@\outerencoding [EMAIL PROTECTED]@\mathcollection#1\endcsname [EMAIL PROTECTED]@\mathcollection [EMAIL PROTECTED]@\nomathcollection#1\endcsname [EMAIL PROTECTED]@\nomathcollection \else\ifcsname\characterencoding#1\endcsname \characterencoding \else \nocharacterencoding \fi\fi\fi\fi \else \ifcsname\characterencoding#1\endcsname \characterencoding \else\ifcsname\nocharacterencoding#1\endcsname \nocharacterencoding [EMAIL PROTECTED]@\outerencoding#1\endcsname [EMAIL PROTECTED]@\outerencoding [EMAIL PROTECTED]@\mathcollection#1\endcsname \strippedcsname\mathematics [EMAIL PROTECTED]@\mathcollection [EMAIL PROTECTED]@\nomathcollection#1\endcsname \strippedcsname\mathematics [EMAIL PROTECTED]@\nomathcollection \else \nocharacterencoding \fi\fi\fi\fi\fi \fi #1\endcsname} \let\dohandlecommand\dohandlemathtoken \def\checkoutermathencoding {\ifx\outerencoding\empty \ifx\outerencoding\s!default\else \edef\outerencoding{\currentencoding}% \fi \fi} \startmathcollection[texnansi] \definemathsymbol [breve] [accent] [tf] [15] \stopmathcollection \startmathcollection[ec] \definemathsymbol [breve] [accent] [tf] [08] \stopmathcollection \prependtoks \checkoutermathencoding \to \everymathematics \let\outerencoding\empty $\breve e$ \end so ... up to you to define the missing pieces (maybe we should use \startmathencoding for this stuff) 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] \bar missing in euler
Aditya Mahajan wrote: I do not know what is the equivalent of 'operators' family in context. Any idea how to pull them out of the text fonts? if this is only euler, we may use something euler:ec otherwise we end up with all other math encodings being messed up 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] Left justify numbers on left margin edge
Aditya Mahajan wrote: On Sun, 9 Jul 2006, Mojca Miklavec wrote: On 7/9/06, Aditya Mahajan wrote: Perhas a left=,right= pair of keywords could solve the problem (left= and right= surrounding the number; but then we would also have to surround the label with something as well), where the default of left= would be a space. \[whatever]commad= could also solve the problem. left=Q works. The label is Sigh! A prisoner sitting in the cell thinking about how to escape never realizes that the door is not locked at all. Thanks a lot. textspaceleftnumberstopperright, so this works I won't ask where this is documented. I learnt it the hard way --- trial and error :) \defineenumeration [question] [text=Question, left=Q] \starttext \startquestion[abc] Why are there so many spaces in \in[abc]? \stopquestion \stoptext If we're talking about \in-s, references, ... It would simplify my style file considerably if I was able to get the chapters labelled as C1, C1, ... instead of only 1, 2, ... I could get rid of left= which I do need when referencing to the questions. I would also like such a feature. I frequently have \defineitemgroup[features] \setupitemgroup[features][each][left=(F,right=),stopper=] \setupitemgroup[features][each][n,2*broad] and the I usually do \definereferenceformat[infeature][left=(F,right=)] and use \infeature. It would be nice if one could have referenceleft and referenceright in most setup commands. we can think of using labels; deep down the core: \setuplabeltext[\s!itemcount1={{I(},{)}}] \def\labeledcountervalue#1{\labeltexts{#1}{\countervalue{#1}}} etc etc; not that hard, but we need some rainy days and such (with instead if itemcount item:1 item:2 etc) this needs some work because itemize has its own numbering (historic reasons) so ... you can file a feature request and remind me every now and then 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] conversion and formulas
Aditya Mahajan wrote: Hi, I have a presentation in which only a few numbered formulas so I wanted to number them as (*) (**) etc. The only way I could get that to work was \setupnumber[formula][conversion=set 1] The natural \setupformulas[conversion=set 1] does not work Why isn't conversion inherited from \setupformulas? Can this be added to core-mat.tex? \definenumber % \definelabel [\v!formula] [\c!text=\v!formula, \c!way=\@@fmway, \c!blockway=\@@fmblockway, \c!location=\v!intext, \c!conversion=\@@fmconversion] %%% New sure, but don't forget the default conversion \setupformulas [\c!conversion=\v!numbers] 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] too much space because of margin notes
Mojca Miklavec wrote: Hello, I would like to write a note in the margin next to some framed formula, but I guess that the formula starts a new paragraph and there's too much space left on the top of the frame. How can I fix that? \starttext \startframedtext \inmargin{some text in margin} \placeformula \startformula a+b=c \stopformula How can I get rid of that space? \stopframedtext \stoptext when using framed texts you run into problems with flushing, struts and the nature of boxes (vbox,vtop) in such cases one can do several things \starttext \showframe \def\MyDisplayCorrection {\vskip-\lineheight} \margintext{some text in margin} \starttextbackground \MyDisplayCorrection \placeformula \startformula a+b=c \stopformula \stoptextbackground \stoptext use a Correction macro that can be nilled (since some day we may have more control over math spacing and can fix the problem) Here is a nice alternative: \starttext \margintext {some text in margin} \setupframedtexts[background={YourTrick,MyTrick}] \definelayer[MyTrick] \startsetups MyTrick \setlayer[MyTrick]{\placemargintexts} \stopsetups \defineoverlay[YourTrick][\setups{MyTrick}] \startframedtext \placeformula \startformula a+b=c \stopformula \stopframedtext \stoptext I'm sure that yuou can explain this on the wiki (There is this Best Of Ruby Quiz book, maybe we should make a Best Of Context Quiz one ... ) 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] Linux upgrade
[EMAIL PROTECTED] wrote: On 6/23/06, Taco Hoekwater [EMAIL PROTECTED] wrote: After following those instructions, everything should be ok except for the new ruby script links and texmfstart's warning. For that, do the following: * make sure you have ruby installed. If not, do that first * go to the scripts/context/stubs/unix/ directory in your freshly unpacked ConTeXt distribution, make sure you have write permissions to the TeX binaries directory, and run something like the shell script that follows. [...] This script creates copies of the scripts and has to be run each time the scripts are updated. It does not create copies of any important scripts, it only creates copies of the stubs that use texmfstart to find the scripts. There should be no problems with that approach except even if you forget it occasionally, and it will very likely be added to ctxtools --update sometime soon, removing the need of post-install actions completely. The whole point of texmfstart is that Hans tries to hide kpsewhich (because it is not present in all distros) and the implementation language of the actual scripts (because that may change over time). Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] !?!? -what's up?
Thanks, on what does it depend? On gwConetxt? (Or that I haven't installed ruby?) -a- On 11 Jul 2006, at 09:56, Hans Hagen wrote: Matthias Wächter wrote: Hans Hagen schrieb: andrea valle wrote: I reinstalled all (tex, texshop) and solved the problem. Now I installed ConTeXt Beta. Still I have this warning I do not understand: remark : 'texutil' is now part of 'texexec' warning : use 'texmfstart texutil' instead total run time : 7 seconds warning : use 'texmfstart texexec' instead What does it mean? that you run texexec.pl (which calls texutil.pl) instead of texexec.rb (which has texutil built in) The same text is returned when using live.contextgarden.net. the garden is not updated to use texexec.rb 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 Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \bar missing in euler
Hans Hagen wrote: Aditya Mahajan wrote: I do not know what is the equivalent of 'operators' family in context. Any idea how to pull them out of the text fonts? if this is only euler, we may use something I believe this is euler only. The other math fonts I have dug into have been complete. euler:ec Makes sense. I'll look at the new definitions you just sent. On the user side, what do you imagine it would look like: \definetypeface [e] [mm] [math] [euler] [euler] [encoding=ec] or \definetypeface [e] [mm] [math] [euler] [euler] [encoding=euler:ec] or \starttypescript [math,boldmath] [euler] [ec] # with the first one \usemathcollection[euler:ec] \stoptypescript ? otherwise we end up with all other math encodings being messed up Yes, and that's the last thing I'd want to happen because of euler support. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \bar missing in euler
Adam Lindsay wrote: Makes sense. I'll look at the new definitions you just sent. On the user side, what do you imagine it would look like: \definetypeface [e] [mm] [math] [euler] [euler] [encoding=ec] ^^^ this one (actually it listens to the outer encoding) 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] positiongraphics
Hans van der Meer wrote: I have some further information on the problem below. It turns out not something with position graphics. Instead it is a rogue footnote (that is being colored). It seems that this happens only when the footnote is at a particular point on the page; it is therefore next to impossible to give a minimal example. How large is it? Iff below 5MB, just email me directly. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] positionoverlays problem
Hans van der Meer wrote: I want to use the positionoverlay mechanism in several different figures (according to the metafun manual Anchors and layers). The problem is that the overlays show up in the last figure only, not in the first. If I do not typeset the second overlayseries, the first does appear. It looks like only the last overlayseries is kept. Why is this and how to remedy this? I would like to help but I almost never use this stuff myself and your example code doesn't compile. Is it because both are on the same page? You effectively redefine the current page background in each \stopoverlaygraphics command. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Nailed references with our strategy
David Arnold wrote: All, thought we had a good strategy for defining our own counter, but we don't have references now. Any ideas? \newcounter\NonFigCounter \define\UpdateNonFigCtr{\doglobal\increment\NonFigCounter} \setuplabeltext[example=Example \NonFigCounter.] I must have missed something. Why are you switching to a totally manual numbering system here? Taco \defineenumeration [example] [location=serried, width=broad, distance=1em, headcolor=green, headstyle=bold, text=\labeltext{example}, stopper=., style=slanted, inbetween=\blank, after=\blank\UpdateNonFigCtr, way=bysection, number=no] \starttext \startexample[exmpl:one] blah, blah, blah \stopexample In \in{Example}[exmpl:one], we see that, ... \stoptext ___ 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] Losing our hang
David Arnold wrote: All, why do we lose our hang in the second question? The hanging is a paragraph characteristic: the first line does not indent, all others do. So, it would not work as desired even if it did behave as advertised. Anwyay, just remove the hang=100 line. The output of that looks fine to me. Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Question and Answer Blocks -- Feed back in one or two column mode.
Hi David, David Arnold wrote: All, If we have about 45 question blocks and accompanying answer blocks, how can we typset some of the answer blocks in two column mode, other of the answer blocks in one column mode, and the rest back in two column mode. We don't mind manually editing a file to accomplish this. I would not know how to do that (nicely, or at all). Using buffers may be easier. Taco PS I mostly reply because this is the last 'open' email message in my inbox (i weeded about 300 messages after eurotex), so you all know that if I have not replied to you yet, I will not at all, and you may have to re-send something if you want my attention. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Chapter/section text inmargin
Thanks, Taco -- this gets me going in the direction I want to go. jason Taco Hoekwater wrote: Jason Knight wrote: I'm attempting to do some formatting similar to Bringhurst's Elements of Typographic Style and am getting a bit stymied, where section titles are in the margin right next to the text. Here's what I've got so far in ConTeXt (and it gets me close): \setupheads[sectionnumber=no] \setuphead[chapter][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace] \setuphead[section][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace] \setuphead[subsection][textcommand=\inmargin,style=\scx,before=\nowhitespace,after=\nowhitespace] This places the chapter/section/subsection titles in the margin alright, but it is still above the text it refers to. How do I get it alongside? The head is always at least one line high, even if it is in the margin. Something as simple as this may be sufficient for you needs: \setuphead [section] [textcommand=\inmargin, style=\tfa, before=\nowhitespace, after={\kern -12pt}] 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
[NTG-context] How ConTeXt manages section's label at the bottom of a page ?
Hi all, Considering this piece of code: \section{A title of section} Here we have some texts resulting to the following theoretical situation before correction: at the bottom of the page 1: A title of section at the top of the page 2: Here we have some texts Is ConTeXt smart enough to apply this kind of correction during processing: page 1: whatever before \section call page 2: A title of section Here we have some texts Apparently, Taco told me on #context that this is the case... But in fact, I have this kind on problem with a \subsubsection call. If it is implemented, can we fine-tune the behaviour of the correction. For example, Considering a section label followed by only two lines of text, can we push this label+text to the newt page ? Cheers, Renaud ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] positiongraphics
Hans van der Meer wrote: First everything is OK and then suddenly I start getting errors in (metafun) position graphics: ! Missing `)' has been inserted. to be read again ; l.118 ...926pt,72.9016pt)--(95.23926pt,72.9016pt); The mpgraph.mp file says at this point: PlainTextArea:=boundingbox((95.23926pt,72.9016pt)--(95.23926pt, 72.9016pt); shifted (609.52148pt,476.59792pt));; What is happening? can you make a minimal failing example? looks like an ; too much 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] Question and Answer Blocks -- Feed back in one or two column mode.
Well, Here is the reason. We have question blocks, longanswer blocks, and shortanswer blocks. We are typesetiing all in 2-column mode. However, every now and then, one of the longanswer blocks is too difficult to typeset in two column mode and we'd like to switch over to 1-column mode. So, if we to texmfstart texexec --mode=long filename, with source somewhat like the following, some of our long answers, say exercises 25-30, really need to be set in one-column mode. We are looking for ideas. % Exercise #1 \beginquestion \startquestion \stopquestion \endquestion \beginlonganswer \startanswer \stopanswer \endlonganswer \beginshortanswer \startanswer \stopanswer \endshortanswer ... % Exercise #40 \beginquestion \startquestion \stopquestion \endquestion \beginlonganswer \startanswer \stopanswer \endlonganswer \beginshortanswer \startanswer \stopanswer \endshortanswer \placeanswers\kern0pt On Jul 11, 2006, at 7:07 AM, Taco Hoekwater wrote: Hi David, David Arnold wrote: All, If we have about 45 question blocks and accompanying answer blocks, how can we typset some of the answer blocks in two column mode, other of the answer blocks in one column mode, and the rest back in two column mode. We don't mind manually editing a file to accomplish this. I would not know how to do that (nicely, or at all). Using buffers may be easier. Taco PS I mostly reply because this is the last 'open' email message in my inbox (i weeded about 300 messages after eurotex), so you all know that if I have not replied to you yet, I will not at all, and you may have to re-send something if you want my attention. ___ 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
[NTG-context] Here's what is done.
Hans, Taco, See: http://online.redwoods.edu/IntAlgText/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How ConTeXt manages section's label at the bottom of a page ?
Renaud AUBIN wrote: Hi all, Considering this piece of code: \section{A title of section} Here we have some texts resulting to the following theoretical situation before correction: at the bottom of the page 1: A title of section at the top of the page 2: Here we have some texts Is ConTeXt smart enough to apply this kind of correction during processing: page 1: whatever before \section call page 2: A title of section Here we have some texts Apparently, Taco told me on #context that this is the case... But in fact, I have this kind on problem with a \subsubsection call. If it is implemented, can we fine-tune the behaviour of the correction. For example, Considering a section label followed by only two lines of text, can we push this label+text to the newt page ? normally \section{xx} \subsection{xx} paragraph should not result in dangling section titles, it only fails when the \subsection is followed by something that add a goodbreak or something similar or skips 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] symb-eur and dvi
Hello, I'm quite sure, that this had worked some months ago, even in dvi/ps mode: \usesymbols[eur] \starttext \texteuro \stoptext But now, I get nothing at the place of the euro-symbol. What could have been changed in the meantime? TIA for any hint! 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] Losing our hang
On Sat, 8 Jul 2006, David Arnold wrote: All, why do we lose our hang in the second question? computer platforms. \placeformula[-] \startformula f(x)=x^2 \stopformula An icon is a representation of an action or the name of a computer Because you begin a new paragraph. Just remove the empty line, and it should be as you want. 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] symb-eur and dvi
On Tue, 11 Jul 2006, Peter Münster wrote: I'm quite sure, that this had worked some months ago, even in dvi/ps mode: \usesymbols[eur] \starttext \texteuro \stoptext But now, I get nothing at the place of the euro-symbol. What could have been changed in the meantime? I forgot to mention, that in pdf-mode all is ok. 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] sample={99}
On Sat, 8 Jul 2006, David Arnold wrote: Was I surprised to find that my numbering went to multiples of 2 when I added the option sample={99}. Is this a bug? Hello, it's always a nice exercise to create a minimal example, that shows the problem: \defineenumeration[question][width=fit,sample=9] \starttext \dorecurse{10}{\startquestion bla\stopquestion} \stoptext So it's perhaps just ConTeXt's way to say, that width=fit and sample=... are contradictory. But anyway: it seems that the sample option is completely broken, or I don't understand it's meaning. 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] A page for figures ?
Hi all, I would reserve a page for several figure (i.e. \placefigure). \placefigure[page] reserve ONE page for ONE figure... Can \placefigure reserve a page for several figures with an option I don't know yet ??? Since I assume \placefigure can do that for me, I don't want to use \placefigure[page]{none}{\startcombination...\stopcombination}... ;) TIA Renaud ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] positionoverlays problem
I more or less guess there are only a restricted number of overlays possible? Could that be a correct conclusion? The elegant way would have been being able to define separate positionoverlays for each picture, imho. However I found a practical solution in defining all items centrally within one positionoverlay. Up till now it has not failed, so I can live with that, but I cross my fingers it will still hold for a few hundred positional graphics. Hans van der Meer On Jul 11, 2006, at 15:21, Taco Hoekwater wrote: Hans van der Meer wrote: I want to use the positionoverlay mechanism in several different figures (according to the metafun manual Anchors and layers). The problem is that the overlays show up in the last figure only, not in the first. If I do not typeset the second overlayseries, the first does appear. It looks like only the last overlayseries is kept. Why is this and how to remedy this? I would like to help but I almost never use this stuff myself and your example code doesn't compile. Is it because both are on the same page? You effectively redefine the current page background in each \stopoverlaygraphics command. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] positiongraphics
I send the offending mpgraph.mp file. It has ;'s all over. There are so many ;;'s and even some ;;;'s that I am tempted to think that one of the translation scripts is the culprit, adding a ; per newline maybe? I am sorry not having taken a look into the ruby scripts, but my ruby knowledge is nihil. syllabus-s-mpgraph.mp Description: Binary data Hans van der Meer On Jul 11, 2006, at 17:08, Hans Hagen wrote: Hans van der Meer wrote: First everything is OK and then suddenly I start getting errors in (metafun) position graphics: ! Missing `)' has been inserted. to be read again ; l.118 ...926pt,72.9016pt)--(95.23926pt,72.9016pt); The mpgraph.mp file says at this point: PlainTextArea:=boundingbox((95.23926pt,72.9016pt)--(95.23926pt, 72.9016pt); shifted (609.52148pt,476.59792pt));; What is happening? can you make a minimal failing example? looks like an ; too much Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Disappearing chapter numbers
All, We are wondering why we don't get a chapter number in our header in what follows. However, if we change \setupheadnumber[chapter][-1] \setupheadnumber[chapter][0], we do get a chapter number in the running head. \setupheadnumber[chapter][0] \setupwhitespace[medium] \setupindenting[medium,yes] \def\headerskip{\hskip 1em} \def\headermarkleft{% \bold{\pagenumber} {\sc\headerskip Chapter \headnumber[chapter]\headerskip\getmarking [chapter][current]}} \def\headermarkright{% {\sc\headnumber[section]\headerskip\getmarking[section][current] \headerskip} \bold{\pagenumber}} \setupheadertexts [\headermarkleft] [] [] [\headermarkright] \setuppagenumbering [state=start, alternative=doublesided, location=, way=bytext] \chapter[chap:0]{Preliminaries} \input knuth \section{Intro to Whales} \dorecurse{10}{\input knuth\par} \section{Intro to Penguins} \dorecurse{10}{\input knuth\par} \stoptext %%% Local Variables: %%% mode: conTeXt-en %%% End: ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] BBEdit
Hi, Anyone on this list use BBEdit for the Context editing? If so, do you know how to get the spell checked in BBEdit to ignore Context keywords? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context