Re: [NTG-context] Aligned numbered math formulas
Hello, On Thu, 14 Aug 2003, Tobias Burnus wrote: > Holger Schöner schrieb: > > 1) Some of the formulas should be numbered, some not; and at the same time > > I would like to align several of them. [...] > I use > \eqalignno{ > left & right & \formulanumber \cr > left & right & \formulanumber \cr > } Thanks, Tobias! This works for me, if I place a "\placeformula" before formulas enclosed by "$$". Funny, though, that I get an error if I instead enclose the formula with "\startformula ... \endformula": -- ! You can't use `\halign' in math mode. \eqalignno [EMAIL PROTECTED] \tabskip \centering \halign to \displaywidth {\hfil $\... l.42 } -- Thanks a lot, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
Hi, On Thu, 14 Aug 2003, Tobias Burnus wrote: > On Thu, 14 Aug 2003, Holger Schöner wrote: > > Thanks, Tobias! This works for me, if I place a "\placeformula" before > > formulas enclosed by "$$". Funny, though, that I get an error if I instead > > enclose the formula with "\startformula ... \endformula": > Here it works with \startformula \stopformula [stop not end]. All right, I used \stopformula ... And I just found out the reason, it seems: I used \setupformulae[align=right] Then, if I use $$ instead of \startformula, I get centered formulas anyway. If I remove the \setupformulae, then I can also use \startformula ... So in the moment I have resolved to using centered formulae. Best regards, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Aligned numbered math formulas
Hello, For a publication I need to typeset a lot of math formulas. To make them as comprehensible as possible, I need a few specialties, and would appreciate any suggestions you can provide: 1) Some of the formulas should be numbered, some not; and at the same time I would like to align several of them. For alignment I seem to be able to use \eqalign (or \startalign ... \stopalign from the t-amsl.tex sent around here lately). But if I place a \placeformula in front of this, the whole aligned block only gets one number; I would need a number for every line (or even better: a possibility to state, which lines should be numbered, and which not). By looking into core-mat.tex I found the commands \formulanumber and \subformulanumber which I can add after each line, if I want it to be numbered. Unfortunately they only set numbers, if the whole aligned block also is numbered (by using \placeformula), and they furthermore do not put the number beside the right margin, as is done by \placeformula, but directly where the \formulanumber appears. How can I enable the numbers even when not using \placeformula (or when using \placeformula[-]), and how can it put the numbers next to the right margin? 2) What are the keywords "alternative" and "indentnext" in \setupformulae meant for? Is there any documentation available concerning math formulae, besides "ConTeXt, the manual"? 3) I'd like to be able to set more than one line below large math operators, e.g. something like \sum_{m: \\ 1 \leq m \leq M}. Unfortunately this does not work as expected (it seems to conflict with the \startalign block). Is there another possibility? 4) Using the alignment features (\eqalign or \startalign, \stopalign) I often have the problem, that the (quite space consuming) formulas all appear on the next page, separated from its introductory text. I would like to have either also the introductory text put onto the next page (but neither \page[no] between text and formulas, nor \page[preference] before the introductory text work), or alternatively, to be able to (automatically) break the formulas inside the alignment block (whether alignment is kept up or not between pages does not matter for me). Is there a solution for either way? I am using: -- This is pdfeTeX, Version 3.14159-1.00a-pretest-2004-ojmw-2.1 (Web2C 7.3.7) [...] ConTeXt ver: 2003.2.11 fmt: 2003.4.4 int: english mes: english -- -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Aligned numbered math formulas
Hello, For a publication I need to typeset a lot of math formulas. To make them as comprehensible as possible, I need a few specialties, and would appreciate any suggestions you can provide: 1) Some of the formulas should be numbered, some not; and at the same time I would like to align several of them. For alignment I seem to be able to use \eqalign (or \startalign ... \stopalign from the t-amsl.tex sent around here lately). But if I place a \placeformula in front of this, the whole aligned block only gets one number; I would need a number for every line (or even better: a possibility to state, which lines should be numbered, and which not). By looking into core-mat.tex I found the commands \formulanumber and \subformulanumber which I can add after each line, if I want it to be numbered. Unfortunately they only set numbers, if the whole aligned block also is numbered (by using \placeformula), and they furthermore do not put the number beside the right margin, as is done by \placeformula, but directly where the \formulanumber appears. How can I enable the numbers even when not using \placeformula (or when using \placeformula[-]), and how can it put the numbers next to the right margin? 2) What are the keywords "alternative" and "indentnext" in \setupformulae meant for? Is there any documentation available concerning math formulae, besides "ConTeXt, the manual"? 3) I'd like to be able to set more than one line below large math operators, e.g. something like \sum_{m: \\ 1 \leq m \leq M}. Unfortunately this does not work as expected (it seems to conflict with the \startalign block). Is there another possibility? 4) Using the alignment features (\eqalign or \startalign, \stopalign) I often have the problem, that the (quite space consuming) formulas all appear on the next page, separated from its introductory text. I would like to have either also the introductory text put onto the next page (but neither \page[no] between text and formulas, nor \page[preference] before the introductory text work), or alternatively, to be able to (automatically) break the formulas inside the alignment block (whether alignment is kept up or not between pages does not matter for me). Is there a solution for either way? I am using: -- This is pdfeTeX, Version 3.14159-1.00a-pretest-2004-ojmw-2.1 (Web2C 7.3.7) [...] ConTeXt ver: 2003.2.11 fmt: 2003.4.4 int: english mes: english -- -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
Hi, On Thu, 14 Aug 2003, Tobias Burnus wrote: > On Thu, 14 Aug 2003, Holger Schöner wrote: > > Thanks, Tobias! This works for me, if I place a "\placeformula" before > > formulas enclosed by "$$". Funny, though, that I get an error if I instead > > enclose the formula with "\startformula ... \endformula": > Here it works with \startformula \stopformula [stop not end]. All right, I used \stopformula ... And I just found out the reason, it seems: I used \setupformulae[align=right] Then, if I use $$ instead of \startformula, I get centered formulas anyway. If I remove the \setupformulae, then I can also use \startformula ... So in the moment I have resolved to using centered formulae. Best regards, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Greek letters?
Hello Mari, On Thu, 4 Sep 2003, Patrick Gundlach wrote: > Mari Voipio <[EMAIL PROTECTED]> writes: > > Or something I should put around the command? > > You could put "math mode" ($\Omega$) around the command. But I am not > sure if this will be taken from the default font. At least it is a > workaround. I think, math mode is set up in the typescripts you use. If you use none explicitely, you probably get computer modern (roman in text, math (italic?) in math mode, so they are probably different). For the case you want the same style as in the text, and you know, which font you are using, you can use something like the following to get a table of available characters (to see, whether an Omega is available in your font, and to note its character code) and then use its character code for the macro \getglyph (first argument is the fontname, second the character code). The following gets me an omega with the default font selection (Serif is in this case cmr10): \starttext \showfont[Serif] The character: ''\getglyph{Serif}{10}'' \stoptext -- Holger F. Schoener [EMAIL PROTECTED] ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: My first week with ConTeXt
Hi Andreas, On Wed, 10 Sep 2003, Andreas Gschwendtner wrote: > Basically I want to typeset scientific documents in the form of a book > -- nothing to fancy, nothing interactive. As a starting point, I would > be very happy to have all the functionality back that I am used to with > LaTeX and KOMA-Script: > > - Placing figures and captions (see earlier questions in this thread) Unfortunately I cannot help you there (more than already done ...) > - Different examples of formatting the table of contents (e.g. > indenting sections and sub(...)sections, setting chapters boldface sans > serif...) In "ConTeXt the manual" (cont-enp.pdf) there are some examples (p. 149ff.). To achieve formatting dependent on heading level, you can setup their lists separately, eg. \setuplist[chapter][...] \setuplist[section][...]. These setups should be kept also in the combined list (content). This way you could provide different indenting space (margin and distance) for different sublevels. The key "style" is understood as well (\setuplist[chapter][style=bold]), and in case the available style do not suffice, you can provide commands: \setuplist[chapter][style={\ss\bf}] to get sans serif boldface. > - How to format the index (divided into sections preceeded by the > appropriate uppercase letter, pagenumbers aligned right, "\dotfill" > between word and pagenumber) I am wondering about that (the uppercase letter) as well. You can right-align the numbers by typing \setupregister[index][distance={5pt plus 1fill}] unfortunately this does not give you the opportunity to fill the space with dots. > - How to format the bibliography (e. g. vertical space between the > entrys) As far as I remember, the bibliography module uses descriptions to format the entries; ie. it should be possible to use \setupdescriptions[...][...] to tune spacing (eg. the keys "before", "after", "inbetween"). I remeber having read about it in the bibliography manual, there should be more in there. > - Define different page styles for the first page of each chapter (e. > g. no headers) and the following pages You use eg. \setupheadertexts[text][][section][chapter][] \setupheader[state=normal,style={\ss},leftwidth=10cm,rightwidth=10cm] for general setup, and for the chapter pages \setuphead[chapter][header=high,page=right] instead of "high" you can also use "empty" (first removes header completely, second leaves the space, although it is empty). You can also define you own special header/footer texts: \definetext[chapter][footer][pagenumber] \setuphead[chapter][header=high,footer=chapter,page=right] if you need a special footer on chapter pages. This is all in the mentioned manual (p. 80f.). But I know how hard it is to keep in memory where everything is written (or at least, what is written ...) ;-) -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bug? setupinteraction makes footnotenumber bold
Hi, On Wed, 17 Sep 2003, Steffen Wolfrum wrote: > For having the bookmarks when viewing my PDF in Acrobat I use > \setupinteraction[state=start] > > But this forces the footnotenumbers (both in the text and in the > footer) to be bold. > Is this a known bug? > > Here a minimal example: [...] %\setupinteraction[state=start] \setupinteraction[state=start,style=] \setupfootnotes[style=italic] \starttext Test Test.\footnote{Fussnotentext} \stoptext If you use the second instead of the first \setupinteraction, everything seems to be fine again ... -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Expert version: How to make empty pages by default empty?
Hi Steffen, I could not confirm the following in the ConTeXt source code (could not find the definition), but I might be remembering a similar case, where I wanted special setups for chapters and wondered why the contents were shown differently. As far as I remember, I solved it by using \setuphead not only for chapter, but also for title (and/or some others?), so this might help for your problem as well ... For some reason the example you provided does not work at all for me (there is no page break before chapters; perhaps my ConTeXt is too old), so I'm sorry, I could not test this suggestion. On Thu, 18 Sep 2003, Steffen Wolfrum wrote: > while Patrick Gundlach could provide me a solution for all chapters in one file > there still is no idea how to do it within the project structure. > > See for example the following: > The generated empty pages > after the TOC (page 2), and after the last chapter (14 and 15) > all have pagenumbers. > > Quite ugly. > > How to get rid of them? > How to make empty pages by default empty? > > Steffen > > > Minimal Example: > > \definepagebreak > [chapter] > [yes,header,right] > > \setuphead >[chapter] >[page=chapter, > ] > > \setuppagenumbering[alternative=doublesided] > \setupsectionblock[frontmatter][page=chapter] % doesn't work > > \starttext > \startfrontmatter >\completecontent > \stopfrontmatter > \startbodymatter > \chapter {test} \dorecurse{10}{\input tufte } > \chapter {test} \dorecurse{10}{\input tufte } > \chapter {test} \dorecurse{10}{\input tufte } > \stopbodymatter > > \stoptext -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Expert version: How to make empty pages by default empty?
On Fri, 19 Sep 2003, Patrick Gundlach wrote: > Holger Schöner <[EMAIL PROTECTED]> writes: > > For some reason the example you provided does not work at all for me > > (there is no page break before chapters; perhaps my ConTeXt is too > > old), so I'm sorry, I could not test this suggestion. > > how old is your ConTeXt Version? It must be more than one year old > (that is if my memory serves me right). Not quite that much: ConTeXt ver: 2003.2.11 fmt: 2003.4.4 int: english mes: english and what I was wondering about is, that the command \definepagebreak exists, and I cannot find an error message; so I do not know, where it breaks. But I did not have time to investigate, and am planning to update anyway, when the new TexLive is out ... -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problems with pagenumbering using frontpart/bodyart/...
Hi, I think that I either found a bug, or am using some commands in an invalid way. What do you think about the following code: \setuplayout[location=duplex] \setuppagenumbering[alternative=doublesided] \setuppagenumbering[way=bytext,partnumber=no] \startsectionblockenvironment[frontpart] \setuppagenumbering[conversion=romannumerals,left={--~},right={~--}] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] % \setuppagenumber[number=1] % *1 \setuppagenumber[number=0]% *2 \stopsectionblockenvironment \setupsectionblock[frontpart][page=no] % *2 \setupsectionblock[bodypart][page=no] % *2 \setupsectionblock[appendixpart][page=no] % *2 \setuphead[part][placehead=yes,alternative=middle,number=no,ownnumber=no,resetnumber=no] \definepagebreak [chapter] [yes,header,footer,right] \setuphead [part,chapter,title] [page=chapter] \starttext \startfrontmatter \title{abstract} \completecontent \page[yes,header,footer,left] % *2 \stopfrontmatter \startbodymatter \chapter{Introduction} \chapter{Algorithms} \chapter{Discussion} \stopbodymatter \startappendices \chapter{Appendices} \stopappendices \stoptext I want to exclude only unmarked lines and those have a "*1" in their comment, but not the lines marked with "*2" at the end. Unfortunately then the empty page between the contents and the chapter introduction is not (as intended) completely emtpy, but has a page number: "-iv-". To avoid this I am using (following a tip posted here some months ago, I think) the lines \setupsectionblock[frontpart][page=no] \setupsectionblock[bodypart][page=no] \setupsectionblock[appendixpart][page=no] Unfortunately, now (and this, I think, is the bug) the last chapter or title before the end of the frontmatter (in this case the table of contents) does no longer receive roman page numbers, but already the normal ones (and page numbering also starts at this chapter, not with the "Introduction"). To compensate for this I am currently using a workaround (all the lines marked with "*2" instead the one marked with "*1"), basically avoiding the described effect by forcing a page break (found using trial and error such that it works regardless of the length of the table of contents). Can I somehow get rid of these workarounds, without the otherwise empty pages being numbered? Unfortunately, pages 6, 8, 9 still are numbered, although otherwise empty (and the last two are unnecessary anyway), but I guess the problem is the same as for the pages between frontmatter and bodypart. (Probably fiddling with the backmatter and using some forced page breaks could solve those as well.) I am using: ConTeXt ver: 2003.10.5 fmt: 2003.10.19 int: english mes: english -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Changing header size on chapter-pages
Hi, I am currently trying to create a letter style. The first page of each letter (introduced by the heading-command \letter; many letters could be in one document) should have a high header (11cm) to provide space for logo, etc. (which I am planning to define using layers, inspired by details.pdf). All other pages should have a different and smaller header (1cm). Currently I am playing around with the following setup, which unfortunately does not work (without the \setupheadertexts[\setups{normalpagesetup}] all pages beginning from the first letter have long headers; with this line included, also the first page of each letter has only the short height): %% Start of a new letter; heading text is used only in an optional table of contents \definehead[letter][title] \setuphead[letter][placehead=empty,header=firstpageheader,coupling=title] %% Header for first pages \definetext[firstpageheader][header][\setups{firstpagesetup}][] \startsetups firstpagesetup \setuplayout[header=11.0cm] \stopsetups %% Header for other pages \startsetups normalpagesetup \setuplayout[header=1.0cm] \stopsetups \setupheadertexts[\setups{normalpagesetup}] The attachment gives the complete example ... Is it possible to get a layout on pages with title-headings (eg.), which is different from the usual one? -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany letter2.tex Description: TeX document
Re: [NTG-context] old charts bug
Hi, On Tue, 18 May 2004, Hans Hagen wrote: > At 19:01 17/05/2004, you wrote: > >Am Montag, 17.05.04, um 08:44 Uhr (Europe/Zurich) schrieb Hans Hagen: > >>in mp-char.mp you should patch: > >> > >> begin experiment > >> xypoints[3] := xypoints[3] shifted (dsp_x,0) ; > >> xypoints[4] := xypoints[4] shifted (dsp_x,0) ; > >> > >>^ > > > >Huh? > >Exactly the same is already in there: > > begin experiment > > xypoints[3] := xypoints[3] shifted (dsp_x,0) ; > > xypoints[4] := xypoints[4] shifted (dsp_x,0) ; > > if dsp_y>0 : > > xypoints[2] := xypoints[2] shifted (0,dsp_y) ; > > xypoints[3] := xypoints[3] shifted (0,dsp_y) ; > > elseif dsp_y<0 : > > xypoints[4] := xypoints[4] shifted (0,dsp_y) ; > > xypoints[5] := xypoints[5] shifted (0,dsp_y) ; > > fi > > end experiment > > > >And no wonder I get the same error (Bad transformation argument). > > Are you sure that that file is used? It is the same file. But the described location occurs two times, first time without the error, the second time with the error (the second time the ",0" misses, I think). I wondered a little yesterday as well ... All the best, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
ConTeXt-Wiki (Was: Re: [NTG-context] Re: pdfTeX questions)
Hallo Patrick, > Patrick (thinking about creating a ConTeXt wiki, see same page as > below, just port number 8062) > > [1] http://members.ping.de:8061/ Finde ich eine gute Idee! Was mir (neben der Hilfe auf auf der Liste für neue Probleme) am meisten bringt, und ich bisher etwas vermisse, sind Beispiel-Dokumente (genauer: deren Quellcode). Im Moment habe ich aufgrund meiner Promotion wenig Zeit, mich in das Wiki einzuarbeiten. Was ich zur Verfügung stellen könnte, ist ein include-File mit Macros zum Setzen von (hoffentlich) DIN-kompatiblen Briefen, ein typescript mit (bisher erst 4 oder 5) verschiedenen Schrift-Definitionen, die auf den Schriftdateien der Fontsite500-Distribution, sowie ergänzende TeX/LaTeX-Dateien (Link weiss ich momentan gerade nicht, kann ich aber bei Bedarf heraussuchen) aufsetzen. Schließlich benutze ich ein Environment, das ich von Projekt zu Projekt mitschleppe, und in dem ich alle möglichen mir nützlich erscheinenden Definitionen pflege (zum Teil auskommentiert, bzw. kommentiert). Alle sind natürlich noch mehr oder weniger Verbesserungsfähig. Wenn Du etwas davon auf die Seite stellen willst, bevor ich dazu komme (voraussichtlich ab August, dann ist die Promotion [natürlich in ConTeXt ;-)] hoffentlich fertig), dann kann ich sie Dir per EMail senden. Viele Grüße, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: ConTeXt-Wiki
Hello, > >> [starting ConTeXt wiki at] http://members.ping.de:8062/ > > > Finde ich eine gute Idee! Was mir (neben der Hilfe auf auf der Liste für > > neue Probleme) am meisten bringt, und ich bisher etwas vermisse, sind > > Beispiel-Dokumente (genauer: deren Quellcode). > [missing example documents and sources] > > > What kind of example documents do you think of? I guess that you know > that the magazines on the main ConTeXt site have their source code > included? I am sorry for sending the first answer in German; I accidentally sent it to the whole list. I was thinking of all kinds of day-to-day documents, like the letter template I mentioned. I could not find one according to DIN-standards, so I did some trial-and-error experiments and created my own. Arguments for a collection could be: 1) Perhaps a comprehensive and classified collection of sample documents could spare others such time consuming trials. 2) On the other hand, my template could for sure be further improved (beyond the level, I am capable of), so by putting it on a WIKI, I may get hints and feedback by others. What was your motivation for mentioning such a collection on the WIKI? Another advantage of the WIKI would be the following: I am often lost, when I try to remember, where I found a certain hint/trick/technique I am remembering. If there is a place where everyone can edit pages and include hints or links to information, then there would be no need to create more and more separate web sites about ConTeXt, because the content could be placed in the WIKI, or it could at least be linked from there. -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: ConTeXt-Wiki
Hello, On Tue, 22 Jun 2004, Patrick Gundlach wrote: > >> >> [starting ConTeXt wiki at] http://members.ping.de:8062/ > >> What kind of example documents do you think of? I guess that you know > >> that the magazines on the main ConTeXt site have their source code > >> included? > > I was thinking of all kinds of day-to-day documents, like the letter > > template I mentioned. I could not find one according to DIN-standards, so I > > did some trial-and-error experiments and created my own. > > What were the difficulties you ran into? One problem was on how to create a header with a different height for just one page for a letter template ... I needed some trickery (I don't recall it exactly, now) to make it work, and tried many things on the way. Another was the anchoring of layers, although for that I found some very helpful documentation (thanks, Hans, for the "Details"). And, as I'm no wizard in TeX, I had some problems with redefining in macros; I still do not know, whether these work for all cases now. > > Arguments for a collection could be: > > > > 1) Perhaps a comprehensive and classified collection of sample documents > >could spare others such time consuming trials. > > a) it is impossible to have a comprehensive collection of documents. > There are too many faces ConTeXt has. Okay, but it would be nice to have a starting point, instead of starting all projects from scratch. Didn't anybody write a letter for window-envelopes yet? > b) It is hard to classify the documents. Two possibilities: > > 1) layout trickery >macro hacking >itemize weirdness >crazy table fun > > or > > 2) letters >articles >poems >magazines/newspaper > > Any other? Which one makes sense? You are right. But from my perspective, the latter would make more sense. At least, I thought about such a collection being useful when I start a new project (e.g. a letter ...). Then I could look up, whether there is anything I can build on. For the trickery and stuff, there is the documentation (okay, these are not editable by everyone), and one could build a second hierarchy in the Wiki which contains simply links to helpful trickery in the other parts ... -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: listings.sty
Hello, > >>I suggested to the author of the very feature rich LaTeX-Listings package, > >>Carsten Heinz, to port this package to ConTeXt, and it seems, that he is > >>interested. But before doing it, there are some questions: > >> > >>* What do Hans and other people thing about that? > >> > what is listings.sty providing? listings.sty is one of the very few packages from LaTeX, which I am still missing in ConTeXt. I yet never extensively used the listings functionality provided by ConTeXt, but from what I remember from reading the documentation, the liststings.sty is much more flexible. It has an easy interface to define new languages (like Opal, a functional programming language used in courses at my university), allows flexible line numbering (all, every n lines), it allows customization of all fonts (line numbers, keywords, comments, ...), indenting, ... Most importantly for me: It allows easy escaping to TeX. One option is to interpret all comments as (La)TeX code. This was very useful for typesetting correctness proofs of programs using the Hoare Calculus, because it makes such listings much more readable. Then there are other niceties already provided by ConTeXt, like frames, floats, etc. Oh, one other nice thing is, that it allows to use proportional fonts (is that the right translation? I mean non-fixed width fonts), and still can keep indentations correctly, e.g. with assignments like alongvariable = 1; short = 2; I think the algorithm is described a little in the documentation. As far as I remember, it assumes a (configurable) average character width of proportional fonts and typesets every word in a box of the width corresponding to the number of characters included in the word. These were at least the features most important to me ... -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Virtual font tip
Hello, On Tue, 6 Jul 2004, Matt Gushee wrote: > Hello, all-- > > After purchasing the FontSite 500 CD, I wanted to make good use of some > of the nice text fonts it contains--in particular I wanted to create > TeX virtual fonts that would add ff, ffi, and ffl ligatures and > replace the ugly ( ;-) ) lining numerals with old-style figures. I do not know, whether this is exactly what you looked for. But I found a page by Christopher League, who created those virtual fonts (I think) for use in LaTeX. I had good success in using the stuff he put on his webpage as well for ConTeXt, and have set up a page in the Wiki, at http://members.ping.de:8062/context/show/FontSite with a description and some sample typescripts. Yours, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context