Re: [NTG-context] pagenumber in header line.-SOLVED
I received a few solutions that didn't work for me. Thanks to those who wrote me. But a little plain TeX trickery did it nicely as follows: --- \setupheadertexts[text] [][\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil] [\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil][] - hmm, I prefear \setupheadertexts[text]% []% [{\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil}]% [{\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil}]% []% %%% or an ascii-visual code \setupheadertexts[text]% [][{\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil}]% [{\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil}][]% %%% I believe that with '{...}' things are more robusts (btw I don't see many differences from my '2 cents' ) Since a centered header with page number included is a recurring requirement perhaps this should go in the wiki. Or perhaps not :) hmm, did you seen wiki.contextgarden.net/Headers_and_Footers luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bib modules compress a lot
Aditya Mahajan wrote: Hi Taco, I have the following setup for my bibliographies \usemodule [bib] \setupbibtex[database={IEEEfull,../../collection}] \setuppublications[alternative=num] \setupcite [num] [compress=yes] When I use \cite[ref1, ref2] I get [1-2]. For only two references, shouldn't this be [1,2]? I'll put that on the todo list. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] creating environments
On Tue, 30 Jan 2007 10:05:23 -0500 (EST) Aditya Mahajan [EMAIL PROTECTED] wrote: On Tue, 30 Jan 2007, Wolfgang Schuster wrote: On Mon, 29 Jan 2007 10:15:34 -0500 (EST) Aditya Mahajan [EMAIL PROTECTED] wrote: On Mon, 29 Jan 2007, Wolfgang Schuster wrote: Hi all, I have a module with a envrionment defined in the following way: \def\startFOO#1\stopFOO{...#1...} I try currently to write a command \defineFOO[MYFOO] that expands to my already created environment. \startMYFOO#1\stopMYFOO - \startFOO#1\stopFOO I know it is possible to make this in the following way: \def\startMYFOO#1\stopMYFOO{\startFOO#1\stopFOO} but this not what I want. Something like this \def\defineFOO[#1]% {\setvalue{\c!start#1}{\startFOO} \setvalue{\c!stop#1} {\stopFOO}} Hi Aditya, this can only be used if you define your environment in this way: \def\startFOO{...} \def\stopFoo{...} I defined my environment in this way: \def\startFOO#1\stopFOO{...} This means TeX reads everything from \startFOO till \stopFOO and looks afterwards at the replacement text. I am not sure how something like that you work. I used tried the first way with saving the content into a buffer and using the buffer content. If you want to write to a buffer and later use it, there are low level macros to define your own buffer commands. Have a look at the R module to see an example. Depending on your usage, you will have to keep track of the buffer numbers on your own. Aditya Hi Aditya, I tried to use a buffer but you cannot make something like this: \starttext \placefigure {} {\startbuffer{mybuffer} Floating text from a buffer \stopbuffer \getbuffer{mybuffer}} \stoptext with content saved in a buffer. It's not a real problem but I wanted to know if it is possible to define a environment in the way I wanted. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Bib module error handling
Hi Taco, talking about the bib module ... I usually get confused when I cite a reference in the text but accidentally use the wrong citation key or have forgotten to put the record into my bib file at all. Instead of screaming question marks in the pdf output ConTeXt tacidly typesets a reference number and adds an empty entry to the list of references. Is this really desired? After all, it makes tracking down the wrong \cite command a bit of an issue ... admittedly some warnings show up in the log but definitely not on the pdf printout. Would it be possible to adopt the same error handling as for \in and friends? Best, Oliver ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] creating environments
Wolfgang Schuster wrote: On Tue, 30 Jan 2007 10:05:23 -0500 (EST) Aditya Mahajan [EMAIL PROTECTED] wrote: On Tue, 30 Jan 2007, Wolfgang Schuster wrote: On Mon, 29 Jan 2007 10:15:34 -0500 (EST) Aditya Mahajan [EMAIL PROTECTED] wrote: On Mon, 29 Jan 2007, Wolfgang Schuster wrote: Hi all, I have a module with a envrionment defined in the following way: \def\startFOO#1\stopFOO{...#1...} I try currently to write a command \defineFOO[MYFOO] that expands to my already created environment. \startMYFOO#1\stopMYFOO - \startFOO#1\stopFOO I know it is possible to make this in the following way: \def\startMYFOO#1\stopMYFOO{\startFOO#1\stopFOO} but this not what I want. Something like this \def\defineFOO[#1]% {\setvalue{\c!start#1}{\startFOO} \setvalue{\c!stop#1} {\stopFOO}} Hi Aditya, this can only be used if you define your environment in this way: \def\startFOO{...} \def\stopFoo{...} I defined my environment in this way: \def\startFOO#1\stopFOO{...} This means TeX reads everything from \startFOO till \stopFOO and looks afterwards at the replacement text. I am not sure how something like that you work. I used tried the first way with saving the content into a buffer and using the buffer content. If you want to write to a buffer and later use it, there are low level macros to define your own buffer commands. Have a look at the R module to see an example. Depending on your usage, you will have to keep track of the buffer numbers on your own. Aditya Hi Aditya, I tried to use a buffer but you cannot make something like this: \starttext \placefigure {} {\startbuffer{mybuffer} Floating text from a buffer \stopbuffer \getbuffer{mybuffer}} \stoptext with content saved in a buffer. no, there is \setbuffer but in general (at least not in context mkii) buffers are to be defined at the outer level It's not a real problem but I wanted to know if it is possible to define a environment in the way I wanted. -- - 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
Re: [NTG-context] XeTeX and OpenType LM
Mojca Miklavec wrote: Hello, Since there are serious problems with XeTeX on non-TeXLive distributions anyway: why not mess it up properly this time? The attached file seems to work OK, although kpathsea complains a bit (but these are only warnings - no serious problems; perhaps other macros could or should be adapted - I didn't dig too much into the internals): kpathsea: Illegal fontname `[lmsans12-regular]': contains '[' kpathsea: Illegal fontname `[lmsans10-bold]': contains '[' kpathsea: Illegal fontname `[lmsans12-oblique]': contains '[' kpathsea: Illegal fontname `[lmtypewriter12-regular]': contains '[' kpathsea: Illegal fontname `[lmtypewriter10-oblique]': contains '[' Can someone please take a look? I don't know how well this integrates with luaTeX. Perhaps the name can be changed from \definexetexfontsynonym to \defineotffontsynonym or something similar, so that the underlying code can then differ depending on whether it's luatex or XeTeX the one which has to access the otf fonts. If this or a modified version of it makes it into the core, I would suggest another (slightly radical) change - to redefine default encoding to uc instead of ec for XeTeX (and luatex) before loading the formats. It would be really great if the default XeTeX settings would simply work out-of-the-box, contrary to now, when the default ec-lmr is nearly useless. hm, i'm still wondering why xetex needs the extra [] ; is this somewhere documented? is it something new? why not {} having an extra series of defs for xetex is a bad idea, so i'd rather fix that 'automatically' 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
Re: [NTG-context] Portuguese characters under Mac OS X
I am having a problem processing my ConText files under Mac OS X. I am using TeXShop, and when I render the text written in Portuguese, it does not render the characters with accents. I did not have this problem under Windows, and so I would like to know from any Mac user that typesetts in languages other than english how I can solve this problem. Have you set the text encoding of TeXShop to UTF8? Best Oliver ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bib module error handling
Oliver Buerschaper wrote: Hi Taco, talking about the bib module ... I usually get confused when I cite a reference in the text but accidentally use the wrong citation key or have forgotten to put the record into my bib file at all. Instead of screaming question marks in the pdf output ConTeXt tacidly typesets a reference number and adds an empty entry to the list of references. Is this really desired? After all, it makes tracking down the wrong \cite command a bit of an issue ... admittedly some warnings show up in the log but definitely not on the pdf printout. Would it be possible to adopt the same error handling as for \in and friends? I would like an example, but I am afraid it will turn out to be unfixable within the current implementation. (there is probably a chicken-and-egg problem) Best, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Colour (color) in mathml
Hello. I'm trying to implement part of a change-tracking system using colour to highlight changed areas in a document. I use MathML for maths, and I need to be able to apply colour to individual elements in an equation. I thought I could do just simply mi color=greenx/mi but evidently not. It does look as though colour is dealt with in x-newmml.tex, but not this way. Is there a way of colouring specific elements of a MathML equation? Thanks very much. Duncan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Letters in ConTeXt
the one thing that stops my total conversion to ConTeXt is my lack of understanding of, er, context. I've studied the manual Corresponcence which presupposes far better understanding of ConTeXt than I currently possess. I imagine though that a useful short working example would help. anyone? -- Rolf Lindgren [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] wrapping URL bug
There is a problem involving \setupinteraction and \useURL with \goto that prevents hyphenation of URL links in the body text. The following works properly when the\setupinteraction line is commented out. Otherwise the URL runs in to the margin. I am using ConTeXt ver: 2007.01.23 13:32 MKII. Alan __ \definepapersize[pagesize][width=36pc,height=54pc] \setuplayout[location=middle,marking=off] \setuppapersize[pagesize][pagesize] \setuplayout[width=26pc] \setupinteraction[state=start,style=rm] % for URLs and links = \useURL [Canterbury][{http://www.canterburytalesproject.org}] [][{http://www.canterburytalesproject.org}] \starttext \noindent \tfx Canterbury Tales project.\ University of Birmingham.\ \goto{\url[Canterbury]}[url(Canterbury)]. \stoptext __ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] bad interaction between listofabbreviations and interlinespace
Consider the example below. It results in a list of synonyms that are vertically misaligned with their meanings. What can I do? Regards, Johan This is Debian, pdftex compiled from source, but otherwise standard texlive from testing. Last lines of texexec --check: TeXExec | runtime: 0.397205 TeXExec | end of analysis TeXExec | TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | TeXUtil | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD TeXExec | CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD TeXExec | TeXExec | testing interface en TeXExec | pdfTeX Version 3.141592-1.40.1 (Web2C 7.5.6) TeXExec | ConTeXt ver: 2007.01.23 13:32 MKII fmt: 2007.1.30 int: english/english TeXExec | TeXExec | testing interface en TeXExec | pdfTeX Version 3.141592-1.40.1 (Web2C 7.5.6) TeXExec | ConTeXt ver: 2007.01.23 13:32 MKII fmt: 2007.1.30 int: english/english % Example file \definesynonyms[abbreviation][abbreviations][\infull] \setupsynonyms[abbreviations][criterium=all] \setupinterlinespace[auto, big] \starttext \completelistofabbreviations \abbreviation{EEG} {Electroencephalogram} \abbreviation{ERP} {Event-Related Potentials} \EEG, \ERP \stoptext -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] creating environments
2007/1/31, Hans Hagen [EMAIL PROTECTED]: Wolfgang Schuster wrote: On Tue, 30 Jan 2007 10:05:23 -0500 (EST) Aditya Mahajan [EMAIL PROTECTED] wrote: On Tue, 30 Jan 2007, Wolfgang Schuster wrote: On Mon, 29 Jan 2007 10:15:34 -0500 (EST) Aditya Mahajan [EMAIL PROTECTED] wrote: On Mon, 29 Jan 2007, Wolfgang Schuster wrote: Hi all, I have a module with a envrionment defined in the following way: \def\startFOO#1\stopFOO{...#1...} I try currently to write a command \defineFOO[MYFOO] that expands to my already created environment. \startMYFOO#1\stopMYFOO - \startFOO#1\stopFOO I know it is possible to make this in the following way: \def\startMYFOO#1\stopMYFOO{\startFOO#1\stopFOO} but this not what I want. Something like this \def\defineFOO[#1]% {\setvalue{\c!start#1}{\startFOO} \setvalue{\c!stop#1} {\stopFOO}} Hi Aditya, this can only be used if you define your environment in this way: \def\startFOO{...} \def\stopFoo{...} I defined my environment in this way: \def\startFOO#1\stopFOO{...} This means TeX reads everything from \startFOO till \stopFOO and looks afterwards at the replacement text. I am not sure how something like that you work. I used tried the first way with saving the content into a buffer and using the buffer content. If you want to write to a buffer and later use it, there are low level macros to define your own buffer commands. Have a look at the R module to see an example. Depending on your usage, you will have to keep track of the buffer numbers on your own. Aditya Hi Aditya, I tried to use a buffer but you cannot make something like this: \starttext \placefigure {} {\startbuffer{mybuffer} Floating text from a buffer \stopbuffer \getbuffer{mybuffer}} \stoptext with content saved in a buffer. no, there is \setbuffer but in general (at least not in context mkii) buffers are to be defined at the outer level It's not a real problem but I wanted to know if it is possible to define a environment in the way I wanted. Hi Hans, I looked into core-buf but this was not what I was looking for. What I want is a command like this: \def\defineFOO[#1]% {\expandafter\def\csname start#1\endcsname##1\csname stop#1\endcsname% {\startFOO##1\stopFOO}} and after I wrote \defineFOO[MYFOO] I can use the next command \startMYFOO...\stopMYFOO Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XeTeX and OpenType LM
On 1/31/07, Hans Hagen wrote: Mojca Miklavec wrote: Hello, Since there are serious problems with XeTeX on non-TeXLive distributions anyway: why not mess it up properly this time? The attached file seems to work OK, although kpathsea complains a bit (but these are only warnings - no serious problems; perhaps other macros could or should be adapted - I didn't dig too much into the internals): kpathsea: Illegal fontname `[lmsans12-regular]': contains '[' kpathsea: Illegal fontname `[lmsans10-bold]': contains '[' kpathsea: Illegal fontname `[lmsans12-oblique]': contains '[' kpathsea: Illegal fontname `[lmtypewriter12-regular]': contains '[' kpathsea: Illegal fontname `[lmtypewriter10-oblique]': contains '[' Can someone please take a look? I don't know how well this integrates with luaTeX. Perhaps the name can be changed from \definexetexfontsynonym to \defineotffontsynonym or something similar, so that the underlying code can then differ depending on whether it's luatex or XeTeX the one which has to access the otf fonts. If this or a modified version of it makes it into the core, I would suggest another (slightly radical) change - to redefine default encoding to uc instead of ec for XeTeX (and luatex) before loading the formats. It would be really great if the default XeTeX settings would simply work out-of-the-box, contrary to now, when the default ec-lmr is nearly useless. hm, i'm still wondering why xetex needs the extra [] ; is this somewhere documented? is it something new? why not {} having an extra series of defs for xetex is a bad idea, so i'd rather fix that 'automatically' Using OpenType fonts from the TeX tree has been implemented in the second half of 2006 (I was probably among those who requested that feature). The only documentation I know of are release notes. I guess that only Jonathan can answer your question. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XeTeX and OpenType LM
On 31 Jan 2007, at 4:58 pm, Mojca Miklavec wrote: hm, i'm still wondering why xetex needs the extra [] ; is this somewhere documented? is it something new? why not {} having an extra series of defs for xetex is a bad idea, so i'd rather fix that 'automatically' Using OpenType fonts from the TeX tree has been implemented in the second half of 2006 (I was probably among those who requested that feature). Yes :) The only documentation I know of are release notes. I guess that only Jonathan can answer your question. Normally, XeTeX loads OpenType fonts by *font name* (i.e., things like \font\x=Latin Modern Roman 10pt or \font\y=Times New Roman, etc). It will find fonts in this way if they are installed in the normal desktop sense (in the c:\windows\fonts folder, or /Library/ Fonts etc under Mac OS X, or /etc/fonts or ~/.fonts under Linux, and so on). To repeat: such fonts are identified by their font names. Moreover, there is some support for font families, in that xetex looks for the appropriate optically-sized face, and can locate bold and italic variants of a base font. The square-bracket notation is quite different, in that it allows a font (anywhere on the machine) to be loaded by *file name* (not font name). The texmf tree is searched by default, but full pathnames can also be used. In this case, there is no additional font family management; xetex will simply use the font file specified. Font names and font filenames are quite different, in many cases, and it didn't seem wise to mix them up and allow the exact same form of the \font declaration to access either one. This could lead to ambiguity and confusion in the case where a filename does happen to be the same as a font name. As for why square brackets why not? :) We just needed a way to distinguish filenames from font names, and this seemed a reasonably safe choice -- unlikely to be present in a real font name, and not usually given special treatment in TeX. JK ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On 31. jan. 2007, at 5:39, luigi scarso wrote: On 1/31/07, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote: the one thing that stops my total conversion to ConTeXt is my lack of understanding of, er, context. I've studied the manual Corresponcence hmm, where is this manual ? http://www.pragma-ade.com/general/manuals/xcorresp.pdf -- Rolf Lindgren [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XeTeX and OpenType LM
Jonathan Kew wrote: Font names and font filenames are quite different, in many cases, and it didn't seem wise to mix them up and allow the exact same form of the \font declaration to access either one. This could lead to ambiguity and confusion in the case where a filename does happen to be the same as a font name. As for why square brackets why not? :) We just needed a way to distinguish filenames from font names, and this seemed a reasonably safe choice -- unlikely to be present in a real font name, and not usually given special treatment in TeX. hm, but square brackets can interfere with optional args where [] don't nest well (tex does not treat them as delimiters as it does {} using {} would probably have been safer or maybe () (round ones) since afaik these are seldom used for delimiting args; or maybe just file:somename anyhow, if it's filename stuff i can probably just feed the [] deep down in context to the xetex font command will think of something please forward to jonathan since his mailer an dmy mail server don;t like each other -) 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
Re: [NTG-context] Letters in ConTeXt
On Wed, 31 Jan 2007 11:16:21 -0700, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote: On 31. jan. 2007, at 5:39, luigi scarso wrote: On 1/31/07, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote: the one thing that stops my total conversion to ConTeXt is my lack of understanding of, er, context. I've studied the manual Corresponcence Well, this is apparently an experimental module, as the 'x' signifies and the 'todo's at the end... But the best thing to do is try the examples starting on page 12, look at chapters 3 and 4, and ignore the xml stuff. Best Idris http://www.pragma-ade.com/general/manuals/xcorresp.pdf -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On 1/31/07, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote: the one thing that stops my total conversion to ConTeXt is my lack of understanding of, er, context. I've studied the manual Corresponcence hmm, where is this manual ? luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On Wed, 31 Jan 2007 12:13:22 -0700, Idris Samawi Hamid [EMAIL PROTECTED] wrote: On 1/31/07, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote: the one thing that stops my total conversion to ConTeXt is my lack of understanding of, er, context. I've studied the manual Corresponcence Well, this is apparently an experimental module, as the 'x' signifies and the 'todo's at the end... But the best thing to do is try the examples starting on page 12, look at chapters 3 and 4, and ignore the xml stuff. Just tested: I think this module is not available, it presently calls \texmf\tex\plain\base\letter.tex which is wrong. m-letter.tex is nowhere to be found Hans, is the actual module available? Anyway, http://wiki.contextgarden.net/Letter_style may also be consulted. Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote in columns/sets?
Good evening. Since I've got no answer, I date to resent my question once more, and even to add to it. I typeset a document in two columns on the grid. I use both columns, and columnsets. I place footnotes in the lastcolumn. \setupfootnotes [rule=off, way=bypage, location=lastcolumn, conversion=set 3] \setupfootnotedefinition [location=left, width=fit, hang=1] 1) How can I set interlinespace to a smaller distance? (I don't care that the footnote lines would not be on the grid---I prefer it to a very loose interlinespace.) I guess that there is better way than to write \footnote{\setupinterlinespace[line=9pt] ...\par} Moreover, it doesn't work well since on the first line is apparently inserted a strut. 2) In columnsets, the footnotes appear in the column where they are referenced, not in the last (the second) column. How can I force it to the second column? Many thanks for your answers. M.K. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On 31. jan. 2007, at 8:13, Idris Samawi Hamid wrote: On Wed, 31 Jan 2007 11:16:21 -0700, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote: On 31. jan. 2007, at 5:39, luigi scarso wrote: On 1/31/07, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote: the one thing that stops my total conversion to ConTeXt is my lack of understanding of, er, context. I've studied the manual Corresponcence Well, this is apparently an experimental module, as the 'x' signifies and the 'todo's at the end... But the best thing to do is try the examples starting on page 12, look at chapters 3 and 4, and ignore the xml stuff. certainly, and back in the days when I was a childless and carefree student I would have done just that, or I would have offered what I had to anyone who had asked. I'm certainly not asking for anybody to do my homework, just hoping that somebody had something lying around that could be made instructive fairly quickly. -- Rolf Lindgren [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
Looking through the archives it appears that the m-letter module has been withdrawn or was never released; it's not part of theConTeXt distro. On Wed, 31 Jan 2007 13:14:32 -0700, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote: -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
The very simple example code given on Page 11 does not fail on my machine, though I don't know where to place my information. David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] problem with pdftex-1.40.1 and Gentium ligatures
When I moved from pdftex-1.30.5-2.2 (from texlive-base-bin 2005.dfsg.2-10 on debian) to pdftex-1.40.1 suddenly ligatures in gentium exhibited erratic behavior: they appeared correctly (or, more accurately, the letters appeared, they did not look like a proper ligature) on screen in xpdf and acroread but did not print (there were just empty spaces). On windows, the fi, fl, and ff combinations made blanks, just as on the printer. Reverting to pdftex-1.30.5-2.2 corrected the problem. Gentium is from ttf-gentium 1.02-2 on debian and the typescript I use is below. Perhaps my poor typesetting knowledge has lead me wrong and the lack of true ligatures is the actual problem? Regards, Johan -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell type-sil-gentium.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On 31. jan. 2007, at 9:08, David Rogers wrote: The very simple example code given on Page 11 does not fail on my machine, though I don't know where to place my information. yes, that's one of the issues I have with the documentation :) -- Rolf Lindgren [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On Wed, 31 Jan 2007 14:50:07 -0700, David Rogers [EMAIL PROTECTED] wrote: On Wed, 31 Jan 2007 22:30:27 +0100, Rolf Marvin Bøe Lindgren wrote: On 31. jan. 2007, at 9:08, David Rogers wrote: The very simple example code given on Page 11 does not fail on my machine, though I don't know where to place my information. check the log: it will probably say something about a missing module... yes, that's one of the issues I have with the documentation :) I'm starting to think that if I make an XML contacts file as described, I might be able to get it to work. I promise to post anything useful I find, unless Hans or someone explains it first. Well, m-letter is not in the distribution so... This has been noted before eg http://archive.contextgarden.net/message/20060115.191911.d354b86c.en.html Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On Wed, 31 Jan 2007 15:04:26 -0700, Idris Samawi Hamid wrote: On Wed, 31 Jan 2007 14:50:07 -0700, David Rogers [EMAIL PROTECTED] wrote: On Wed, 31 Jan 2007 22:30:27 +0100, Rolf Marvin Bøe Lindgren wrote: On 31. jan. 2007, at 9:08, David Rogers wrote: The very simple example code given on Page 11 does not fail on my machine, though I don't know where to place my information. check the log: it will probably say something about a missing module... yes, that's one of the issues I have with the documentation :) I'm starting to think that if I make an XML contacts file as described, I might be able to get it to work. I promise to post anything useful I find, unless Hans or someone explains it first. Well, m-letter is not in the distribution so... This has been noted before eg http://archive.contextgarden.net/message/20060115.191911.d354b86c.en.html Thanks for the explanation. But why does the code given in the right-hand margin of Page 11 in that little manual not fail? Where is it getting its place-holder data from? David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On Wed, 31 Jan 2007 22:30:27 +0100, Rolf Marvin Bøe Lindgren wrote: On 31. jan. 2007, at 9:08, David Rogers wrote: The very simple example code given on Page 11 does not fail on my machine, though I don't know where to place my information. yes, that's one of the issues I have with the documentation :) I'm starting to think that if I make an XML contacts file as described, I might be able to get it to work. I promise to post anything useful I find, unless Hans or someone explains it first. David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to make a natural table float.
My task requires alternating whate and gray bars for a table. I was happy to jump on the Natural Table facility. Further, I want the table to float in the classic TeX fashion. I don't know the exact code for this in Context. This doesn't work: \setupcaptions[location=high] \placetable[here][tab:comp]{Comparison of Corporate and Government Bond Portfolios} \setupTABLE[r][even][background=screen] \bTABLE ... \eTABLE - I get the message: ! Missing { inserted. etc. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On Wednesday 31 January 2007 15:34, Idris Samawi Hamid wrote: Looking through the archives it appears that the m-letter module has been withdrawn or was never released; it's not part of theConTeXt distro. On Wed, 31 Jan 2007 13:14:32 -0700, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote: Well, there is always Knuth's letterformat.tex. I still use it. :) -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to make a natural table float.
On Wed, 31 Jan 2007, John R. Culleton wrote: My task requires alternating whate and gray bars for a table. I was happy to jump on the Natural Table facility. Further, I want the table to float in the classic TeX fashion. I don't know the exact code for this in Context. This doesn't work: \setupcaptions[location=high] \placetable[here][tab:comp]{Comparison of Corporate and Government Bond Portfolios} { \setupTABLE[r][even][background=screen] \bTABLE ... \eTABLE } I get the message: ! Missing { inserted. etc. Add the braces: See above. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to make a natural table float.
On Wednesday 31 January 2007 17:16, John R. Culleton wrote: My task requires alternating whate and gray bars for a table. I was happy to jump on the Natural Table facility. Further, I want the table to float in the classic TeX fashion. I don't know the exact code for this in Context. This doesn't work: \setupcaptions[location=high] \placetable[here][tab:comp]{Comparison of Corporate and Government Bond Portfolios} \setupTABLE[r][even][background=screen] \bTABLE ... \eTABLE --- -- I get the message: ! Missing { inserted. etc. OK I solved that problem by enclosing the table in {} and now the table floats. But now I have a wierder one. The \setupcaptions[location=high] command puts the caption alongside the table instead of over it. Unfortunately the customer specifies over rather than under. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On Wed, 31 Jan 2007 15:21:23 -0700, David Rogers [EMAIL PROTECTED] wrote: On Wed, 31 Jan 2007 15:04:26 -0700, Idris Samawi Hamid wrote: check the log: it will probably say something about a missing module... Well, m-letter is not in the distribution so... This has been noted before eg http://archive.contextgarden.net/message/20060115.191911.d354b86c.en.html Thanks for the explanation. But why does the code given in the right-hand margin of Page 11 in that little manual not fail? Where is it getting its place-holder data from? It does fail but compilation does not; however ConTeXt is setup so that a missing module does not necessarily stop processing; it just complains in the log module m-letter not found. Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Letters in ConTeXt
On Wed, 31 Jan 2007, Rolf Marvin Bøe Lindgren wrote: the one thing that stops my total conversion to ConTeXt is my lack of understanding of, er, context. I've studied the manual Corresponcence which presupposes far better understanding of ConTeXt than I currently possess. I imagine though that a useful short working example would help. anyone? I do not use the m-letter module because it is too complicated for my needs. If you think about it, a letter is usually something fairly straight-forward. I have a personal p-letter.tex module which does something like setup layout setup fonts setup subject \setuppagenumbering[location={bottom,middle}] \setupwhitespace[big] \setupindenting[medium] \setupblank[big] Yes, that's it! In the letter, I manually write the typesetting commands in the letter \starttext \startlines To, Whoever ... \stoplines \blank[3*big] \startlines From, Me \stoplines \blank[3*big] Date: \currentdate \blank[3*big] \subject Whatever Dear ..., \setupindenting[yes,next] My letter in differnt paragraphs \setupindeinting[no] \blank[2*big] \startlines Your Sincerely \blank[big] Name... \stoplines \stoptext This is fairly primitive, but I only need to write a formal letter once every blue moon, and this setup works for me. If you have more frequent need, then you may want more structure in the letters. If you can finalize how you want to input your letter, creating a personal module is not that hard with ConTeXt. I think that this is one of ConTeXt's strongest points. In LaTeX, you first find a package, then you see that the package does not do 100% of what you want, then you read the code of the package and try to figure out how to make it do what you want. With ConTeXt, once you know what you want, it is fairly straight forward to write your personal module to achieve that. But of course, ConTeXt needs more modules for things like journals and conferences which have specific layout requirements. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context