Re: [NTG-context] Re: minimal ConTeXt tree
Patrick Gundlach wrote: I wanted to give my TeX a fresh start, deleted the complete tetex folder and downloaded Hans' "macosxtex.zip". Could someone please share his/her experience what to do now - in order to get the files in this zip work? This sounds to me as if you want to shoot yourself in your feet but you don't know how to handle the gun .-) Why don't you use Gerben's iInstaller with a pretty uptodate ConTeXt? (Never used it, only reading about it). in principle the mac tree should work, when you run from a console; (that way i can comfortably use it from within scite) ; however, gerbens installation is normally quite up to date and integrates well in the texshop etc environments, so maybe you shopuld try tat first (I suppose one can install context-only) 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] [Fwd: Where did the equal sign go?]
-- - 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 - --- Begin Message --- Hans, This typesets (pdf) fine on my system. \starttext \subject{Unorthodox} Subtracting a scalar from a matrix or vector makes no sense mathematically. \startformula \left(\matrix{1 & 2 & 3\cr 4 & 5 & 6}\right)-1 \stopformula However, this is such a common occurrence, Matlab interprets this to mean \startformula \left(\matrix{1 & 2 & 3\cr 4 & 5 & 6}\right)-1 =\left(\matrix{0 & 1 & 2\cr 3 & 4 & 5}\right). \stopformula \stoptext However, the exact same construct in the attached file doesn't show the equal sign when viewed in Acrobat. How come? %\showframe \setuppapersize[S6][S6] \setuplayout [width=middle, top=1cm, bottom=1cm, backspace=1cm, leftmargin=0pt, rightmargin=0pt, footer=0pt, header=0pt] \setuppagenumbering [state=stop] \setupwhitespace[medium] \setupindenting[medium] \setupbodyfont[lbr,14pt] \setupcolors[state=start] \definecolor[darkred][r=0.5, g=0.0, b=0.0] \definecolor[darkgreen][r=0.0, g=0.5, b=0.0] \setuphead [subject][color=blue] \starttext \startstandardmakeup \startcolor[darkred] \startalignment[center] \tfd Using Technology \blank \tfd in\blank \tfd Teaching Multivariable Calculus\vfill \tfb David Arnold\vfill \tfb Humboldt Mathematics Colloquium\blank \tfb\currentdate[month,year] \stopalignment \stopstandardmakeup \subject{Matlab} In order to use Matlab effectively, students must understand that Matlab's basic data structure is the matrix. \startitemize \item Entries in rows are separated by commas. \starttyping >> u=[1,2,3] u = 123 \stoptyping \item Rows are terminated by semicolons. \starttyping >> v=[1;2;3] v = 1 2 3 \stoptyping \item Row entries can also be separated by spaces. \starttyping >> A=[1 2;3 4] A = 12 34 \stoptyping \stopitemize \page \subject{The Algebra of Vectors} \startitemize \item Vectors are added element by element. \starttyping >> u=[1,2,3]; v=[4,5,6]; >> u+v ans = 579 \stoptyping \item Vectors are subtracted element by element. \starttyping >> u=[1;2;3]; v=[4;5;6]; >> u-v ans = -3 -3 -3 \stoptyping \item Scalar multiplication is performed on each element. \starttyping >> u=[7,8,9]; >> 2*u ans = 14 16 18 \stoptyping \stopitemize \page \subject{Matrices} \startitemize \item Matrices of equal size are added (or subtracted) element by element. \starttyping >> A=[1,2,3;4,5,6]; B=[1,1,1;2,2,2]; >> A+B ans = 234 678 \stoptyping \item Scalar multiplication is performed on each entry. \starttyping >> A=[1,2;3,4;5,6;7,8]; >> 2*A ans = 24 68 10 12 14 16 \stoptyping \stopitemize \page \subject{Unorthodox} Subtracting a scalar from a matrix or vector makes no sense mathematically. \startformula \left(\matrix{1 & 2 & 3\cr 4 & 5 & 6}\right)-1 \stopformula However, this is such a common occurrence, Matlab interprets this to mean \startformula \left(\matrix{1 & 2 & 3\cr 4 & 5 & 6}\right)-1=\left(\matrix{0 & 1 & 2\cr 3 & 4 & 5}\right). \stopformula \page \subject {Parametric Equations} \stoptext --- End Message --- ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] font install script
Hi out there, has anybody got a (unix) script for installing the base fonts with texfont? I need the metrices so you can use these fonts without the adobekb typescript (no, I don't want to switch, its for garden) Patrick PS: don't send me complete trees, I don't have a good internet connection) -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Getting linuxtex.zip working
Nikolai Weibull wrote: Exactly what do I need to do after running setuptex, mktexlsr, and texexec --make --alone? PATH needs permanent updating for sure, but what else? texexec won't work (kpsewhich won't work) unless setuptex is sourced before I try running it in a fresh shell. What am I missing in my setup? you can add the call to setuptex to your local profile . /path-to/setuptex /path-to 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: missing =
> From: David Arnold <[EMAIL PROTECTED]> > Subject: Where did the equal sign go? > To: [EMAIL PROTECTED] > Date: Sat, 30 Oct 2004 09:25:19 -0700 Please use the following method to make the error more clear for us: * delete everything unecessary * post the resulting code * (there is no step three) So it comes down to something like: \setupbodyfont[lbr,14pt] \starttext \startformula -1=+1 \stopformula \stoptext which typesets -1 1 removing the \setupbodyfont is the key to the = and + sign. Perhaps this is enough for others to track down the error. Sorry I don't know further. Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: subsubsubsection
Patrick Gundlach <[EMAIL PROTECTED]> wrote: > Hello Steffen, > > > ... sure I have seen that subsubsubsection is already defined in core-sec.tex. > > Then the numbering/charactering works fine ... BUT why does a heading that's > > mapped to it > > just not appear in the TOC? > > > Sorry, but I don't get it. Could you please try to make a small > example file that shows us what you want to achieve? > > > Patrick Hah, it was just an forgotten entry in the darkest corner of my environment setup: \definecombinedlist[content][... lots of entries ...][level=subsubsection] ^ I didn't remember this last option being set at the end of that unwrapped line. Sorry for the trouble, Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: subsubsubsection
Hello Steffen, [...] > Hah, it was just an forgotten entry in the darkest corner of my > environment setup: Good news that you've got it. If you had posted a complete but minimal example, you might have gotten your answer earlier. Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Getting linuxtex.zip working
* Hans Hagen <[EMAIL PROTECTED]> [Nov 01, 2004 13:55]: > > Exactly what do I need to do after running setuptex, mktexlsr, and > > texexec --make --alone? PATH needs permanent updating for sure, but > > what else? texexec won't work (kpsewhich won't work) unless > > setuptex is sourced before I try running it in a fresh shell. What > > am I missing in my setup? > you can add the call to setuptex to your local profile > . /path-to/setuptex /path-to Sure, but what variables are actually necessary to export and, more interestingly, why are they needed in the environment at all? When running from tetex everything works fine. I'm guessing this is mostly due to differences between stuff in tetex 2.0.2 and more recent releases of software, but I still can't see why it would be necessary to fill the environment with some 10-20 variables. nikolai (the environmentalist) -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Getting linuxtex.zip working
Nikolai Weibull wrote: * Hans Hagen <[EMAIL PROTECTED]> [Nov 01, 2004 13:55]: Exactly what do I need to do after running setuptex, mktexlsr, and texexec --make --alone? PATH needs permanent updating for sure, but what else? texexec won't work (kpsewhich won't work) unless setuptex is sourced before I try running it in a fresh shell. What am I missing in my setup? you can add the call to setuptex to your local profile . /path-to/setuptex /path-to Sure, but what variables are actually necessary to export and, more interestingly, why are they needed in the environment at all? When running from tetex everything works fine. I'm guessing this is mostly due to differences between stuff in tetex 2.0.2 and more recent releases of software, but I still can't see why it would be necessary to fill the environment with some 10-20 variables. nikolai (the environmentalist) setuptex exports the variables for you; if you look in that file, you can see that i define all critical variables the problem with tetex (last time i installed it) is that it sets paths and other things in ways that make parallel distributions painful; also, i dislike sorting out all kind of unexpected side effects due to settings of texinput paths, home directory stuff, texmf.cnf files not being in theirnatural place (it seems that some unix distributions prefer the etc path) so, the idea of setuptex is that you can have tetex and anytex on your system and still use a minimal context which, when setuptex is ran, is completely isolated (al also add some more trees, like texmf-project, texmf-fonts which are not set by other tes distributions) 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] fontdimen trickery
Hans, Taco, all, Parallel to Taco's mathfontdump, this morning I ran into a problem trying to reassign a fontdimen of a font invoked using ConTeXt's typescript system. If I try it before a \setupbodyfont, it doesn't recognise the font identifier, and if I try it afterwards, I run into a \reactivatefont mess. The key line in the attached file appears commented out twice: \fontdimen7\csname*new12ptmmmi*\endcsname=0pt (I'm trying to work on some better math support for some other fonts, and trying it this way first, before hacking into a tfm.) The prime question is, is there something higher-level and "obvious" that I'm missing, or does it mean tearing into font-ini? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- fontdimen.tex Description: TeX document ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [dev-context] Re: [NTG-context] Bug in math accents (analyzed)
Taco has found the reason why \mathaccents may get dislocated in slanted or italic fonts The problem is that your code does not set \skewchar for the \scriptfont and \scriptscriptfont of the relevant math families. You need to make sure you set all three of \textfont X, \scriptfont X and \scriptscriptfont X. This requires some minor rewriting of a few macros in font-ini.tex. I could do that for you, but my coding style is not even remotely similar to yours so I wager you'd rather do it yourself. ;-) font-ini needs the following patch \appendtoks \dosetmathfamily\mrfam\textface\scriptface\scriptscriptface\c!mr\mrfallback \dosetmathfamily\mifam\textface\scriptface\scriptscriptface\c!mi\empty \dosetmathfamily\syfam\textface\scriptface\scriptscriptface\c!sy\empty \dosetmathfamily\exfam\textface\textface \textface\c!ex\empty \dosetmathfamily\mafam\textface\scriptface\scriptscriptface\c!ma\empty \dosetmathfamily\mbfam\textface\scriptface\scriptscriptface\c!mb\empty \dosetmathfamily\mcfam\textface\scriptface\scriptscriptface\c!mc\empty \dosetmathfamily\nnfam\textface\scriptface\scriptscriptface\c!nn\empty \to \mathstrategies \appendtoks \dosetskewchar\mifam\defaultskewcharmi % implemented later on \dosetskewchar\syfam\defaultskewcharsy % implemented later on \to \mathstrategies \def\dosetskewchar#1#2% {\ifx\@@fontskewchar\empty \skewchar\textfont#1#2% \skewchar\scriptfont #1#2% \skewchar\scriptscriptfont#1#2% \else \skewchar\textfont#1\@@fontskewchar \skewchar\scriptfont #1\@@fontskewchar \skewchar\scriptscriptfont#1\@@fontskewchar \fi} i'll patch the distribution 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fontdimen trickery
Adam Lindsay wrote: Hans, Taco, all, Parallel to Taco's mathfontdump, this morning I ran into a problem trying to reassign a fontdimen of a font invoked using ConTeXt's typescript system. If I try it before a \setupbodyfont, it doesn't recognise the font identifier, and if I try it afterwards, I run into a \reactivatefont mess. The key line in the attached file appears commented out twice: \fontdimen7\csname*new12ptmmmi*\endcsname=0pt (I'm trying to work on some better math support for some other fonts, and trying it this way first, before hacking into a tfm.) The prime question is, is there something higher-level and "obvious" that I'm missing, or does it mean tearing into font-ini? we can consider to add 'improvements' to math dimensions in a similar way as protruding and hz, i.e. as a handling; that way they get set at definition time automatically anyhow, the solution for your hackery is: \definetypeface[new][rm][serif][times][default][encoding=texnansi] \definetypeface[new][mm][math][times][default] \setupbodyfont[new] {\csname*new12ptmmmi*\endcsname \fontdimen7\font=1pt} \starttext 7=\the\fontdimen7\csname*new12ptmmmi*\endcsname\par \stoptext - 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Failing on Mac OS X
Hi, I updated my tetex installation from G. Wierda's i-Installer (to the latest version) and ever since my context files refuse to compile. The earliest error indication I get is: ConTeXt ver: 2004.10.07 fmt: 2004.11.1 int: english mes: english systems: pdfTeX version 111 -> please update systems: eTeX version 201 -> too old (bugs) But I do seem to have the latest pdfTeX and eTeX versions: gimli:~ shiv$ pdftex -v pdfTeX (Web2C 7.5.2) 3.141592-1.11a kpathsea version 3.5.2 gimli:~ shiv$ etex -v e-TeX (Web2C 7.5.2) 3.141592-2.1 kpathsea version 3.5.2 Any idea where my problem could be? Thanks, --shiv-- ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Failing on Mac OS X
Shivkumar Chandrasekaran <[EMAIL PROTECTED]> writes: > ConTeXt ver: 2004.10.07 fmt: 2004.11.1 int: english mes: english > > systems: pdfTeX version 111 -> please update current pdftex is something around This is pdfeTeX, Version 3.141592-1.20a-rc7.1-2.1 (Web2C 7.5.3) > systems: eTeX version 201 -> too old (bugs) This is not critical (for most stuff?) > Any idea where my problem could be? Thanks, Please post the complete output of a simple texexec run. And perhaps you might want to have a look at the macosxtex mailinglist. Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: subsubsubsection
Hallo Patrick, Patrick Gundlach <[EMAIL PROTECTED]> wrote: > Hello Steffen, > > > [...] > > > Hah, it was just an forgotten entry in the darkest corner of my > > environment setup: > > Good news that you've got it. If you had posted a complete but minimal > example, you might have gotten your answer earlier. > > Patrick Actually that's how I found the answer - while writing a minimal example! Minimal examples always invite to get a fresh look again, don't they? Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: subsubsubsection
Hello Steffen, > Actually that's how I found the answer - while writing a minimal example! > Minimal examples always invite to get a fresh look again, don't they? right! This is a pretty normal bug-finding procedure for me: 1) something with $SOFTWARE goes wrong 2) open mail client, start mail to $MAILINGLIST 3) create minimal example to show error (to paste it into the mail) 4) find the error myself because of stupid mistake 5) delete the started mail 6) feel happy again Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \presentationstep
Hi, Could someone tell me if I'm doing something bad here, please? File test.tex --- \usemodule[pre-original] \starttext \Subject{Test} step 1 \presentationstep step 2 \stoptext --- texexec --mode=step --output=pdf test.tex This gives me a white page instead of the text I get without `--mode=step'. Thanks for any help, David ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] I Lose frame lines in Table
All, Still haven't got an answer for this one: \setupTABLE[background=screen,screen=0.8,color=darkred,frame=off] \setupTABLE[column][first][rightframe=on] \setupTABLE[row][first][bottomframe=on] \placetable[none]{}{% \bTABLE[align={middle,lohi},width=3em] \bTR \bTD $x$ \eTD \bTD $y$ \eTD \eTR \bTR \bTD $x_1$\eTD \bTD $y_1$ \eTD \eTR \bTR \bTD $x_2$\eTD \bTD $y_2$ \eTD \eTR \bTR \bTD $\vdots$ \eTD \bTD $\vdots$ \eTD \eTR \bTR \bTD $x_n$\eTD \bTD $y_n$ \eTD \eTR \eTABLE} Why do my frame lines (rightframe=-n, bottomframe=on) disappear? ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Wrap that URL
All, I have: \page \subject{Student Projects} \setupurl [style=bold] \useURL[craig][http://online.redwoods.cc.ca.us/instruct/darnold/CalcProj/Fal l98/CraigA/project3.htm] \from[craig] But even with \setuppapersize[S6][S6] this URL goes off the page. I'd like to split it onto two lines. Any suggestions? ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Getting linuxtex.zip working
Am 01.11.2004 um 15:39 schrieb Hans Hagen: setuptex exports the variables for you; if you look in that file, you can see that i define all critical variables Strangely it doesn't (at least on MacOS X). I know shell scripts and I had to adapt it to MacOS X a bit; the variables are defined in the script, but don't get exported! I copied everything (a bit simplified) to my .bash_profile, and then it works (but not good yet - kpsewhich can't find pool files etc. seems to be the old path problem again. I hate kpsewhich!) Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \presentationstep
Am 02.11.2004 um 07:04 schrieb David Munger: Could someone tell me if I'm doing something bad here, please? File test.tex --- \usemodule[pre-original] \starttext \Subject{Test} step 1 \presentationstep step 2 \stoptext --- texexec --mode=step --output=pdf test.tex This gives me a white page instead of the text I get without `--mode=step'. You doesn't define a "step" mode, so there's no output. Completely logical. What's the matter? You can use "--mode=something" switch only for environments like \startmode[something] \stopmode[something] \startnotmode[something] \stopnotmode[something] See the wiki: http://contextgarden.net/Modes But probably you're looking for: http://contextgarden.net/Presentation_effects Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context