[NTG-context] Bug with mathmatrix row-spacing in \startalign
Hello, I hope I'm doing this right. I discovered a bug where the spacing between rows becomes too large in a mathmatrix when used in between \startalign and \stopalign. I posted on StackExchange and was told to report it here: http://tex.stackexchange.com/questions/130636/context-wrong-mathmatrix-spacing-between-rows-in-startalign-environmenthttp://tex.stackexchange.com/questions/130636/context-wrong-mathmatrix-spacing-between-rows-in-startalign-environment?noredirect=1#comment294770_130636 I've included the MWE, from the above link, below. Thanks for the quick response, Andreas From \setupmathmatrix[left={\left[\,}, right={\,\right]}] \starttext \startformula \startmathmatrix \NC 1 \NR \NC 2 \NR \NC 3 \NR \stopmathmatrix \stopformula \startformula \startalign \NC \startmathmatrix \NC 1 \NR \NC 2 \NR \NC 3 \NR \stopmathmatrix \NR \stopalign \stopformula \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug with mathmatrix row-spacing in \startalign
On 8/30/2013 12:16 AM, Andreas Halkjær wrote: Hello, I hope I'm doing this right. I discovered a bug where the spacing between rows becomes too large in a mathmatrix when used in between \startalign and \stopalign. I posted on StackExchange and was told to report it here: http://tex.stackexchange.com/questions/130636/context-wrong-mathmatrix-spacing-between-rows-in-startalign-environment http://tex.stackexchange.com/questions/130636/context-wrong-mathmatrix-spacing-between-rows-in-startalign-environment?noredirect=1#comment294770_130636 I've included the MWE, from the above link, below. Thanks for the quick response, Andreas From \setupmathmatrix[left={\left[\,}, right={\,\right]}] | \starttext \startformula \startmathmatrix\NC1 \NR\NC2 \NR\NC3 \NR\stopmathmatrix \stopformula \startformula\startalign \NC\startmathmatrix\NC1 \NR\NC2 \NR\NC3 \NR\stopmathmatrix\NR \stopalign\stopformula \stoptext| Interesting. In the end it is a side effect of an obscured variable. For those who know th econtext internals, I had to do this: \let\normalbaselineskip \relax \newskip \normalbaselineskip % these got lost in the transition to mkiv due \let\normallineskip \relax \newskip \normallineskip % to auto-\normal* definitions and registers \let\normallineskiplimit\relax \newdimen\normallineskiplimit % being protected I uploaded a new beta. Hans PS. Aditya: in the process I made a \closeup that counteracts \openup (low level names \math_* ) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] scite
Hi, For those using scite in the distribution: Ctrl + triggers a bottom menu with alphabets organized by language cq. math alphabets (no time to do the symbols now). If your language is missing, feel free to submit the data (has to be utf-8). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] question concerning \setupalign \setuptolerance
Dear list is there a way to \setupalign and \setuptolerance globaly? In tabulate- or frameenvironement for example they are reseted. MWE: \definefontfeature[default][default][expansion=quality,protrusion=quality] \usetypescript[palatino] \setupbodyfont[palatino,11pt] \setupbodyfontenvironment[default][em=italic] \setupalign[hz,hanging] \setuptolerance[horizontal,stretch] \starttext \subject{Normal Text} align working, tolerance working. \input knuth \subject{Table} Table resets align/tolerance: \starttabulate \NC aling/tolerance not working \NC \input knuth \NC\NR \NC align/tolerance working \NC \setupalign[hz,hanging] \setuptolerance[horizontal,stretch] \input knuth \NC\NR \stoptabulate \subject{Frame} Framedtext resets align/tolerance: \startframedtext[width=0.6\textwidth] aling/tolerance not working \input tufte \stopframedtext \startframedtext[width=0.6\textwidth] \setupalign[hz,hanging] \setuptolerance[horizontal,stretch] aling/tolerance working \input tufte \stopframedtext \stoptext Thanks! Christian ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question concerning \setupalign \setuptolerance
Am 30.08.2013 um 14:23 schrieb Christian Prim christian.p...@gmx.ch: Dear list is there a way to \setupalign and \setuptolerance globaly? In tabulate- or frameenvironement for example they are reseted. Environments which have a align key use the settings of the key and ignore global values, to enable protrusion and font expansion for these environment you have to change their align values. \setupframedtext [align={normal,hanging,hz}] \setuptabulate [align={normal,hanging,hz}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] setuplabeltext doesn't adjust the part label (with MkIV)
setuplabeltext doesn't seem to adjust the part label. Here's a minimal example: \setuphead[part][placehead=yes] \setuplabeltext[part=Part~] \starttext \part{pt} This is a part. \stoptext With MkIV (e.g. on live.contextgarden.net), the part heading is just 1 pt. With MkII, it is Part 1 pt as expected. (setuplabeltxt does work for chapter labels, with either context version.) -Sanjoy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] outer floats on doublesided pages
Dear all, I have problems with the placement of floats. I need them to be placed in the outer edge of the text, but Context puts them in the middle of the page. The outer, inner, outeredge, inneredge, commands do not work. Right and left do work. Preferably the criterium option should also work, e.g. criterium=0.67. A minimal test file is attached. Try it out with a dummy, or with cow picture, or with any other picture of your liking. I updated my context installation today to a bèta version. The version is: 2013.08.30 02.05. All help is welcome! Many thanks in advance, Robert tmp1.tex Description: Binary data %% \setuppapersize[A4][A4] \setuppagenumbering[alternative=doublesided,location=footer] \definefloat[edgefigure][figure] \setupfloat [edgefigure] [leftmargindistance=-\outercombitotal, rightmargindistance=-\outercombitotal, default={outer,none,low,high}] \setupcaption[edgefigure][number=no] \useexternalfigure[cow][./cow.pdf] \starttext \startsection[title={insight},reference=insight] \placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}} When the first volume of Donald Knuth's The Art of Computer Programming was published in 1969, it was typeset using hot metal type set by a Monotype Corporation typecaster with a hot metal typesetting machine from the 19th century which produced a good classic style appreciated by Knuth. When the second edition of the second volume was published, in 1976, the whole book had to be typeset again because the Monotype technology had been largely replaced by photographic techniques, and the original fonts were no longer available.[4] When Knuth received the galley proofs of the new book on 30 March 1977, he found them awful.[5] Around that time, Knuth saw for the first time the output of a high-quality digital typesetting system, and became interested in digital typography. The disappointing galley proofs gave him the final motivation to solve the problem at hand once and for all by designing his own typesetting system. On 13 May 1977, he wrote a memo to himself describing the basic features of TeX.[6] \placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}} He planned to finish it on his sabbatical in 1978, but as it happened the language was not frozen until 1989, more than ten years later. Guy Steele happened to be at Stanford during the summer of 1978, when Knuth was developing his first version of TeX. When Steele returned to MIT that autumn, he rewrote TeX's I/O to run under the ITS operating system. The first version of TeX was written in the SAIL programming language to run on a PDP-10 under Stanford's WAITS operating system. For later versions of TeX, Knuth invented the concept of literate programming, a way of producing compilable source code and cross-linked documentation typeset in TeX from the same original file. The language used is called WEB and produces programs in DEC PDP-10 Pascal. \placeedgefigure[][]{}{\framed[frame=off]{\externalfigure[cow][scale=150]}} When the first volume of Donald Knuth's The Art of Computer Programming was published in 1969, it was typeset using hot metal type set by a Monotype Corporation typecaster with a hot metal typesetting machine from the 19th century which produced a good classic style appreciated by Knuth. When the second edition of the second volume was published, in 1976, the whole book had to be typeset again because the Monotype technology had been largely replaced by photographic techniques, and the original fonts were no longer available.[4] When Knuth received the galley proofs of the new book on 30 March 1977, he found them awful.[5] Around that time, Knuth saw for the first time the output of a high-quality digital typesetting system, and became interested in digital typography. The disappointing galley proofs gave him the final motivation to solve the problem at hand once and for all by designing his own typesetting system. On 13 May 1977, he wrote a memo to himself describing the basic features of TeX.[6] He planned to finish it on his sabbatical in 1978, but as it happened the language was not frozen until 1989, more than ten years later. Guy Steele happened to be at Stanford during the summer of 1978, when Knuth was developing his first version of TeX. When Steele returned to MIT that autumn, he rewrote TeX's I/O to run under the ITS operating system. The first version of TeX was written in the SAIL programming language to run on a PDP-10 under Stanford's WAITS operating system. For later versions of TeX, Knuth invented the concept of literate programming, a way of producing compilable source code and cross-linked documentation typeset in TeX from the same original file. The language used is called WEB and produces programs in DEC PDP-10 Pascal. \stopsection \stoptext ___ If your question
Re: [NTG-context] question concerning \setupalign \setuptolerance
Am 30.08.2013 um 17:55 schrieb Christian Prim christian.p...@gmx.ch: Thanks Wolfgang I have tested it (on new beta) but the alignment is still wrong in the tabulate-environment. It's correct in the framedtext-environment, but tolerance is still missing, so that a line is still too long. My new questions: - What about tolerance? Where must I add the keys? The \setupalign command does also accepts “tolerant”, “verytolerant” and “stretch” as keyword which means you don’t need the \setuptolerance command. This is important because the value of the align key is passed to the \setupalign command. - What about tabulate-environment? I’m sorry but I was wrong about the setting for the tabulate environment, the align value of \setuptabulate accepts only “left”, “middle”, “right” and “normal” as arguments. There is also no way to change the format of the default tabulation environment, only local changes are possible, e.g. \starttabulate[|l|pA{normal,hanging,hz,stretch}|] \NC align/tolerance not working \NC \input knuth \NC\NR \NC align/tolerance working \NC \input knuth \NC\NR \stoptabulate When you want a different default alignment you have to create your own tabulation environment with the \definetabulate command. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question concerning \setupalign \setuptolerance
Thanks Wolfgang! Now everything is clear and fine. Christian 2013/8/30 Wolfgang Schuster schuster.wolfg...@gmail.com Am 30.08.2013 um 17:55 schrieb Christian Prim christian.p...@gmx.ch: Thanks Wolfgang I have tested it (on new beta) but the alignment is still wrong in the tabulate-environment. It's correct in the framedtext-environment, but tolerance is still missing, so that a line is still too long. My new questions: - What about tolerance? Where must I add the keys? The \setupalign command does also accepts “tolerant”, “verytolerant” and “stretch” as keyword which means you don’t need the \setuptolerance command. This is important because the value of the align key is passed to the \setupalign command. - What about tabulate-environment? I’m sorry but I was wrong about the setting for the tabulate environment, the align value of \setuptabulate accepts only “left”, “middle”, “right” and “normal” as arguments. There is also no way to change the format of the default tabulation environment, only local changes are possible, e.g. \starttabulate[|l|pA{normal,hanging,hz,stretch}|] \NC align/tolerance not working \NC \input knuth \NC\NR \NC align/tolerance working \NC \input knuth \NC\NR \stoptabulate When you want a different default alignment you have to create your own tabulation environment with the \definetabulate command. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question concerning \setupalign \setuptolerance
Thanks Wolfgang I have tested it (on new beta) but the alignment is still wrong in the tabulate-environment. It's correct in the framedtext-environment, but tolerance is still missing, so that a line is still too long. My new questions: - What about tolerance? Where must I add the keys? - What about tabulate-environment? Thanks! Christian My new MWE is: \definefontfeature[default][default][expansion=quality,protrusion=quality] \usetypescript[palatino] \setupbodyfont[palatino,11pt] \setupbodyfontenvironment[default][em=italic] \setupalign[hz,hanging] \setuptolerance[horizontal,stretch] \setupframedtext[align={normal,hanging,hz}] %NEW \setuptabulate[align={normal,hanging,hz}] %NEW \showframe %NEW, for better seeing \starttext \subject{Normal Text} align working, tolerance working. \input knuth \subject{Table} Table resets align/tolerance: \starttabulate \NC align/tolerance not working \NC \input knuth \NC\NR \NC align/tolerance working \NC \setupalign[hz,hanging] \setuptolerance[horizontal,stretch] \input knuth \NC\NR \stoptabulate \subject{Frame} Framedtext resets align/tolerance: \startframedtext[width=0.6\textwidth] align working, tolerance not working \input tufte \stopframedtext \startframedtext[width=0.6\textwidth] \setupalign[hz,hanging] \setuptolerance[horizontal,stretch] align/tolerance working \input tufte \stopframedtext \stoptext 2013/8/30 Wolfgang Schuster schuster.wolfg...@gmail.com Am 30.08.2013 um 14:23 schrieb Christian Prim christian.p...@gmx.ch: Dear list is there a way to \setupalign and \setuptolerance globaly? In tabulate- or frameenvironement for example they are reseted. Environments which have a align key use the settings of the key and ignore global values, to enable protrusion and font expansion for these environment you have to change their align values. \setupframedtext [align={normal,hanging,hz}] \setuptabulate [align={normal,hanging,hz}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question concerning \setupalign \setuptolerance
Sorry I still have a problem with \startfiguretext \stopfiguretext. There ist no \setupfiguretext nor \setupfloattext to enter the align= keypairs. Where must I enter align={normal,hanging,hz,stretch} to make the text around these figures aligned like the rest of the document? Thanks Christian PS.: My minimal (not) working example: \definefontfeature[default][default][expansion=quality,protrusion=quality] %\setup?figure?text[align={normal,hanging,hz,stretch}] \setupalign[hz,hanging,stretch] \showframe \starttext Correct Text \input knuth \startfiguretext[right,none]{}{\externalfigure[cow][width=0.5\textwidth]} Wrong alignment! \input knuth \stopfiguretext \stoptext 2013/8/30 Christian Prim christian.p...@gmx.ch Thanks Wolfgang! Now everything is clear and fine. Christian 2013/8/30 Wolfgang Schuster schuster.wolfg...@gmail.com Am 30.08.2013 um 17:55 schrieb Christian Prim christian.p...@gmx.ch: Thanks Wolfgang I have tested it (on new beta) but the alignment is still wrong in the tabulate-environment. It's correct in the framedtext-environment, but tolerance is still missing, so that a line is still too long. My new questions: - What about tolerance? Where must I add the keys? The \setupalign command does also accepts “tolerant”, “verytolerant” and “stretch” as keyword which means you don’t need the \setuptolerance command. This is important because the value of the align key is passed to the \setupalign command. - What about tabulate-environment? I’m sorry but I was wrong about the setting for the tabulate environment, the align value of \setuptabulate accepts only “left”, “middle”, “right” and “normal” as arguments. There is also no way to change the format of the default tabulation environment, only local changes are possible, e.g. \starttabulate[|l|pA{normal,hanging,hz,stretch}|] \NC align/tolerance not working \NC \input knuth \NC\NR \NC align/tolerance working \NC \input knuth \NC\NR \stoptabulate When you want a different default alignment you have to create your own tabulation environment with the \definetabulate command. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt in the cloud
Dear gang, Since I work with context at both my home and my work machines, I'm thinking of moving my context tree to dropbox and just keeping that one tree updated. Have any of you tried something like this, and are there any unforeseen issues that could arise? Or are there any other thoughts about running ConTeXt as a personal cloud application? Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setuplabeltext doesn't adjust the part label (with MkIV)
Am 30.08.2013 um 16:33 schrieb Sanjoy Mahajan san...@olin.edu: setuplabeltext doesn't seem to adjust the part label. Here's a minimal example: \setuphead[part][placehead=yes] Add bodypartlabel=part to the setup. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt in the cloud
Well, I've my one-ConTeXt-document-so-far in my ownCloud and its feeling quite cozy there :-) On 30 August 2013 22:59, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, Since I work with context at both my home and my work machines, I'm thinking of moving my context tree to dropbox and just keeping that one tree updated. Have any of you tried something like this, and are there any unforeseen issues that could arise? Or are there any other thoughts about running ConTeXt as a personal cloud application? Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 __**__** ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/** listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/**projects/contextrev/http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __**__** ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt in the cloud
What about the NSA? Alan On Sat, 31 Aug 2013 00:26:56 +0200 Material Defender materialdefender2...@gmail.com wrote: Well, I've my one-ConTeXt-document-so-far in my ownCloud and its feeling quite cozy there :-) On 30 August 2013 22:59, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, Since I work with context at both my home and my work machines, I'm thinking of moving my context tree to dropbox and just keeping that one tree updated. Have any of you tried something like this, and are there any unforeseen issues that could arise? Or are there any other thoughts about running ConTeXt as a personal cloud application? Best wishes Idris ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___