Re: [NTG-context] Metapost and MPlib
Another incompatibility between metapost and mkiv. I try to run this code but i found a error with some garbage. Please try to run the file in attach. The error coming from the curvelabel function. teste2.tex Description: TeX document ___ 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] Metapost and MPlib
Em 03/11/2009, às 6:24, Hans Hagen escreveu: batela wrote: Em 03/11/2009, às 8:43, Taco Hoekwater escreveu: batela wrote: Dear Sirs I would like to include some macros from http://melusine.eu.org/syracuse/poulecl/macros in my luatex documents. Every time i try to include a new example (from papier.mp, par example) i found this old error message:; texnum.mp Unable to make mpx file. init_numbers(btex $-$ etex, btex$$etex, btex ${\times}$10etex The mplib core (and luatex, by extension) does not have support for btex ... etex constructs, but I think there is special code in context mkiv to handle such cases? thanks, but i'm afraid that I'm not able to find the solution. Perhaps some day anybody will be able to play with syrasuse macros in luatex documents. as the whole site is a mix of french and latex and i'm not fluent in either of them ... can you give a small example? what happens if you don't load the mpnum package (or whatever it's called) In the file papiers2.mp I have deactivated input format (changed to %input format) In the modules donymodule.mp and geometriesyr16.mp I changed all the btex something etex constructs to " something ". In the modules papiers2.mp and donymodule.mp I have deactivated the init_numbers function (init_numbers changed to %init_numbers ) Now all seems to work. thanks Jorge ___ 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] Metapost and MPlib
Em 03/11/2009, às 8:43, Taco Hoekwater escreveu: batela wrote: Dear Sirs I would like to include some macros from http://melusine.eu.org/syracuse/poulecl/macros in my luatex documents. Every time i try to include a new example (from papier.mp, par example) i found this old error message:; texnum.mp Unable to make mpx file. init_numbers(btex $-$ etex, btex$$etex, btex ${\times}$10etex The mplib core (and luatex, by extension) does not have support for btex ... etex constructs, but I think there is special code in context mkiv to handle such cases? thanks, but i'm afraid that I'm not able to find the solution. Perhaps some day anybody will be able to play with syrasuse macros in luatex documents. ___ 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] Metapost and MPlib
Dear Sirs I would like to include some macros from http://melusine.eu.org/syracuse/poulecl/macros in my luatex documents. Every time i try to include a new example (from papier.mp, par example) i found this old error message:; texnum.mp Unable to make mpx file. init_numbers(btex $-$ etex, btex$$etex, btex ${\times}$10etex in the google i found a old solution for this kind of error, but for LaTeX not for mplib or LuaTeX. Is there a fresh solution for that? Syracuse provide to us a nice solutions for writing maths and physics with metapost. Thanks a lot. Jorge ___ 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] format float numbers in luatex
Dear Sirs, I'm looking a way to format float numbers. For example \ctxlua{text.print(sqrt(2))} give me 1.41421356237309504880 but i want 1.414. Is there a way to format real numbers. Note: I had tried \ctxlua{a = sqrt(a) ; aformat = string.format("0.3%f", a) ; text.print(aformat)} but that don't work because the % character thanks a lot Have a nice day jorge ___ 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] [***SPAM***] Re: last ContextMinimals - bad itemize
Anybody can help. I don't understand this behaviour 1 2 1. should be 2.1 2.2 2.3 Thanks Em 21/04/2009, às 6:09, Wolfgang Schuster escreveu: Am 21.04.2009 um 18:31 schrieb batela: Dear Sirs I found this bug in ContextMinimals last version \starttext \startitemize[n] \item first \item second \startitemize[m,repeat] \item second.1, = should be 2.1, but only appears 1. \item second.2 \stopitemize \stopitemize \stoptext I found a bug in nested items too. \starttext \startitemize \startitemize[fit] \item subitem \stopitemize \stopitemize \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Um Abraço, Jorge Magalhães ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [***SPAM***] Re: last ContextMinimals - bad itemize
Dears Sirs, anybody can share a solution for this bug. I need to prepare a document for tomorrow and it is very unpleasant include this kind of error. thanks a lot. Em 21/04/2009, às 6:09, Wolfgang Schuster escreveu: Am 21.04.2009 um 18:31 schrieb batela: Dear Sirs I found this bug in ContextMinimals last version \starttext \startitemize[n] \item first \item second \startitemize[m,repeat] \item second.1, = should be 2.1, but only appears 1. \item second.2 \stopitemize \stopitemize \stoptext I found a bug in nested items too. \starttext \startitemize \startitemize[fit] \item subitem \stopitemize \stopitemize \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Abraços, Jorge Manuel de Almeida Magalhães ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] last ContextMinimals - bad itemize
Dear Sirs I found this bug in ContextMinimals last version \starttext \startitemize[n] \item first \item second \startitemize[m,repeat] \item second.1, = should be 2.1, but only appears 1. \item second.2 \stopitemize \stopitemize \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] pst-labo a pstricks module
Dear Sirs Is there a way to include in Context documents some chemistry equipment pictures generated by the pst-labo package. http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/pst- labo/pst-labo-docEN.pdf thanks for your support Jorge ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \itemize[random] does not work
For multiple choice you can try: http://fourier.math.uoc.gr/~mk/much/example/ see: [NTG-context] create and grade multiple choice exams with MUCH an ConTeXT have a nice day Em 27/02/2009, às 10:45, Curious Learn escreveu: I was not aware of this cool feature in Context. This could be very useful in making multiple choice tests. I have one question. Is there a simple way in which one can switch between itemized lists that are random and non-random? For example, if I have 40 multiple choice questions, each of which has the following form: Question Text \startitemize[random] \startitem first item \stopitem \startitem second item \stopitem \startitem third item \stopitem \startitem fourth item \stopitem \stopitemize If I want the PDF file that has the items in the order I entered them in (i.e., not a random permutation); is it possible to do that in a way other than going and taking out the "random" from each itemize environment? Thanks. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Um Abraço, Jorge Magalhães ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] defineenumeration
Dear Sirs, I need to define a enumeration with the text label = "Remark". For that I define \defineenumeration[Remark][text=Remark]. The label for the subRemark should be "subRemark". Is there a easy way to do that? The subRemark is a son of Remark and the numeration expected is: Remark 1 subRemark 1.1 subRemark 1.2 Remark 2 subRemark 2.1 thanks Have a nice day ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] blocks in LuaTex
Thanks. another problem that I fount in this approach to make my exams is the impossibility of itemize the Question environment. It is easy to numerate the questions like "Question 1", "Question 2 " and so on, but i would like to divide some questions in some items. For example if my third question is a group of questions the numeration should be "Question 3.1", "Question 3.2" What is the best approach for that? Em 17/02/2009, às 7:03, Wolfgang Schuster escreveu: Am 17.02.2009 um 19:48 schrieb batela: You can find the old discussion in this link: http://www.mail-archive.com/ntg-context@ntg.nl/msg22333.html OMG! I have a solution for your problem but I would I you can use \beginquestion ... \endquestion instead of \startquestion ... \stopquestion. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Um Abraço, Jorge Magalhães ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] blocks in LuaTex
Fixed: \startquestion should be \beginquestion \startanswer should be \beginanswer and \stopquestion should be \endquestion \stopanswer should be \endanswer Thanks a lot. Em 17/02/2009, às 6:53, Wolfgang Schuster escreveu: Am 17.02.2009 um 19:33 schrieb batela: thanks for your reply. The original code is written by Hans and had worked perfectly (see the attach). Are you sure, this can't be because \startquestion and \startanswer are nowhere defined. It works after a few modification. 1. You don't need the \startelements ... \stopelements block at the begin of the file, this is already done in the core. 2. Use in your document \startQuestion ... \stopQuestion and \startAnswer ... \stopAnswer *or* replace \defineenumeration[Question] with \defineenumeration[question] and \defineenumeration[Answer] with \defineenumeration[answer] and move [text=Question] to the definition for the question. Replace also all \startAnswer with \startanswer, \stopAnswer with \stopanswer ... 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Abraços, Jorge Manuel de Almeida Magalhães ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] blocks in LuaTex
You can find the old discussion in this link: http://www.mail-archive.com/ntg-context@ntg.nl/msg22333.html Em 17/02/2009, às 5:57, Wolfgang Schuster escreveu: Am 17.02.2009 um 18:36 schrieb batela: Im the past I make some exams using the file in the attach. Now, I need to prepare another exam but this old file don't work with the new Context version. I had defined a block designed question bat \startquestion isn't recognised. Why? Thanks for your support. Your question has nothing to do with the block mechanism. Your example can't work because you defined the enumerations 'Question' and 'Answer' but not 'question' and 'answer'. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Abraços, Jorge Manuel de Almeida Magalhães ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] blocks in LuaTex
Dear Sir, thanks for your reply. The original code is written by Hans and had worked perfectly (see the attach). Em 17/02/2009, às 5:57, Wolfgang Schuster escreveu: Am 17.02.2009 um 18:36 schrieb batela: Im the past I make some exams using the file in the attach. Now, I need to prepare another exam but this old file don't work with the new Context version. I had defined a block designed question bat \startquestion isn't re exam_from_Hans.tex Description: TeX document cognised. Why? Thanks for your support. Your question has nothing to do with the block mechanism. Your example can't work because you defined the enumerations 'Question' and 'Answer' but not 'question' and 'answer'. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Abraços, Jorge Manuel de Almeida Magalhães ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [***SPAM***] blocks in LuaTex
Dear Sirs, Im the past I make some exams using the file in the attach. Now, I need to prepare another exam but this old file don't work with the new Context version. I had defined a block designed question bat \startquestion isn't recognised. Why? Thanks for your support. Have a nice day. Jorge Manuel 357_2007_exam.tex Description: TeX document ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] create and grade multiple choice exams with MUCH an ConTeXT
Dear Sirs, For create and grade my MCQ (multiple choice quiz) I use the MUCH command that in had found at http://fourier.math.uoc.gr/~mk/much/. this is a very useful command for create and grade quizzes. Actually my main propose is use MUCH with context (or luatext). I prepare my exams in this way: Each question = one file Question example: " Today is: . 31 December --- the true question is the first . 25 December . 13 Mars . " In the test-description I include my specifications. And them I do: much create test-description A mc-outfile.tex is created. Now I do: pdflatex exam.tex for making the pdf file with all exams. If you can help I would use ConTeXT to prepare the pdf file. The migration should be very easy. I think there is necessary to define in context several commands like: \newcommand{\mcglobalheader} \newcommand{\mcpaperheader} \newcommand{\mcpaperfooter} \newcommand{\mcquestionheader}{\noindent{\bf Question \mcquestionnumber}: } \newcommand{\mcquestionfooter}{} In the file questions (mc-output.tex). mc-output.tex \mcglobalheader \def\mcserialnumber{500} \mcpaperheader \def\mcquestionnumber{1} \mcquestionheader How many circular orderings of the numbers $0,1,\ldots,10$ are there? (Two circular orderings which differ only by a rotation are not considered different.) \\ {$A$}: $10!$ \ \ {$B$}: $3^{11}$ \ \ {$C$}: $11!$ \ \ {$D$}: $9!$ \ \ \mcquestionfooter \mcpaperfooter % another exam \def\mcserialnumber{501} \mcpaperheader \def\mcquestionnumber{1} \mcquestionheader In how many ways can we select, from a set of 20 people, a committee of 3 different persons with a chair, secretary and member? \\ {$A$}: $20\cdot19\cdot18$ \ \ {$B$}: $\frac{20!}{3!}$ \ \ {$C$}: $20^3$ \ \ {$D$}: $3^{20}$ \ \ \mcquestionfooter \mcpaperfooter %%% Thanks a lot for your support. Happy New Year to all Jorge ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] PiechartMP module and SetupPercent
Dear Sirs, I want to include in my document some nice pie charts with the piechartmp module, but i'm find some problems in set the percent symbol. The sentence SetupPercent( this, "%") don't work. Did you know a way to fix that? Thanks a lot best regards \startreusableMPgraphic{P1} input piechartmp; SetupColors((.7, .7),this, this); SetupPercent( this, "%") ; Segment( 50, "first") ; Segment( 30, "second") ; Segment( 10, "third") ; PieChart(4cm, 0.15, 60, 0, 0) ; Label.auto(0)(name)(outwards,0) ; Label(1,2,3)(percent)(inwards,0) withcolor (1,1,0); \stopreusableMPgraphic ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Place for exercises and solutions
Dear Sirs, I'm writing a chemical book and I want include some exercises in the end of each chapter. In the source file the solutions are placed after the related exercise. In the .pdf file the exercises should be located at end of each chapter, but the solutions should appear in the end of the book. Did anybody has a similar implementation? Thanks a lot Jorge Magalhães Abraços, Jorge Manuel de Almeida Magalhães ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Prepare exams with ConTeXT
\startelements dutch english germanczech italian romanian french begin: beginvan start anfangzacatek inizioinceput debut end: eindvan stop ende konec fine sfarsit fin \stopelements \defineenumeration[Answer][text=Question] \defineenumeration[Question] \defineblock[answer,question] \setupblock [answer][before={\startAnswer\resetscore},after={\savescore\stopAnswer} ] \setupblock [question][before={\startQuestion},after={\stopQuestion}] \makecounter{totalscore} \definelist[Score] [ pagenumber=no, width=5em, height=broad, textcommand=\showscores, numbercommand=\showquestionnumber, ] \def\showscores#1{\dotfill\emspace#1~points} \def\showquestionnumber#1{Question~#1} \def\score[#1]% {\incrementcounter{totalscore}{#1}% \dotfill\emspace#1~points\endgraf} \def\resetscore{\resetcounter{totalscore}} \def\savescore {\expanded{\dowritetolist{Score} {\convertednumber[Answer]}{\countervalue{totalscore}}{Question}}} \hideblocks[answer,question] \def\generateexam {\title{Exam} \useblocks[question] \title{Scores} \placelist[Score][criterium=all] \title{Criteria} \useblocks[answer]} \starttext \startquestion In a body with mass=2 kg is applied a force of 2N. Which is the body acceleration? \startanswer write F = m a \score[5] solve a = F/m \score[4] find and write correctly a = 1 m/s2 \score[1] \stopanswer \stopquestion \startquestion In a body with mass=2 kg is applied a force of 2N. Which is the body acceleration? \startanswer write F = m a \score[5] solve a = F/m \score[14] find and write correctly a = 1 m/s2 \score[10.5] \stopanswer \stopquestion \generateexam \stoptext this code generate a little error: title : - Scores (./preparaexame2.tuo) system : Score not found/processed [2.2] title : - Criteria textblocks : reading blocks from preparaexame2.tub (./preparaexame2.tub textblocks : answer loaded and typeset Runaway argument? ! Paragraph ended before \dodowritetolist was complete. \par \@@expanded ->\dowritetolist {Score} \par {1}{10}{Question} \@@tbanswerafter ->\savescore \stopAnswer \thiswasblockanswer ...lue {\??tb answer\c!after } \par \egroup \setblocklevel - l.34 \thiswasblock{answer} ? prepareexam.tex Description: TeX document ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Prepare exams with ConTeXT
Thanks a lot. Now I'm very close to the final solution. In LaTeX there are a exam package that do the summation of the individual scores and show that in the page bottom and at end of the exam in tabulate format. Perhaps ConTeXT can do the same in similar way. Em 02/06/2007, às 11:27, Aditya Mahajan escreveu: > On Sat, 2 Jun 2007, batela wrote: > >> Hello to all: >> >> I need to prepare an exam. The layout must be the following one: >> >> Questions >> page >> Scores >> page >> Answers >> >> For example: >> >> \startquestion >> In a body with mass=2 kg is applied a force of 2N. Which is the body >> acceleration? >> \startanswer >> write F = m a \score[5] >> solve a = F/m \score[4] >> find and write correctly a = 1 m/s2 \score[1] >> \stopanswer >> >> \stopquestion >> >> The result should be: >> >> Question 1: In a body with mass=2 kg is applied a force of 2N. Which >> is the >> body acceleration?. >> >> Question 2: >> >> Question 3: >> __ Page___ >> >> Scores >> >> Question 1 . 10 points >> Question 2 .. 20 points >> Question 3 .. 20 points >> >> ___Page >> Criteria >> >> Question 1 >> write F = m a >> 5 >> points >> resolve a = F/m4 >> points >> find and write correctly a = 1 m/s2 ... 1 points >> >> are there any way to make this a easy task? > > For placing questions and answers at different locations, use blocks. > I do not know what is a good way of generate list of scores. I think > that it can be done using lists, but I do not know lists well enough > to do that quickly. > > Also if you do not like the fact that lists use \begin ... \end as > delimiters, and want to use \start ... \stop here is a ugly hack :) > > > > \startelements dutch english > germanczech > italian romanian > french > > begin: beginvan start > anfangzacatek > inizioinceput > debut >end: eindvan stop > ende konec > fine sfarsit > fin > > \stopelements > > \defineenumeration[Answer][text=Question] > \defineenumeration[Question] > \defineblock[answer,question] > \setupblock >[answer][before={\startAnswer},after={\stopAnswer}] > \setupblock >[question][before={\startQuestion},after={\stopQuestion}] > > \def\score[#1]{\dotfill\emspace#1~points\endgraf} > > \hideblocks[answer,question] > > \def\generateexam >{\title{Exam} > \useblocks[question] > \title{Scores} > I do not know how to do this. You can use lists, or there may be > easier > ways > \title{Criteria} > \useblocks[answer]} > > > \starttext > \startquestion > In a body with mass=2 kg is applied a force of 2N. Which is the body > acceleration? > \startanswer > write F = m a \score[5] > solve a = F/m \score[4] > find and write correctly a = 1 m/s2 \score[1] > \stopanswer > \stopquestion > \startquestion > In a body with mass=2 kg is applied a force of 2N. Which is the body > acceleration? > \startanswer > write F = m a \score[5] > solve a = F/m \score[4] > find and write correctly a = 1 m/s2 \score[1] > \stopanswer > \stopquestion > > \generateexam > > \stoptext > > > Aditya > ___ > > 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Prepare exams with ConTeXT
Thanks for your support, but I'm afraid that need some major changes to do what I need in my exam. In fact I need to grade several items in the answer and in the end of the exam I need a table with the scores of all questions. In grading the student answer several aspects should be considerate. For example: writing the formula.. points explain the variables..points solve mathematically .points show the result with units...points In my country all the exams are make in this format: first the questions/problems/quiz.., second the table scores and third the specific grading criterions. I'm looking for a way for writing the question/problem and grade some items of the answer. Context should be able to separate the questions from the answer, build the score tables and format the specific grading criterions. thanks Have a nice day Em 02/06/2007, às 9:27, David Arnold escreveu: You can find some ideas here: http://www.tug.org/pracjourn/2006-4/mahajan/ On Jun 2, 2007, at 5:22 AM, batela wrote: Hello to all: I need to prepare an exam. The layout must be the following one: Questions page Scores page Answers For example: \startquestion In a body with mass=2 kg is applied a force of 2N. Which is the body acceleration? \startanswer write F = m a \score[5] solve a = F/m \score[4] find and write correctly a = 1 m/s2 \score[1] \stopanswer \stopquestion The result should be: Question 1: In a body with mass=2 kg is applied a force of 2N. Which is the body acceleration?. Question 2: Question 3: __ Page___ Scores Question 1 . 10 points Question 2 .. 20 points Question 3 .. 20 points ___Page Criteria Question 1 write F = m a 5 points resolve a = F/m4 points find and write correctly a = 1 m/s2 ... 1 points are there any way to make this a easy task? thanks a lot Have a nice day.__ _ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Abraços, Jorge Manuel de Almeida Magalhães ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Prepare exams with ConTeXT
Hello to all: I need to prepare an exam. The layout must be the following one: Questions page Scores page Answers For example: \startquestion In a body with mass=2 kg is applied a force of 2N. Which is the body acceleration? \startanswer write F = m a \score[5] solve a = F/m \score[4] find and write correctly a = 1 m/s2 \score[1] \stopanswer \stopquestion The result should be: Question 1: In a body with mass=2 kg is applied a force of 2N. Which is the body acceleration?. Question 2: Question 3: __ Page___ Scores Question 1 . 10 points Question 2 .. 20 points Question 3 .. 20 points ___Page Criteria Question 1 write F = m a 5 points resolve a = F/m4 points find and write correctly a = 1 m/s2 ... 1 points are there any way to make this a easy task? thanks a lot Have a nice day.___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Update context in Suse 9.3
Dear Sirs, In my laptop I have the Suse linux 9.3. This distro has tetex 3, but I intend to update conTeXt . I tried already some ways, but without success: download an install (unpack and texexec --make --all) cont-tmf in the texmf directory, using texlive.spm (but I found a rsync time out error). I need urgently to make the update, but I do not know as to make it. Suggestions are welcome. Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] blackrule
Dear Sirs, I had updated my context version and now all works fine. Thanks to all Jorge Em 24/09/2006, às 9:07, Peter Rolf escreveu: > Hans Hagen wrote: >> Peter Rolf wrote: >>> Hi Jorge, >>> >>> batela wrote: >>> >>>> Dear Sirs, >>>> >>>> I want to prepare a forma for handwriting filling. With this >>>> propose e >>>> use \blackrule command for trace some lines inside paragraphs. For >>>> example, >>>> >>>> I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... >>>> >>>> In the pdf document appears: I, *!max*___ , promise >>>> maintain a good... >>>> >>>> Are there a good reason for that? >>>> >>>> >>> Which beta version do you use (texexec --version)? If it's not the >>> latest one (17.09.) simply update to that version. This bug (typo) >>> was >>> fixed some beta versions ago. >>> >>> >> normally this !xxx kind of errors point to a missing \protect >> > But in this case I had the same error in a prior beta. And if I > remember > it right, \blackrule works in the current stable version (and older > ones). > > This is from a mail I sent you on 31.08. > > [..] > > \def\doblackrule[#1]% > {\hbox\bgroup >\getparameters[\??bj][#1]% >\setstrut >\doif\@@bjwidth\ v!max{\def\@@bjwidth {1em}}% > > I had the text "!max" in one of my gfx :) > > [..] > > The typo was corrected in the following beta version. This is the > reason > why I think Jorge uses an older beta. > > Peter > >> Hans >> >> > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > Um Abraço, Jorge Magalhães ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] blackrule
Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf document appears: I, !max___ , promise maintain a good... Are there a good reason for that? Thanks Jorge___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] appendices in letters
Dear Sirs, In my letters I tried to include some notes after the closing part. I use the m-letter module and xcorres: \startsetups[letter:appendices] My notes for my all students \stopsetups But in this way the appendice is only placed in the head of the first letter. If I try changing the closing definition in m-letter.tex module all works fine. \startsetups [letter:place:closing] \endgraf \setups[letter:closing] \endgraf %\EnglishRule My notes for my all students \stopsetups This is a bug? Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Templates and official documents
Hi Willi Tanks a lot for your suggestions, but I need some additional assistance. With the code in attach my final document have 4 pages, but I need to fit all information in only 2 pages. In each page I need to include the logo, the unit name, the school name, the table, the teacher name and the date. If the table is to large, then the table will be splited. I have an additional question for you: are there a way to amplified the interline space only in the columns 3,4 and 5 of the table? plano9medio.tex Description: TeX document Thanks alot Jorge Em 15/09/2006, às 5:00, Willi Egger escreveu: Hi Jorge, May be you want much more, but based on your information you could do something like this: setuppapersize[A4,landscape][A4,landscape] \setupcolors[state=start] \setuplayout [tospace = 2cm, backspace=2.5cm, headerdistance=3\bodyfontsize, margin=2cm, width=fit] \definelogo[Schoollogo] [top] [leftmargin] [command={\framedtext[width=\marginwidth,background=color,backgroundcol or=red]{School logo}},state=start] \setupheadertexts[\hfill{\bfa This is our School Name}\hfill] \starttext \placelogos \startalignment[middle] \cap{unit}: (changing each page) \stopalignment \blank \bTABLE \setupTABLE[column][1][width=.9\textwidth] \bTR \bTD a table with several columns and several rows \eTD \eTR \dorecurse{10}{\bTR \bTD more rows \eTD \eTR} \eTABLE \vfill \starttabulate[|l|lw(5cm)|l|] \NC Teacher name\EQ \NC Date\EQ\NR \stoptabulate \stoptext Willi batela wrote: Dear Sirs I'm a teacher in a secondary school and I need to prepare some planifications for my class. Until now Word can do the job but I'm think that ConTexT can do better. The scheme of the layout of my document is: |- -- - | | logo School Name | | | | UNIT: (changing in each page) | | | | |---| | | | a table with several coluns| | | | and several rows | | | |---| | | | | Teacher name: Date: | |_| The paper are in landscape orientation and in each page I need to represent several elements, like: logo, school name, space for the unit designation, teacher name, date and signatures. My main question is: is there any way to prepare this kind of documents in Context? Examples are welcome. Thanks a lot Have a nice day jorge ___ 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 Um Abraço, Jorge Magalhães ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Templates and official documents
Dear Sirs I'm a teacher in a secondary school and I need to prepare some planifications for my class. Until now Word can do the job but I'm think that ConTexT can do better. The scheme of the layout of my document is: |--- - | | logo School Name | | | | UNIT: (changing in each page) | | | | |---| | | | a table with several coluns| | | | and several rows | | | |---| | | | | Teacher name: Date: | |_| The paper are in landscape orientation and in each page I need to represent several elements, like: logo, school name, space for the unit designation, teacher name, date and signatures. My main question is: is there any way to prepare this kind of documents in Context? Examples are welcome. Thanks a lot Have a nice day jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] margintext style and more
Dear Sirs I have two questions for you: 1. How i can changing the margintext style? 2. In some cases I found a overlapping between to consecutive margintext notes and between a sequence of a inmargin and margintext notes. How I can fix this? Thanks in advance Em 10/09/2006, às 9:16, batela escreveu: > For changing inmargin style I make > > \setupinmargin >[right] >[style=\MarginStyle] > > Are there a similar solution for \margintext? > > thanks > > > Em 10/09/2006, às 3:48, batela escreveu: > >> Dear Sirs >> >> Is there any way to format margintext notes. I want to justify and >> apply this format to my margin notes: >> >> \def\MarginStyle{% >>\switchtobodyfont[7pt]\setupinterlinespace[line=9pt]% >>\setuphz\setupprot\emergencystretch=.5em >>\setuptolerance[{horizontal,verytolerant}]% >> } >> >> Thanks in advance >> >> Jorge >> >> ___ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context >> >> > Um Abraço, > > Jorge Magalhães > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > Abraços, Jorge Manuel de Almeida Magalhães ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] margintext style
For changing inmargin style I make \setupinmargin [right] [style=\MarginStyle] Are there a similar solution for \margintext? thanks Em 10/09/2006, às 3:48, batela escreveu: > Dear Sirs > > Is there any way to format margintext notes. I want to justify and > apply this format to my margin notes: > > \def\MarginStyle{% >\switchtobodyfont[7pt]\setupinterlinespace[line=9pt]% >\setuphz\setupprot\emergencystretch=.5em >\setuptolerance[{horizontal,verytolerant}]% > } > > Thanks in advance > > Jorge > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > Um Abraço, Jorge Magalhães ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] margintext style
Dear Sirs Is there any way to format margintext notes. I want to justify and apply this format to my margin notes: \def\MarginStyle{% \switchtobodyfont[7pt]\setupinterlinespace[line=9pt]% \setuphz\setupprot\emergencystretch=.5em \setuptolerance[{horizontal,verytolerant}]% } Thanks in advance Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Zig-Zag lines in FLOWcharts
Hi to all, Did anyone know a way to trace some zig-zag lines/arrows in FLOWcharts? My intention is to make some genograms. Thanks a lot Jam ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] control the number of items in the startitemize environment
Dear Sirs. I have a large buffer that include several items packed in a initial startitemize environment. Using this list, I want build a several small lists with five inital items in the random order. I try to do in this way, but without success :-(( % \startsetups SmallList:make \getbuffer[LargeList] \stopsetups \starttext \startbuffer[LargeList] \startitemize[1,random,packed][items=5] %%% -- this d'ont work. Why? \startitem item 1 \stopitem \startitem item 2 \stopitem \startitem item 3 \stopitem \startitem item 4 \stopitem \startitem item 5 \stopitem \startitem item 6 \stopitem \startitem item 7 \stopitem \startitem item 9 \stopitem \startitem item 9 \stopitem \startitem item 10 \stopitem \stopitemize \stopbuffer %\setuprandomize[1234] \dorecurse{3} {\setups[SmallList:make]} \stoptext % Thanks a lot Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PsTRICKS in Context
Thanks. But, in this LATEX_to_Context migration, I need to convert at hand several latex commands. For example: \begin{itemize} to \startitemize \end{itemize} to \stopitemize \begin{table}_to_\starttable and so on. this is a very hard task. Perhaps I need to make: perl -ps 's/\begin{itemize}/\startitemize/g' *.tex Em 19/06/2006, às 4:52, Hans Hagen escreveu: > batela wrote: >> To all, >> >> I am the author of a physics booklet written in LATEX+PsTRICKS. >> Now, my I intend is to make one improved version in Context, but I >> have many >> schems with PSTRICKS commands. Did you know a easy way to make the >> migration? >> > there is a module, m-pstric.tex > > > \usemodule[pstrick] > > \startPSTRICKS > \pspicture(0,0)(10,10) > \dorecurse{10}{\psline(0,0)(\recurselevel,10)} > \dorecurse{10}{\psline(0,0)(10,\recurselevel)} > \endpspicture > \stopPSTRICKS > > an option is to put the graphics in separate files and/or use checksum > trickery as used in m-r (not yet done) > > 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 > > Um Abraço, Jorge Magalhães ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] PsTRICKS in Context
To all, I am the author of a physics booklet written in LATEX+PsTRICKS. Now, my I intend is to make one improved version in Context, but I have many schems with PSTRICKS commands. Did you know a easy way to make the migration? Thanks a lot Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] making multiple choice questions exams
Thanks very much. In fact, in Context is very easy doing hard tasks. But, it is great if I can do things like: n_exam_versions=3; for (nversion=1 to n_exam_versions) { Final Math Exam Your name: ID: Yor exam version is: #nversion; \startitemize[a,random,packed] \startitem first \stopitem \startitem second \doifmode[answers]{correctchoice}\stopitem \startitem third \stopitem \startitem fourth \stopitem \stopitemize \startitemize[a,random,packed] \startitem first \stopitem \startitem second \stopitem \startitem third \stopitem \startitem fourth \doifmode[answers]{correctchoice}\stopitem \stopitemize \startitemize[a,random,packed] \startitem first \doifmode[answers]{correctchoice} \stopitem \startitem second \stopitem \startitem third \stopitem \startitem fourth \stopitem \stopitemize nversion++; } In this way I have all exam versions in a simple document. > batela wrote: >> Thanks for the reply. >> >> Currently I make my examinations with MUCH+LaTeX, but I am exploring >> ConTeXT and would like to know all its potentialities before >> dedicating it more intensive atttention. >> >> However, as a teacher I recognize the importance of good examples in >> the pedagogical actions. >> > ok, since it's a rainy day here, just for fun i implemented: Here it's a hot day: something like 37ºC. > > \startitemize[a,random,packed] > \startitem first \stopitem \startitem second \stopitem > \startitem third \stopitem \startitem fourth \stopitem > \stopitemize > > \startitemize[a,random,packed] > \startitem first \stopitem \startitem second \stopitem > \startitem third \stopitem \startitem fourth \stopitem > \stopitemize > > \startitemize[a,packed] > \startitem first \stopitem \startitem second \stopitem > \startitem third \stopitem \startitem fourth \stopitem > \stopitemize > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > Um Abraço, Jorge Magalhães ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] making multiple choice questions exams
Thanks for the reply. Currently I make my examinations with MUCH+LaTeX, but I am exploring ConTeXT and would like to know all its potentialities before dedicating it more intensive atttention. However, as a teacher I recognize the importance of good examples in the pedagogical actions. Thanks a lot. Jorge Em 27/05/2006, às 5:22, Hans Hagen escreveu: > batela wrote: >> Hi, >> >> I need to make several versions of a multiple choice questions exam. >> In >> each exam the questions have to appear in a different order. Did you >> know a easy way to do that? >> >> > i did post some example code, didn't i? > > - > 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 > > Abraços, Jorge Manuel de Almeida Magalhães ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] making multiple choice questions exams
Hi, I need to make several versions of a multiple choice questions exam. In each exam the questions have to appear in a different order. Did you know a easy way to do that? Thanks Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] notes on columnset typesetting (not only about)
Many thanks for sharing your env file. I'm trying to use that making some projects and components files. But every-time I run texexec I found a error message. For fixing that I will need to include the files vz-cont.tex and vg05-general. Did you can provide me some complete example of your work? thanks a lot Jorge Em 25/05/2006, às 9:47, Vit Zyka escreveu: > Dear ConTeXters, > > surprisingly, in this e-mail you will find any bug report! It is a > summary of my experience with typesetting of a little complex book > layout. I have finnished it during a one year long winning battle. > Thank > to everybody who helped, especially of course to Hans. > > Thank you very much! > > -- > > Next text can show, what is in present ConTeXt (or a bit older one) > possible and what is still problematic. > > Firstly, let us show some examples: > - transparency frames >ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-body1.pdf > - two columnsets + marginals + figures + balancing >ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-body2.pdf > - two columnsets + page float >ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-body3.pdf > - three columnsets + floats >ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-encyk.pdf > - content >ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-content.pdf > - index >ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-index.pdf > > Legend for comming comments: >+ pros >- cons >? dreaming about new feature >! attention >= my (perhaps suboptimal) solution >* note > > Comments: >> grid >+ very powerfull and working support >+ works gracefully with columnsets and floats >* avoiding orphans and widows was done manually by: > = enlarging/decreasing figures > = adding/removing (half)blank lines around heads >? if we want to do avoiding orphans and widows automatically, > we would probably need the glue with DISCRETE STEP of > stretch/shrink. > Then we can say e.g. >\let\bl=\baselineskip >\setuphead > [section] > [before=\vskip1\bl plus1\bl withstep1\bl] > to get vertical space before section head exactly 1 OR 2 > \baselineskip height. > Another solution with stepwise box: >\vbox to2\bl plus2\bl withstep1\bl{\vfil heading \vfil} >! the only problem was in the table of contents + columns; > from the first line there was a small shift between columns; > perhaps \splittopskip? but setting it to large enough value > does not solve it. > >> columnsets >+ very nice feature, really; > after Hans improvement seems that some floats soes not dissappered > now, but need to be carefull >+ floats insertion with specifying place > ? for top float: automatically setting \placeongrid[{broad,high}] >for bottom float \placeongrid[{broad,low}] >to be vertically align with text on the rest of column(s) >* balancing: only manually by setting: > \setupcolumnsetlines[columnset_id][columnset_page][column][line] > ! Not so painful if it not occures next: If there are many > floats near balancing place they sometimes disappear or cause ignoring > balancing - even if they can fit on the place. > ? understand that automatical balancing with floats is extremly > difficult >* page floats: big improvements during the work. > ! running marginal text continue through the page with only float > = so you have to manually insert blank vertical margin on such > place >* header & footers: Hans did a new column marking: > \getmarking[marking_id][column][last/first]. > ! There are some problems [perhaps with expansion (different > counter number and text)] if marking goes between two columnsets > (framed > chapters cross two cols in examples). > = found acceptable hack but need more ivestigation on small > examples for cleaning. > >> metapost inclusion >+ the most powerful, smooth and stable part of ConTeXt in my opinion > (see random frames, circles with transparent graphics, lines with color > shading) >= if you have many (over 1024!) shadings (-> MP specials) do > \settrue \manyMPspecials > >> index (register) >+ nice possibility to differentiate several groups (here 8 from > which > 4 have different visual marking of page number, see index example) >- sorting: until this spring there was no satisfied backround for > Czech sorting in newtexutil.rb till this spring. > = I did dirty reimplementation of old texutil.pl for doing so > * I have to have a look for new sorting now. >- coupling: page numbers with group preserving (see example) > = also in texutil.pl reimplementation > >> regime >* my great discovery was that the regime IS >\enableregime{latin2} % correct > and NOT >\enableregime{il2} % incorrect! > >> pseudo-small caps >= http://wiki.contextgarden.net/Pseu
Re: [NTG-context] making posters with ContexT
David This is a great example. Many thanks. Another question: why only two columns? Thanks a lot Jorge Em 25/05/2006, às 6:51, David Antos escreveu: > On Wed, May 24, 2006 at 10:55:58PM +0100, batela wrote: >> I am trying to making a scientifique poster in Context. I need some >> suggestions, >> foreground an example, to start. Somebody has a nice example to share? >> What is the correct scales for the fonts? > > Hi, > > I always start tasks like that by setting the paper size and switching > \showframe ;). About the font size: the poster should be readable from > 1.5 > meter distance. It's good to start from at least 24 pt. You surely > realise > that you have to be extremely concise in your texts, so you may end up > at > something like 21 pt (which is suboptimal but acceptable). > > Attached you find an example (figures not included). Feel free to > modify > it, share and enjoy. > >> Jorge > > BTW, we'd appreciate if you used your real name in the From: header. > > Have a nice towel day, > D.A. > > -- > Science is what happens when preconception meets verification. > ___ > 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] making posters with ContexT
Hi I am trying to making a scientifique poster in Context. I need some suggestions, foreground an example, to start. Somebody has a nice example to share? What is the correct scales for the fonts? Have a nice day/night Thanks to all Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context