* Local footnotes @ 2011-11-10 9:47 Andreas Harder 2011-11-10 13:27 ` Wolfgang Schuster 0 siblings, 1 reply; 8+ messages in thread From: Andreas Harder @ 2011-11-10 9:47 UTC (permalink / raw) To: mailing list for ConTeXt users Hi Hans, here is the minimal example which shows the problem with local footnotes. \starttext \startlocalfootnotes \dorecurse{23}{footnote\footnote{footnote}\par} % error % \dorecurse{22}{footnote\footnote{footnote}\par} % OK \placelocalfootnotes \stoplocalfootnotes \stoptext Regards Andreas ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Local footnotes 2011-11-10 9:47 Local footnotes Andreas Harder @ 2011-11-10 13:27 ` Wolfgang Schuster 2011-11-10 15:56 ` Andreas Harder 0 siblings, 1 reply; 8+ messages in thread From: Wolfgang Schuster @ 2011-11-10 13:27 UTC (permalink / raw) To: mailing list for ConTeXt users Am 10.11.2011 um 10:47 schrieb Andreas Harder: > Hi Hans, > > here is the minimal example which shows the problem with local footnotes. > > \starttext > \startlocalfootnotes > \dorecurse{23}{footnote\footnote{footnote}\par} % error > % \dorecurse{22}{footnote\footnote{footnote}\par} % OK > \placelocalfootnotes > \stoplocalfootnotes > \stoptext \placelocalfootnotes[height=\textheight] Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Local footnotes 2011-11-10 13:27 ` Wolfgang Schuster @ 2011-11-10 15:56 ` Andreas Harder 0 siblings, 0 replies; 8+ messages in thread From: Andreas Harder @ 2011-11-10 15:56 UTC (permalink / raw) To: mailing list for ConTeXt users On 10.11.2011, at 14:27, Wolfgang Schuster wrote: > > Am 10.11.2011 um 10:47 schrieb Andreas Harder: > >> Hi Hans, >> >> here is the minimal example which shows the problem with local footnotes. >> >> \starttext >> \startlocalfootnotes >> \dorecurse{23}{footnote\footnote{footnote}\par} % error >> % \dorecurse{22}{footnote\footnote{footnote}\par} % OK >> \placelocalfootnotes >> \stoplocalfootnotes >> \stoptext > > \placelocalfootnotes[height=\textheight] Thank you Wolfgang, this solved the problem. Andreas ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* PhD Thesis in ConTeXt @ 2008-10-21 17:56 Piotr 2008-10-21 22:46 ` Marcin Borkowski 0 siblings, 1 reply; 8+ messages in thread From: Piotr @ 2008-10-21 17:56 UTC (permalink / raw) To: ntg-context Hello, I have spent some time with google in order to find an answer to the following questions. Unfortunatly, I was not satisfied with the answers, which I now hope to find here. It is my plan not to use the MS Office suite for the production of my PhD thesis (in chemistry). I have used Miktex some years ago during my studies for some project reports, and I remember beeing quite satisfied with the results. My Master thesis, on the other hand, I wrote in word.. and although I remember not having too many difficulties, there were some nasty obstacles to be overcome. Obstacles which I simply do not want to risk having repeated a second time on a much bigger scale. I this mailing list I read several reports of people who either had written their thesis in Latex or ConTeXt. There was a mention of Latex beeing designed for mathematic purposes, while ConTeXt was said to be better suited for the intergration of graphics or larger/more complex layout changes. 1) Finding the right context For now I had quite some difficulties to find that proper Latex distribution - a problem that actually led me to the existence of ConTeXt. I am wondering which latex distribution I should choose in order to work with ConTeXt? I am running Windows Vista (64-bit). Or is there a ConTeXt stand alone package that will absolutely satisfy my me in my needs? In principle, all I need is 2) The right editor What is the preferred editor for ConTeXt? for such a project? Is there any loss in functionality when using Texniccenter with ConTeXt than with MikTex instead? 3) I have seen some thesis templates/examples in this mailinglist. Can anyone point me to additional sources regarding the creation of a PhD Thesis with ConTeXt? What is the advantage over Latex, what are the disadvantages? Is there a win-win distribution somewhere on the table? 4) Has anyone used a typesetting suite like ContTeXt with CVS? 5) Is the ConTeXt reference system compatible with Endnote? Is there any point to have latex installed, when context can do the trick? Or lets ask the devils advocate the other way around: What is the point of installing context, when latex could do the trick? Apart that I have to re-learn latex anyway.. what is better with Context? Regards, Piotr Jakubowicz ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: PhD Thesis in ConTeXt 2008-10-21 17:56 PhD Thesis in ConTeXt Piotr @ 2008-10-21 22:46 ` Marcin Borkowski 2008-10-22 5:31 ` emacs (was: Re: PhD Thesis in ConTeXt) Peter Münster 0 siblings, 1 reply; 8+ messages in thread From: Marcin Borkowski @ 2008-10-21 22:46 UTC (permalink / raw) To: mailing list for ConTeXt users Dnia Tue, Oct 21, 2008 at 07:56:27PM +0200, Piotr napisał(a): > Hello, > > I have spent some time with google in order to find an answer to the > following questions. Unfortunatly, I was not satisfied with the > answers, which I now hope to find here. > > It is my plan not to use the MS Office suite for the production of my > PhD thesis (in chemistry). I have used Miktex some years ago during my > studies for some project reports, and I remember beeing quite > satisfied with the results. My Master thesis, on the other hand, I > wrote in word.. and although I remember not having too many > difficulties, there were some nasty obstacles to be overcome. > Obstacles which I simply do not want to risk having repeated a second > time on a much bigger scale. > I this mailing list I read several reports of people who either had > written their thesis in Latex or ConTeXt. There was a mention of Latex > beeing designed for mathematic purposes, while ConTeXt was said to be > better suited for the intergration of graphics or larger/more complex > layout changes. I'm also rather a ConTeXt newbie (and I daresay that I am more of an expert as far as plain TeX and LaTeX go), but I'll butt in with my $3*10^{-2};). I guess I have some right to say something here, too, since I was first a long-time plain TeX user (about 6 years' experience), then a LaTeX user (another 6 years or so) and now I've been trying hard to use ConTeXt for some months. > 1) Finding the right context > For now I had quite some difficulties to find that proper Latex > distribution - a problem that actually led me to the existence of > ConTeXt. I am wondering which latex distribution I should choose in > order to work with ConTeXt? I am running Windows Vista (64-bit). Or is > there a ConTeXt stand alone package that will absolutely satisfy my me > in my needs? In principle, all I need is Well, *the* TeX distribution is texlive (AFAIK, it works under unices, windows & mac). MikTeX is a popular alternative for windows; it should also contain ConTeXt, although not necessarily the state-of-the-art one. Nowadays texlive has an automatic package update (much like MikTeX). And if you want to use the latest-and-greatest ConTeXt, the so-called "minimals" are for you. (On a day to day basis, I use ConTeXt MkII which came with texlive, and it's enough for me; I don't use all these fancy things like xml, opentype fonts etc. OTOH, I have some newer version, too, just in case I need it some day.) > 2) The right editor > What is the preferred editor for ConTeXt? for such a project? Is there > any loss in functionality when using Texniccenter with ConTeXt than > with MikTex instead? Well, my heart is breaking when I type this, but my beloved emacs;) has rather poor ConTeXt support... I use Emacs 22 with AUCTeX 11.84. Well, although it *works*, it is by no means convenient - at least not that convenient as an emacs should be;). Hans uses SciTE, which should therefore be a good answer. > 3) I have seen some thesis templates/examples in this mailinglist. Can > anyone point me to additional sources regarding the creation of a PhD > Thesis with ConTeXt? What is the advantage over Latex, what are the > disadvantages? Is there a win-win distribution somewhere on the table? Well, recently I'm starting to prefer ConTeXt over LaTeX very much. The are quite a few reasons. (I blogged about some of them some time ago; you may find this post here: http://mbork.pl/2008-08-26_Dlaczego_nie_lubię_LaTeXa; notice it's in Polish, so of no use to most people on this list;). I plan to translate this into English, but this not very high on my priority list...) To sum it up (especially for non-Polish people here;) - I assume that my answer *might* be of interest not only to the author of this thread;)), the problems are as follows: while LaTeX is very nice when you write a scientific paper, it's not that nice when you write a test for students or a letter to Aunt Henrietta;). Another thing is an always possible package clash, which is highly improbable in a monolithic system like ConTeXt. And yet another is that many, many things in LaTeX have a somehow "hacky" feeling about them, and in ConTeXt they are much more natural (take the enumerate/enumitem packages, for instance, or text floating around graphics, or multicolumn typestting...). And last but not least - in LaTeX, writing content is easy, changing the way things look is difficult (I know, this is an oversimplification and need not always be the case, but this is my general feeling); in ConTeXt, both are easy. There are some caveats, too. More about them in a moment. > 4) Has anyone used a typesetting suite like ContTeXt with CVS? As it was pointed out, you write just plain text files, so it's not a problem (and I would consider it highly recommended!). Personally, I use (another) ancient system (RCS); since I write my documencts mainly by myself, it suffices for me. > 5) Is the ConTeXt reference system compatible with Endnote? That I have no idea of - but this question was (at least partially) answered. I have no experience (yet) with bibliographies in ConTeXt; in LaTeX, I strongly recommend the amsrefs package over BibTeX, which I dislike very much. But this is off-topic a bit here;) and I include it only in case you choose LaTeX. > Is there any point to have latex installed, when context can do the > trick? Or lets ask the devils advocate the other way around: What is > the point of installing context, when latex could do the trick? Apart > that I have to re-learn latex anyway.. what is better with Context? For me, there *is* a point in installing LaTeX: most mathematical journals accept LaTeX files and not ConTeXt ones. I don't know what it is like with chemistry. OTOH, in case of simple documents (here "simple" means not only "simple" in the usual meaning, but also: "not messing with the presentation, but containing only content, and leaving the look to the class authors"), automatic conversion in either way should be rather easy. Another disadvantage of ConTeXt is much smaller userbase; this might be a problem when something does not work; OTOH, the ConTeXt userbase is so active and helpful, that this should not be a serious problem... (I'm not saying that LaTeX userbase is worse, but being much, much bigger seems not to translate into being much, much more active/helpful - the level of activity and "helpfulness" is similar. Well, in fact it is difficult to imagine that the userbase of some tool could actually be *more* helpful and active;).) Yet another thing is that ConTeXt lacks good documentation - we all know that 24h is 24h also for Hans, so no-one blames him for that, and there is the great wiki - but sometimes it's a bit frustrating (at least for me). Don't expect that you will be easily able to learn everything in ConTeXt by yourself; expect to be a frequent visitor of this mailing list and the wiki. If this is ok for you, no problem. Also, be prepared for a situation when something does not work and you have no idea why. (Well, this may happen with LaTeX, too, not to mention M$ Office;).) OTOH, LaTeX documentation (I mean here documentation of different packages) has a very, very wide spectrum - from the excellent docs for pgf and beamer to the only thing being available being one page example and some obscure source code... I hope that fanatic ConTeXters won't kill me for what I've written above, but in case they get angry let me stress now some other advantages of ConTeXt. * many more things are available "out of the box" - and they usually Just Work (TM). (Well, not always - maybe some things work better in LaTeX - but still, you can always ask here, and if your question is well-defined, most probably sooner or later some wizard will help you.) * the layout design is way more user-friendly - and if you are both the author and designer, this is important. * it's much easier to do graphics, linked pdfs or colors in ConTeXt than in LaTeX; it is much more modern. ConTeXt is also well-suited for preparing presentations, although now that we have the beamer LaTeX class, doing it in LaTeX is also a very pleasant experience. Summing it up: use ConTeXt. It will be frustrating from time to time, but rewarding and fascinating most of the time. The learning curve has similar slope as for LaTeX (which will BTW also give you your share of frustration), and you will get to know all these wonderful people on this list:). (Not that the LaTeX people are worse!) And if you choose ConTeXt, it will be not only you who will benefit, but also the society: the more people use ConTeXt, the better it may become (I mean especially documentation and wiki). > Regards, > > Piotr Jakubowicz Greets -- Marcin Borkowski (http://mbork.pl) This program is written in Perl. While stronger people find reading Perl code character-building, it should not be shown to people in their formative years. The author will not accept any responsibility for any moral grief caused. (The McKornik Jr. Public License) ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* emacs (was: Re: PhD Thesis in ConTeXt) 2008-10-21 22:46 ` Marcin Borkowski @ 2008-10-22 5:31 ` Peter Münster 2008-10-22 6:18 ` Marcin Borkowski 0 siblings, 1 reply; 8+ messages in thread From: Peter Münster @ 2008-10-22 5:31 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Oct 22 2008, Marcin Borkowski wrote: > Well, my heart is breaking when I type this, but my beloved emacs;) has > rather poor ConTeXt support... I use Emacs 22 with AUCTeX 11.84. Well, > although it *works*, it is by no means convenient - at least not that > convenient as an emacs should be;). Hello Marcin, What are the problems with emacs? Cheers, Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: emacs (was: Re: PhD Thesis in ConTeXt) 2008-10-22 5:31 ` emacs (was: Re: PhD Thesis in ConTeXt) Peter Münster @ 2008-10-22 6:18 ` Marcin Borkowski 2008-10-23 21:08 ` emacs Peter Münster 0 siblings, 1 reply; 8+ messages in thread From: Marcin Borkowski @ 2008-10-22 6:18 UTC (permalink / raw) To: mailing list for ConTeXt users Dnia Wed, Oct 22, 2008 at 07:31:32AM +0200, Peter Münster napisał(a): > On Wed, Oct 22 2008, Marcin Borkowski wrote: > > > Well, my heart is breaking when I type this, but my beloved emacs;) has > > rather poor ConTeXt support... I use Emacs 22 with AUCTeX 11.84. Well, > > although it *works*, it is by no means convenient - at least not that > > convenient as an emacs should be;). > > Hello Marcin, > > What are the problems with emacs? Here is the (unordered) list of what I remember at the moment. * It almost never knows when to launch "View"; it almost always offers me to "ConTeXt" the file. * (This is probably related to the previous one.) When finished compilation, it says "ConTeXt: problems after {1} page." or something like this. * When finding files, it offers me to find not only the .tex file, but also all the .tui, .tuo stuff etc. by default, which is rather inconvenient. * It has no idea about most of ConTeXt commands, e.g., it tries to insert {} after ConTeXt commands put by C-c C-m. * Unlike when editing LaTeX files, it does not insert an \item when doing C-c C-e itemize. I use itemizations a lot and this is a bit annoying, especially that I got used to its behaior when doing LaTeX. Also, having C-c C-j asking about the (optional) label all the time is also tiring, I would prefer to be asked for it only with C-u C-c C-j. * Only recently I discovered the --arrange parameter for texexec, and the fact that AUCTeX does not know about it. * By default, being in dvi or pdf mode doesn't matter: you always end up with a pdf file. This is fine when you have a fast computer, but on low-end, older ones (like mine;)) xdvi is *a lot* faster than xpdf. I use the emacs & AUCTeX shipped with ubuntu 8.04. It seems that emacs comes preconfigured in this system in a rather stupid way, e.g., transient-mark-mode is on by default, which is not what I was used to. A skim through the initialization files shows, however, that the ubuntu people messed with almost everything but ConTeXt support, so this seems to be a general AUCTeX issue. I know that these are not *serious* problems; but the UX is poor with them... I plan to learn emacs lisp a bit in my spare time (though I almost forgot what "spare time" means;P), but I certainly won't do any serious hacking there. > Cheers, Peter > > -- > http://pmrb.free.fr/contact/ Greets -- Marcin Borkowski (http://mbork.pl) - Is it a Perl program or a Perl script? - Well, a script is what you give the actors. A program is what you give the audience. (Larry Wall) ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: emacs 2008-10-22 6:18 ` Marcin Borkowski @ 2008-10-23 21:08 ` Peter Münster 2008-10-23 22:46 ` emacs Marcin Borkowski 0 siblings, 1 reply; 8+ messages in thread From: Peter Münster @ 2008-10-23 21:08 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Oct 22 2008, Marcin Borkowski wrote: > > What are the problems with emacs? > > Here is the (unordered) list of what I remember at the moment. > > * It almost never knows when to launch "View"; it almost always offers > me to "ConTeXt" the file. Hello Marcin, Right, this is a bug. I could make a bug report for that issue. I haven't done this before, because I don't really need this feature: - I open a ConTeXt file - then I begin with the View command to open an xpdf window - then I only need ConTeXt commands, that refresh automatically the xpdf window (C-c C-c return) Customization code for TeX-command-list: ("ConTeXt" "context --once --nonstopmode %t; xpdfcheck \"%s\" && xpdf -remote \"%s\" -reload" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "context --nonstopmode %t; xpdfcheck \"%s\" && xpdf -remote \"%s\" -reload" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") This is xpdfcheck.c : #include <stdio.h> #include <X11/Xlib.h> int main(int argc, char *argv[]) { Display *display; Atom remoteAtom; char remoteName[256]; if(argc != 2){ fprintf(stderr, "Usage: %s <remote-name>\n", argv[0]); return 1; } snprintf(remoteName, sizeof(remoteName), "xpdf_%s", argv[1]); if(!(display = XOpenDisplay(NULL))) return 1; remoteAtom = XInternAtom(display, remoteName, False); return !XGetSelectionOwner(display, remoteAtom); } > * (This is probably related to the previous one.) When finished > compilation, it says "ConTeXt: problems after {1} page." or something > like this. Indeed, this should be mentioned in the bug report. > * When finding files, it offers me to find not only the .tex file, but > also all the .tui, .tuo stuff etc. by default, which is rather > inconvenient. (setq completion-ignored-extensions (append completion-ignored-extensions '(".tui" ".tuo"))) > * It has no idea about most of ConTeXt commands, e.g., it tries to > insert {} after ConTeXt commands put by C-c C-m. Don't know about this one, I just type the command (often with the help of "dabbrev-expand"). > * Unlike when editing LaTeX files, it does not insert an \item when > doing C-c C-e itemize. I use itemizations a lot and this is a bit > annoying, especially that I got used to its behaior when doing LaTeX. > Also, having C-c C-j asking about the (optional) label all the time is > also tiring, I would prefer to be asked for it only with C-u C-c C-j. This is also annoying to me. I'll try to solve this, should no be too complicated I think (only problem I have, is no spare time, just like you...). > * By default, being in dvi or pdf mode doesn't matter: you always end up > with a pdf file. This is fine when you have a fast computer, but on > low-end, older ones (like mine;)) xdvi is *a lot* faster than xpdf. Start xpdf just once, then use only "xpdf -reload". Besides, there are more and more issues with dvi, since it's no more supported by ConTeXt (clipping of figures, protrusion with TTF and perhaps a lot more). So I consider dvi as obsolete. Cheers, Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: emacs 2008-10-23 21:08 ` emacs Peter Münster @ 2008-10-23 22:46 ` Marcin Borkowski 2009-02-05 15:06 ` emacs Peter Münster 0 siblings, 1 reply; 8+ messages in thread From: Marcin Borkowski @ 2008-10-23 22:46 UTC (permalink / raw) To: mailing list for ConTeXt users Dnia Thu, Oct 23, 2008 at 11:08:20PM +0200, Peter Münster napisał(a): > On Wed, Oct 22 2008, Marcin Borkowski wrote: > > > > What are the problems with emacs? > > > > Here is the (unordered) list of what I remember at the moment. > > > > * It almost never knows when to launch "View"; it almost always offers > > me to "ConTeXt" the file. > > Hello Marcin, > > Right, this is a bug. I could make a bug report for that issue. > I haven't done this before, because I don't really need this feature: > - I open a ConTeXt file > - then I begin with the View command to open an xpdf window > - then I only need ConTeXt commands, that refresh automatically the xpdf > window (C-c C-c return) The same I do, but if I work on a few files simultaneously, or just want to jump into a new file (to check something or so) the current behavior is a bit inconvenient. > > Customization code for TeX-command-list: > ("ConTeXt" "context --once --nonstopmode %t; xpdfcheck \"%s\" && > xpdf -remote \"%s\" -reload" TeX-run-TeX nil (context-mode) :help > "Run ConTeXt once") ("ConTeXt Full" "context --nonstopmode %t; > xpdfcheck \"%s\" && xpdf -remote \"%s\" -reload" TeX-run-TeX nil > (context-mode) :help "Run ConTeXt until completion") > > This is xpdfcheck.c : > > #include <stdio.h> > #include <X11/Xlib.h> > int main(int argc, char *argv[]) > { > Display *display; > Atom remoteAtom; > char remoteName[256]; > if(argc != 2){ > fprintf(stderr, "Usage: %s <remote-name>\n", argv[0]); > return 1; > } > snprintf(remoteName, sizeof(remoteName), "xpdf_%s", argv[1]); > if(!(display = XOpenDisplay(NULL))) > return 1; > remoteAtom = XInternAtom(display, remoteName, False); > return !XGetSelectionOwner(display, remoteAtom); > } Wow, thanks! I'll try it (but not today;))! > > * (This is probably related to the previous one.) When finished > > compilation, it says "ConTeXt: problems after {1} page." or something > > like this. > > Indeed, this should be mentioned in the bug report. > > > > * When finding files, it offers me to find not only the .tex file, but > > also all the .tui, .tuo stuff etc. by default, which is rather > > inconvenient. > > (setq completion-ignored-extensions > (append completion-ignored-extensions '(".tui" ".tuo"))) Thanks! I'll have it added together with .aux;). Edit: it was there already. Emacs, I'm scared of you. > > * It has no idea about most of ConTeXt commands, e.g., it tries to > > insert {} after ConTeXt commands put by C-c C-m. > > Don't know about this one, I just type the command (often with the help of > "dabbrev-expand"). Well, in case of LaTeX-mode, it's very useful, since it knows about the usage of many standard commands and asks for the arguments. > > * Unlike when editing LaTeX files, it does not insert an \item when > > doing C-c C-e itemize. I use itemizations a lot and this is a bit > > annoying, especially that I got used to its behaior when doing LaTeX. > > Also, having C-c C-j asking about the (optional) label all the time is > > also tiring, I would prefer to be asked for it only with C-u C-c C-j. > > This is also annoying to me. I'll try to solve this, should no be too > complicated I think (only problem I have, is no spare time, just like > you...). That would be great, also from the point of view of learning elisp... > > * By default, being in dvi or pdf mode doesn't matter: you always end up > > with a pdf file. This is fine when you have a fast computer, but on > > low-end, older ones (like mine;)) xdvi is *a lot* faster than xpdf. > > Start xpdf just once, then use only "xpdf -reload". Besides, there are more > and more issues with dvi, since it's no more supported by ConTeXt (clipping > of figures, protrusion with TTF and perhaps a lot more). So I consider dvi > as obsolete. I know, but I edit mostly rather simple files (no figures, no non-type1 fonts, no rotation etc...) and then uses xdvi a lot (when using LaTeX). > Cheers, Peter > > -- > http://pmrb.free.fr/contact/ Thanks, greets! PS. I visited your homepage. Loved the M$ jokes; the essay on viruses on linux was also *very* interesting. -- Marcin Borkowski (http://mbork.pl) ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: emacs 2008-10-23 22:46 ` emacs Marcin Borkowski @ 2009-02-05 15:06 ` Peter Münster 2009-02-11 15:35 ` local footnotes Albrecht Kauffmann 0 siblings, 1 reply; 8+ messages in thread From: Peter Münster @ 2009-02-05 15:06 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, 24 Oct 2008, Marcin Borkowski wrote: > > > * Unlike when editing LaTeX files, it does not insert an \item when > > > doing C-c C-e itemize. I use itemizations a lot and this is a bit > > > annoying, especially that I got used to its behaior when doing LaTeX. > > > Also, having C-c C-j asking about the (optional) label all the time is > > > also tiring, I would prefer to be asked for it only with C-u C-c C-j. > > > > This is also annoying to me. I'll try to solve this, should no be too > > complicated I think (only problem I have, is no spare time, just like > > you...). > > That would be great, also from the point of view of learning elisp... Hello, Here some code that you can attach to your .emacs file (just a copy from auctex with minor modifications): (require 'context-en) (defun ConTeXt-en-mode-initialization () "ConTeXt english interface specific initialization." (mapcar 'ConTeXt-add-environments (reverse ConTeXt-environment-list-en)) (TeX-add-symbols '("but" ConTeXt-arg-define-ref (TeX-arg-literal " ")) '("item" (TeX-arg-literal " ")) '("items" [ConTeXt-arg-setup] (TeX-arg-string "Comma separated list")) '("its" ConTeXt-arg-define-ref (TeX-arg-literal " ")) '("nop" (TeX-arg-literal " ")) '("ran" TeX-arg-string (TeX-arg-literal " ")) '("sub" ConTeXt-arg-define-ref (TeX-arg-literal " ")) '("sym" (TeX-arg-string "Symbol") (TeX-arg-literal " ")))) (defun ConTeXt-insert-environment (environment &optional extra) "Insert ENVIRONMENT, with optional argument EXTRA." (if (and (TeX-active-mark) (not (eq (mark) (point)))) (save-excursion (if (< (mark) (point)) (exchange-point-and-mark)) (insert TeX-esc (ConTeXt-environment-start-name) environment) (newline) (forward-line -1) (indent-according-to-mode) (if extra (insert extra)) (goto-char (mark)) (or (TeX-looking-at-backward "^[ \t]*") (newline)) (insert TeX-esc (ConTeXt-environment-stop-name) environment) (newline) (forward-line -1) (indent-according-to-mode) ;;(goto-char (point)) ) (or (TeX-looking-at-backward "^[ \t]*") (newline)) (insert TeX-esc (ConTeXt-environment-start-name) environment) (indent-according-to-mode) (if extra (insert extra)) (end-of-line) (newline-and-indent) (if (string-equal environment "itemize") (ConTeXt-insert-item)) (newline) (insert TeX-esc (ConTeXt-environment-stop-name) environment) (or (looking-at "[ \t]*$") (save-excursion (newline-and-indent))) (indent-according-to-mode) (end-of-line 0))) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* local footnotes 2009-02-05 15:06 ` emacs Peter Münster @ 2009-02-11 15:35 ` Albrecht Kauffmann 2009-02-13 14:44 ` Thomas Floeren 2009-02-20 8:17 ` Albrecht Kauffmann 0 siblings, 2 replies; 8+ messages in thread From: Albrecht Kauffmann @ 2009-02-11 15:35 UTC (permalink / raw) To: mailing list for ConTeXt users Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: local footnotes 2009-02-11 15:35 ` local footnotes Albrecht Kauffmann @ 2009-02-13 14:44 ` Thomas Floeren 2009-02-20 8:17 ` Albrecht Kauffmann 1 sibling, 0 replies; 8+ messages in thread From: Thomas Floeren @ 2009-02-13 14:44 UTC (permalink / raw) To: 'mailing list for ConTeXt users' -----Ursprüngliche Nachricht----- Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Albrecht Kauffmann Gesendet: Mittwoch, 11. Februar 2009 16:35 An: mailing list for ConTeXt users Betreff: [NTG-context] local footnotes Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht Hi, maybe like this: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} % \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\note[foot:b] \eTD\bTD 26.1 \eTD\eTR \eTABLE } \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} {\placelocalfootnotes} \stoplocalfootnotes \stoptext This gives footnotes at textwidth. Greetings Thomas ____________________________________________________________________________ _______ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* local footnotes 2009-02-11 15:35 ` local footnotes Albrecht Kauffmann 2009-02-13 14:44 ` Thomas Floeren @ 2009-02-20 8:17 ` Albrecht Kauffmann 2009-02-20 10:28 ` Thomas Floeren 1 sibling, 1 reply; 8+ messages in thread From: Albrecht Kauffmann @ 2009-02-20 8:17 UTC (permalink / raw) To: mailing list for ConTeXt users Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: local footnotes 2009-02-20 8:17 ` Albrecht Kauffmann @ 2009-02-20 10:28 ` Thomas Floeren 2009-02-24 7:37 ` Albrecht Kauffmann 0 siblings, 1 reply; 8+ messages in thread From: Thomas Floeren @ 2009-02-20 10:28 UTC (permalink / raw) To: 'mailing list for ConTeXt users' Hi Albrecht, have you tried my proposal from 13.2.08? (http://archive.contextgarden.net/message/20090213.144419.432c095e.en.html) Maybe there is a better solution (?) but with my context installation and mkII it just works fine this way. Greetings Thomas \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} % \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\note[foot:b] \eTD\bTD 26.1 \eTD\eTR \eTABLE } \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} {\placelocalfootnotes} \stoplocalfootnotes \stoptext -----Ursprüngliche Nachricht----- Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Albrecht Kauffmann Gesendet: Freitag, 20. Februar 2009 09:18 An: mailing list for ConTeXt users Betreff: [NTG-context] local footnotes Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht ____________________________________________________________________________ _______ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: local footnotes 2009-02-20 10:28 ` Thomas Floeren @ 2009-02-24 7:37 ` Albrecht Kauffmann 0 siblings, 0 replies; 8+ messages in thread From: Albrecht Kauffmann @ 2009-02-24 7:37 UTC (permalink / raw) To: Thomas Floeren; +Cc: 'mailing list for ConTeXt users' Hi Thomas, thank you very much, this works fine. But, something must have been changed, that my old program settings suddenly didn't work. Greetings Albrecht On Fri, 20 Feb 2009, Thomas Floeren wrote: > > > Hi Albrecht, > > have you tried my proposal from 13.2.08? > (http://archive.contextgarden.net/message/20090213.144419.432c095e.en.html) > > Maybe there is a better solution (?) but with my context installation and > mkII it just works fine this way. > > Greetings > Thomas > > > > > \setupoutput[pdftex] > \starttext > \startlocalfootnotes[n=0,conversion=characters] > \placetable[here][]{} > % \placelegend > { > \tfx > \setupTABLE [frame=off] > \bTABLE > \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR > > \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR > > \bTR\bTD 3.\note[foot:b] \eTD\bTD > 26.1 \eTD\eTR > \eTABLE > } > \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} > \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} > {\placelocalfootnotes} > \stoplocalfootnotes > \stoptext > > -----Ursprüngliche Nachricht----- > Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im > Auftrag von Albrecht Kauffmann > Gesendet: Freitag, 20. Februar 2009 09:18 > An: mailing list for ConTeXt users > Betreff: [NTG-context] local footnotes > > Hi all, > > please have a look to the following small table with its own footnotes: > > \setupoutput[pdftex] > \starttext > \startlocalfootnotes[n=0,conversion=characters] > \placetable[here][]{} > \placelegend > { > \tfx > \setupTABLE [frame=off] > \bTABLE > \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR > > \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der > Gesamtbevoelkerung} \eTD\bTD > 19.0 \eTD\eTR > > \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der > Stadtbevoelkerung} \eTD\bTD > 26.1 \eTD\eTR > \eTABLE > } > {\placelocalfootnotes} > \stoplocalfootnotes > \stoptext > > The problem is that the footnotes are printed centered over a very small > linewidth. To avoid this I can put every footnote text in a \hbox and then > use \leftaligned{\placelocalfootnotes}}, but this > is rather cumbersome. Has anyone a better solution? > > With many thanks in advance, > Albrecht > > ____________________________________________________________________________ > _______ > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-11-10 15:56 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-11-10 9:47 Local footnotes Andreas Harder 2011-11-10 13:27 ` Wolfgang Schuster 2011-11-10 15:56 ` Andreas Harder -- strict thread matches above, loose matches on Subject: below -- 2008-10-21 17:56 PhD Thesis in ConTeXt Piotr 2008-10-21 22:46 ` Marcin Borkowski 2008-10-22 5:31 ` emacs (was: Re: PhD Thesis in ConTeXt) Peter Münster 2008-10-22 6:18 ` Marcin Borkowski 2008-10-23 21:08 ` emacs Peter Münster 2008-10-23 22:46 ` emacs Marcin Borkowski 2009-02-05 15:06 ` emacs Peter Münster 2009-02-11 15:35 ` local footnotes Albrecht Kauffmann 2009-02-13 14:44 ` Thomas Floeren 2009-02-20 8:17 ` Albrecht Kauffmann 2009-02-20 10:28 ` Thomas Floeren 2009-02-24 7:37 ` Albrecht Kauffmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).