Re: [NTG-context] common counter
Hallo! I'll try asking my question a little bit different: With \setupnumber[formula] [number=davidsnumber] the origin formulanumber(what is its name?) will be overwritten and replaced by davidsnumber. But with \setupnumber[figure] [number=davidsnumber] the origin figurenumbering remains untouched and davidsnumber gets an additionl counter. So there are the following questions: - Why is this different behaviour? - How can I replace the figurecounter by davidsnumber such, that captions and figuretables will use this new counter? - Are the origin formula/figure-counters compatible with counters defined by \definenumber? Or are they other animals? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] common counter
Hallo! This is a question to a somewhat older post: Date: Tue, 11 Jul 2006 09:55:28 +0200 From: Hans Hagen [EMAIL PROTECTED] Subject: Re: [NTG-context] Common counter To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed 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] % If one says additionally here: \setupnumber[figure][number=davidsnumber] \starttext \placeformula[x] \startformula x\stopformula \startwhatever x\stopwhatever \placeformula[x] \startformula y\stopformula \startwhatever y\stopwhatever % and here for example: \placefigure{image}{\framed[width=1cm,height=1cm]{image}} \stoptext then, davidsnumber is incremented by \placefigure but not used for the caption etc. How can I extend the usage of davidsnumber to captions and figuretables? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Layout and textwidth/textmargin
Well, I start from the beginning with odd/even layout setting, and the following does not work. The behaviour I see is that only the odd setting is used. What is wrong in there? \definelayout[odd] [width=middle, backspace=7cm, cutspace=5cm] \definelayout[even] [backspace=8cm, cutspace=2cm, width=middle] \setuplayout %\showlayout \starttext \dorecurse{4}{ \section{Hello} \input knuth \endgraf \subsection{Sub Hello} \input tufte \endgraf} \stoptext Hallo! This doesn't work here, too! The wiki said it should work. So, maybe there ist something broken in the meantime. In 'page-lay.tex' I found something with \setuplayout[odd][state=stop] \setuplayout[even][state=stop] so a.) Not alone \definelayout but also \setuplayout should work with odd|even. b.) Because there is something to stop here, there may be some need to start it? Btw. \definelayout[1][] doesn't work too. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] verb-c
I have a little problem with the module 'verb-c'. Backslashes in verbatim text seem to disturb colors. \usemodule[verb-c] \setupcolors[state=start] \setuptyping[C][color=blue,palet=colorpretty, numbering=line] \starttext Davor \startC #include stdio.h int main() { printf(Hallo\n); } \stopC Danach \stoptext Problem: 'Danach' is blue! Last line number has the same color as the quotet String Hallo ConTeXt\n. Delete the newline char and all is ok! How can this be fixed? puts(Hallo); nikolai You can't be serious! Escape-Sequences like \n,\r,\t,\123 or \xef are integral part of the C-language and I have this in many different places in a lot of C-source files. Is there no solution? Why does this happen? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] table questions
-- \|10 as a relacement for \VL gives me thicker vert. lines in that position only. How can I define a thicker vert. Line for the whole column? My attempts in \starttable[..\|10..] doesn't work. -- Is there an other way of changing linethickness of single vertical lines? Why is there so little space between the two rows of the table below? \starttable[|l|p(.7\textwidth)|] \HL \NC bla1 \VL Eins \type{zwei} drei. Eins zwei drei. Eins zwei drei \type{vier} oder \type{sechs}l. Das ist der Leerraum zwischen den Spalten \type{n}. \FR \NC bla2 \VL Eins, zwei \type{drei} \LR \HL \stoptable \NC \FR and \NC \LR you need to finish the column Ahh! This solves most problems with the last example, too. The wiki-example with colored rows should then be corrected. Are there reasons other, than with \BL, \CL, to use \FR, \LR without \NC? -- The two tables in the example below are differing and show, that \SetTableToWidth{0pt} doesn't reset the situation. What is the defaultvalue/resetvalue for \SetTableToWidth{}? i had to look that one up in thrd-tab -) it sets a token list \unprotect [\the\!taTableSpread] \protect This is a better definition than the orginal TaBlE one: \def\SetTableToWidth#1% {\doifelsenothing{#1}{\!taTableSpread\emptytoks}{\!taTableSpread{to #1}}} Yes, this would be a solution! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] verb-c.tex
can it be that the (here commented) \beginofpretty[\!!prettyeight]% \beginofpretty[\!!prettynine]% pickup is not needed? i guess that it has no matching stop and since colors are grouped ... Yes, works! Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] verb-c.tex
Hallo! I have a little problem with the module 'verb-c'. Backslashes in verbatim text seem to disturb colors. \usemodule[verb-c] \setupcolors[state=start] \setuptyping[C][color=blue,palet=colorpretty, numbering=line] \starttext Davor \startC #include stdio.h int main() { printf(Hallo\n); } \stopC Danach \stoptext Problem: 'Danach' is blue! Last line number has the same color as the quotet String Hallo ConTeXt\n. Delete the newline char and all is ok! How can this be fixed? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] some questions
Should'nt \arg{bla} be \type{{bla}}? I can't give you a satisfying answer for this, but Should'nt \expandafter\type\expandafter{\arg{bla}} be \type{{bla}}? gives Should?nt \dohandlemathtokenarg{bla} be {bla}? (so I guess the answer is probably no) \arg is one of the verbatim macros, like \type, \typ, \tex and is describte in 'cont-enp.pdf' on page 101. The description looks a bit incomplete: (the command encloses the text with .) (Can someone, with the right to do that, add this to the list of typos, please?) The definition of \arg is in 'core-ver.tex' and copying this in a separate file works as expected: \starttext \unprotect \def\setgroupedtype {\let\currenttypingclass\??ty \initializetype \catcode`\{=\@@begingroup \catcode`\}=\@@endgroup} \unexpanded\def\arg{% \groupedcommand{\setgroupedtype\leftargument}{\rightargument}} \protect \arg{bla} \stoptext So there must something be damaged. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] table questions
Hallo! I have studied the table examples at contextgarden and have some questions. -- \|10 as a relacement for \VL gives me thicker vert. lines in that position only. How can I define a thicker vert. Line for the whole column? My attempts in \starttable[..\|10..] doesn't work. -- Why is there so little space between the two rows of the table below? \starttable[|l|p(.7\textwidth)|] \HL \NC bla1 \VL Eins \type{zwei} drei. Eins zwei drei. Eins zwei drei \type{vier} oder \type{sechs}l. Das ist der Leerraum zwischen den Spalten \type{n}. \FR \NC bla2 \VL Eins, zwei \type{drei} \LR \HL \stoptable -- The two tables in the example below are differing and show, that \SetTableToWidth{0pt} doesn't reset the situation. What is the defaultvalue/resetvalue for \SetTableToWidth{}? \starttable[|l|l|] \VL 11 \VL 12 \VL\FR \VL 21 \VL 22 \VL\LR \stoptable \SetTableToWidth{\textwidth} % some other table stuff \SetTableToWidth{0pt} \starttable[|l|l|] \VL 11 \VL 12 \VL\FR \VL 21 \VL 22 \VL\LR \stoptable -- Look at the example below: Without any \SetTableToWidth{} this table has neither hor. Lines nor green color. The gray is there. Why? Variant 1: This is an combination of two wiki-examples. The first column of the table is about \textwidth (a little bit smaller). Why? Between the gray and the second hor. Line there is a small white area. Same between green and fourth hor. Line. Hmm! Variant 2: Hor. Line and green area are .2\textwidth as expected. But gray area is about .6\textwidth and so is the column as a whole. Why that? Variant 3: All ok now. Even the spacing between coloured areas and lines is ok. \setupcolors[state=start] \starttext %\SetTableToWidth{.2\textwidth} % Variant 2 \SetTableToWidth{\textwidth}% Variant 1 \starttable[|lp(.45\textwidth)|lp(.45\textwidth)|] \HL \BL[1]\SR %\VL Command\VL Meaning \VL\SR % Variant 3 \NC Command \NC Meaning \SR \HL \NC \tex{NC}\NC next column \FR \NC \tex{NR}\NC next row\LR \HL \CL[green]\SR \NC \tex{AR}\NC automatic row \SR \HL \stoptable \stoptext -- Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Snapping sectionhead
Date: Sun, 13 Aug 2006 23:33:38 +0200 From: Taco Hoekwater [EMAIL PROTECTED] Subject: Re: [NTG-context] Snapping sectionhead While I was reading 'In the Details' to learn more about grid- typesetting, I could not comprehend the examples with grid={broad,...}. Then in section 1.8 I read that grid=line should be a shortcut for grid={broad,high,depth}. Section 1.8 deals \exclusively with \externalfigure. Apparently the grid option for sectioning commands is handled differently. In my version of 'In the Details', dated 2002 chapter 1 deals with 'Snapping section heads' and section 1.8 is titled 'Snapping around (broad,high,depth).' Is there a newer variant of that manual? Must be, I read mine online from http://www.pragma-ade.com/general/manuals/details.pdf while I was keying in this answer. Greetings, Taco I checked this. But it is the same document! Section 1.8 deals there with 'Snapping section heads' too. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] some questions
\setupcolors[state=start] \starttext How can I use the brace-key right? \starttable[| \{ |] the wiki entry is not that clear (enclose the column in braces). \{ is a just a grouping command (which directly gives a solution for your second answer) Use [| a{\{}b{\}} |] to add braces \NC no braces \SR \stoptable What I am doing wrong here? \starttable[ o1 | C{red} |] \{C{red} Ahh! I see! So '\{' is a table command NOT a FormatKey? But why is '\{' introduced in 'thrd-tab.tex' with \NewFormatKey \{{..} as a primitive key? The wikiwriter has obviously used this source too. Should'nt \arg{bla} be \type{{bla}}? \arg{bla} gives me 'argbla'! Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Snapping sectionhead
Hallo! While I was reading 'In the Details' to learn more about grid- typesetting, I could not comprehend the examples with grid={broad,...}. Then in section 1.8 I read that grid=line should be a shortcut for grid={broad,high,depth}. Section 1.8 deals \exclusively with \externalfigure. Apparently the grid option for sectioning commands is handled differently. In my version of 'In the Details', dated 2002 chapter 1 deals with 'Snapping section heads' and section 1.8 is titled 'Snapping around (broad,high,depth).' Is there a newer variant of that manual? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] unanswered questions
Hallo! I had some questions a few days ago and there was not any reply. Date: Wed, 02 Aug 2006 10:39:47 +0200 Subject: [NTG-context] Floats Method Date: Wed, 02 Aug 2006 10:39:47 +0200 Subject: [NTG-context] Snapping sectionhead May be the questions where not clear enough. What can I do? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] some questions
Hallo! After reading some manuals, I have some questions. May be I have not understand it right. Try the following example: --- \setupcolors[state=start] \starttext How can I use the brace-key right? \starttable[| \{ |] \NC no braces \SR \stoptable What I am doing wrong here? \starttable[ o1 | C{red} |] \VL red \VL\SR \stoptable red too! Should'nt \arg{bla} be \type{{bla}}? \stoptext Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fullpage graphic
Hallo! \setuppapersize[a4][a4] \setupfloat[figure][none,fit,here,always,top,bottom,force,page] \setupcaption[figure][number=no] \setuplayout[grid=yes]% Problem doesn't exist with grid=no \starttext \input tufte \placefigure{}{\framed[offset=none]{% \externalfigure[float.png][width=\makeupwidth,height=\textheight]}} \dorecurse{10}{\par\input tufte} \stoptext Maybe I am missing something here. But \placefigure[page] seems to work fine for me. Even larger dimensions do not seem to be a problem. \input tufte \placefigure[page,none]{}{\blackrule[width=\textwidth,height=0.9\tex theight,color=green]} \input tufte \placefigure[page,none]{}{\blackrule[width=\textwidth,height=1.0\tex theight,color=green]} \input tufte \placefigure[page,none]{}{\blackrule[width=\textwidth,height=1.1\tex theight,color=green]} \dorecurse{10}{\input tufte} You are right! Your example works! The difference to the example that I have posted is, that you gave the options [page,none] explicitly with \placefigure and I have used \setupfloat[figure][page,none]. So, what is wrong with using \setupfloat? Please try my example exactly as given and you will see what I mean. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] cdwincontext
Same batch file, so yes. It would be possible to convert the batch file into a perl or ruby scripts plus a one-line batch that starts the interpreter + script, Hmm, aren't you shutting with 'Kanonen auf Spatzen'? I have running the standalone-context here on WindowsME. I have modifyed the original batch-files a bit and I had to adapt some entrys in scite, where cmd.exe is called. (btw isn't it possible to call the command interpreter via COMMSPEC? So the whole thing is not depending on the command interpreter.) Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fullpage graphic
The difference to the example that I have posted is, that you gave the options [page,none] explicitly with \placefigure and I have used \setupfloat[figure][page,none]. \setupfloat[figure][default={page,none}] may work (untested) Hans Yes, this works! Thank you for your help! But where are such things documented? I tried to access 'http://texshow.contextgarden.net/' some times the last days. I saw the left frame and the topics home and help are functioning, but all the other stuff gave me an error. Is this me alone? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] cdwincontext
If the batch file is still functionally equivalent, it would make sense to include it in the distribution. I vaguely recall that I had removed all of the 'smart' stuff from the batch file to please command.com, making it much less functional, but perhaps that is more an indication of how well I know command.com ;-) As I remember, most, if not all of the smart stuff mentioned has to do with automatic recognition of the install-directory. All this smartness is nice, if things work. In the other cases smartness is a jungle and it would be easier to check a dumb but simple list of set commands. These batch-files for example are not smart enough to recognize if they are running under the right command- prozessor and a normal windows 98 user might be very helpless what had gone wrong. But the settings in scite had to be altered too. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Floats Method
Hallo! In \setupfloats[] what exactly is the difference between textmethod and sidemethod? Compared with the gridsize, why does a 1 point window (method=2) help when typesetting on grids? Isn't 1% (method=1) much more in the most cases than 1 point? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fullpage graphic
Hallo! Can you try to create a minimal file to play with? Inventing test documents from scratch takes a lot of time, time that is often not available (like today). Having a small but full document will greatly improve your chances of getting a quick response. Cheers, Taco Sorry Taco, here comes a small testfile which hopefully resamples the situation: - \setuppapersize[a4][a4] \setupfloat[figure][none,fit,here,always,top,bottom,force,page] \setupcaption[figure][number=no] \setuplayout[grid=yes]% Problem doesn't exist with grid=no \starttext \input tufte \placefigure{}{\framed[offset=none]{% \externalfigure[float.png][width=\makeupwidth,height=\textheight]}} \dorecurse{10}{\par\input tufte} \stoptext - I can not find a solution for the following problem: I would like to place a floating, framed graphic at the next page following the \placefigure[]{}{\framed[]{...}} command. Problem: The graphicdimensions are (\makeupwidth,\textheight). Neither the options page, here, force or always help. If the graphic is a little smaller, so that at least one line of text fit on the page, than the graphic gets placed at the right page, else the graphic is placed behind the end of the chapter. Second question: How can I place a fullpage graphic (\paperheight+epsilon,\paperwidth+epsilon) as above at the next page, and how can I count, but don't display pagenumbers for such graphic pages? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] fullpage graphic
Hallo! I can not find a solution for the following problem: I would like to place a floating, framed graphic at the next page following the \placefigure[]{}{\framed[]{...}} command. Problem: The graphicdimensions are (\makeupwidth,\textheight). Neither the options page, here, force or always help. If the graphic is a little smaller, so that at least one line of text fit on the page, than the graphic gets placed at the right page, else the graphic is placed behind the end of the chapter. Second question: How can I place a fullpage graphic (\paperheight+epsilon,\paperwidth+epsilon) as above at the next page, and how can I count, but don't display pagenumbers for such graphic pages? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ntg-context grid and \textrule
You can wrap that whole stuff inside \startlinecorrection ... \stoplinecorrection The stuff inside that environment will not be grid-aligned, but the final resulting box will be. Thank you, that works. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] grid and \textrule
Hallo! I use \setuplayout[grid=yes] and a chapterdefinition which looks like: Author - Title Text text text ... The hor. Line above is a \textrule and the vert. spacing between author and line and line and Title resp. should not depent on the grid. So I can not use \placeongrid{textrule} in my chapterdefinition. I have to do this afterwards. \blank[force,3.9pt] In short: \setuplayout[grid=yes] \def\Sync{...} \showgrid \starttext Bla Blub \textrule \Sync Bla Blub \stoptext How should \Sync be defined to snap on the next gridline? My solution is \def\Sync{\blank[force,7.4pt]}% try and error isn't there a better solution? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] frames in natural tables
Hallo! In the following example with two nearly identical tables: -- \starttext \setupTABLE[r][each][frame=off] \setupTABLE[r][first][bottomframe=on,rulethickness=.05em] \bTABLE \bTR \bTD Nr.\ \eTD \bTD Eintrag \eTD \eTR \bTR \bTD 1 \eTD \bTD Bla \eTD \eTR \bTR \bTD 2 \eTD \bTD Blub \eTD \eTR \bTR \bTD 3 \eTD \bTD Boing \eTD \eTR \bTR \bTD 4 \eTD \bTD Blubber \eTD \eTR \eTABLE \blank %\setupTABLE[frame=off] \setupTABLE[r][first][bottomframe=off] \bTABLE[frame=off] \bTR \bTD Nr.\ \eTD \bTD Eintrag \eTD \eTR \bTR \bTD 1 \eTD \bTD Bla \eTD \eTR \bTR \bTD 2 \eTD \bTD Blub \eTD \eTR \bTR \bTD 3 \eTD \bTD Boing \eTD \eTR \bTR \bTD 4 \eTD \bTD Blubber \eTD \eTR \eTABLE \stoptext -- the first \setupTABLE[r][each][frame=off] switched frames off and the second \setupTABLE[r][first][bottomframe=on,rulethickness=.05em] switched the bottomframe on in the first row. but in the second table neighter \setupTABLE[frame=off] nor \setupTABLE[r][each][frame=off] switched frames off the bottomframe in row 1 survives from the first table! One has explicitly use \setupTABLE[r][first][bottomframe=off] to switch this frameline off too. So, 1. Is there no general 'frame=off'? 2. Is the first \setupTABLE not really working? It should, because the defaults are 'frame=on', aren't they? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] frontmatter
- a space-char between 'doublesided' and ']' removes the last blank page (strange). This is normal: 'doublesided' is not equal to 'doublesided '. And 'doublesided' requires certainly an even number of pages. Ohh! But a leading space has no effekt. What is the exact syntax for parameters? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] frontmatter
Hi Wolfgang, I tried your code. Indeed there is no blank page after the Schmutztitel. But a blank page before! So you need to add to the \startstandardmakeup[page=yes]. - No that doesn't help. And it shouldn't be necessary. Right? Something fuzzy is at hand with grid=yes. If you comment this line then the output is as expected. I know. I wrote that. I found 3 positions which, commenting this lines, correct the problem. But I don't understand WHY this helps and why the example doesn't works. Willi [EMAIL PROTECTED] wrote: Hallo! I am trying to use 'standardmakeup' to produce 'Schmutztitel'-page with a following blank page. I think this is what \start\stopstandardmakeup is for (in doublesided environments). But the example bellow has first a blank page and then 'Schmutztitel'. There is a fourth blank page too. - \setuppagenumbering [alternative=doublesided] \setuplayout[ footer=.04\paperheight, %1 grid=yes, %2 marking=on, location=middle, width=middle, height=middle] \starttext \startfrontmatter %3 \startstandardmakeup Schmutztitel \stopstandardmakeup \stopfrontmatter%3 bla \stoptext - My experiments: - a space-char between 'doublesided' and ']' removes the last blank page (strange). - uncommenting the lines in position 1,2,3 exclusivly results in the correct behaviour. I would like to understand what the problem is and why, for example, uncommenting frontmatter solves the problem. I thought frontmatter is the place to do title-things and so. Gr??e, Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] frontmatter
the problem has to do with an overflow of makeup in grid mode (due to already present mark reset nodes); i uploaded a beta that (hopefully) corrects the problem (thanks to taco for analyzing that it was textheight related) Hans Thank you, Hans and Taco! It works now as expected. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] frontmatter
I tried your code. Indeed there is no blank page after the Schmutztitel. So you need to add to the \startstandardmakeup[page=yes]. - Something Moreover: page=yes|right|... makes the same page break setting to both place: start...matter and stop...matter. I ussually need a different setting. For now I am solving it by \setupsectionblock [frontpart] [page=right, after={\setvalue{\??sb\@@sectionblock\c!page}{}}] the problem has to do with an overflow of makeup in grid mode (due to already present mark reset nodes); i uploaded a beta that (hopefully) corrects the problem (thanks to taco for analyzing that it was textheight related) Hans Good news the bug was fixed. What I proposed was not related to mentioned error. It just recalled me this problem of coupled 'page' option and the need to be split. Vit Can you make a little example where a split 'page' option is from use? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] frontmatter
Hallo! I am trying to use 'standardmakeup' to produce 'Schmutztitel'-page with a following blank page. I think this is what \start\stopstandardmakeup is for (in doublesided environments). But the example bellow has first a blank page and then 'Schmutztitel'. There is a fourth blank page too. - \setuppagenumbering [alternative=doublesided] \setuplayout[ footer=.04\paperheight, %1 grid=yes, %2 marking=on, location=middle, width=middle, height=middle] \starttext \startfrontmatter %3 \startstandardmakeup Schmutztitel \stopstandardmakeup \stopfrontmatter%3 bla \stoptext - My experiments: - a space-char between 'doublesided' and ']' removes the last blank page (strange). - uncommenting the lines in position 1,2,3 exclusivly results in the correct behaviour. I would like to understand what the problem is and why, for example, uncommenting frontmatter solves the problem. I thought frontmatter is the place to do title-things and so. Grüße, Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] cropmarks
Hallo! The following: --- \definepapersize[RM][width=170mm,height=240mm] \setuppapersize [RM][A4] \setuplayout[marking=on, location=middle] \starttext Bla \stoptext --- results in 163mm width and 230mm height. What is wrong here? A second observation: file 'rm.tex' with \startenvironment rm ... \stopenvironment is not found in 'test.tex' with \environment rm ... renaming to 'whatever' helps Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] cropmarks
The following: --- \definepapersize[RM][width=170mm,height=240mm] \setuppapersize [RM][A4] \setuplayout[marking=on, location=middle] \starttext Bla \stoptext --- results in 163mm width and 230mm height. What is wrong here? before or after printing? after printing. How could I measure this before printing? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mswincontext problems
Hi all (esp. windows users), Last night I tried setting up a Win98SE for use with context using mswincontext.zip (I borrowed a laptop for bachotek, so I could not install linux on it ... ). It went terribly wrong. At first I thought it was just the shoddy Win98 install on that machine, but Olivier tells me he also had problems installing the latest mswincontext, so I hope another someone who uses Windows98 can testrun the installation. I got all sort of errors from command.com (syntax error, out of environment space, command not found, permission denied), and the wiki page is definately incomplete so I could not really debug. In the end, I basically gave up. I had problems too! First of all 'command.com' is the wrong command prozessor for the used batch-files. You should have 'cmd.exe'. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with Standalone distribution
Date: Tue, 04 Apr 2006 00:26:12 +0200 From: Hans Hagen [EMAIL PROTECTED] Subject: Re: [NTG-context] ntg-context Digest, Vol 22, Issue 1 To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed [EMAIL PROTECTED] wrote: texexec.ini is not found in 'context\config' I copyed it in 'scripts\context\perl' now it is found. Is this normal? Or is this a symptome of the problem I am looking for? it depends on what system you use; the settinsg default to tetex/fptex/gwtex so in that case no ini is needed As I said, I work with the standalone distri? And I thought, the binaries are from fptex, right? And if both texexec.ini's are removed: texexec complains: warning: texexec.ini not found, try 'texexec --verbose' (the same with texexec --verbose) newtexexec.rb (which will replace texexec.pl) has no ini file but uses some heuristics to determine what environment it runs in 'texexec --verbose' tries to compile all the files in the aktuel path. but 'texmfstart texexec.pl --verbose' works ok. same with 'texexec --make --all' doesn't work but 'texmfstart texexec.pl --make --all' works! good upps? texexec (without parameters) compiles cscite.bat! Why? on windows: you need to associate the pl suffix to perl on linux you need to make texexec into a script (suffixless) on both you can best use texmfstart to launch the scripts since that's upward compatible (and in some respects this call is more clever); if needef you can create stubs with texmfstart (see manual) This works! But next Problem: pdfetex can not find pk-fonts. I have written: PKFONTS = .;$TEXMF/fonts/pk// in 'texmf.cnf' font-file lies in texmf-project/fonts/pk/ricoh/local/msl/msl50.pk what else can I do? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ntg-context Digest, Vol 22, Issue 1
ok! I have modified the batch-files. Next Problems: texexec.ini is not found in 'context\config' I copyed it in 'scripts\context\perl' now it is found. Is this normal? Or is this a symptome of the problem I am looking for? 'texexec --verbose' tries to compile all the files in the aktuel path. but 'texmfstart texexec.pl --verbose' works ok. same with 'texexec --make --all' doesn't work but 'texmfstart texexec.pl --make --all' works! formatfiles will generatet under '.\pdfetex' relativ to the aktual path. I have found TWO different files 'texmf.cnf'. One in 'tex\texmf\web2c' the other in 'tex\texmf-local\web2c'. Meight this be an Problem? Which of them is the right one? I have NOT found any file 'pdftex.cfg'. Ist this normal? In 'texmf.cnf' are some pathes written with '/' and '\' mixed. Should this be korrekted. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problems with Standalone distribution
Hallo! Some months ago I have downloaded 'mswincontext.zip'. There were a lot of Problems and I tried to solve them. I could finally compile some files. But then I get new problems and so I decided to start over and ask the list for help. First Problem (may be the mother of all the others): The Batch-Files 'cdemo.bat' and 'cscite.bat' are using for example %~s1 for the first placeholder on the commandline. My Windowssystem (ME) doesn't understand this. Are there other Batch-Files that work on older commandoprozessors to download? A second question: There exists an directory 'usr\local\context\tex\texmf\texmf' which contains fontinformation to one single fontfamily 'cb'. Is this ok: 'texmf' under 'texmf'? And why ist this there? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with Standalone distribution
First Problem (may be the mother of all the others): The Batch-Files 'cdemo.bat' and 'cscite.bat' are using for example %~s1 for the first placeholder on the commandline. My Windowssystem (ME) doesn't understand this. Are there other Batch-Files that work on older commandoprozessors to download? hm, not on my machine; you can try: @echo off usr\local\context\cscite.bat The same problems with cscite.bat. As I said, I can change these two batch-files. But I am not shure if my problems derive from this. (i dunno if there's a way to test if we run me) A second question: There exists an directory 'usr\local\context\tex\texmf\texmf' which contains fontinformation to one single fontfamily 'cb'. Is this ok: 'texmf' under 'texmf'? And why ist this there? thats a bug (i thought that i had solved it -) Should I move this subtree one level higher or delete it? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with Standalone distribution
Date: Fri, 31 Mar 2006 16:00:41 +0200 From: Hans Hagen [EMAIL PROTECTED] Subject: Re: [NTG-context] Problems with Standalone distribution To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed [EMAIL PROTECTED] wrote: First Problem (may be the mother of all the others): The Batch-Files 'cdemo.bat' and 'cscite.bat' are using for example %~s1 for the first placeholder on the commandline. My Windowssystem (ME) doesn't understand this. Are there other Batch-Files that work on older commandoprozessors to download? hm, not on my machine; you can try: @echo off usr\local\context\cscite.bat The same problems with cscite.bat. As I said, I can change these two batch-files. But I am not shure if my problems derive from this. well, test it -) ok! I have modified the batch-files. Next Problems: texexec.ini is not found in 'context\config' I copyed it in 'scripts\context\perl' now it is found. 'texexec --verbose' tries to compile all the files in the aktuel path. but 'texmfstart texexec.pl --verbose' works ok. same with 'texexec --make --all' doesn't work but 'texmfstart texexec.pl --make --all' works! formatfiles will generatet under '.\pdfetex' relativ to the aktual path. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context