[NTG-context] Italic correction spoils XHTML-output
Hi all, I spotted an curious side effect while using italic correction together with the export feature. The XHTML-export has unwanted spaces while the PDF is fine. \startbuffer[css] highlight[detail=emph] { font-style: italic } \stopbuffer \savebuffer[css][test.css] % - do not work! \setupbackend[export=yes,xhtml=yes,css={test.css}] \definefontfeature[default][default][itlc=yes] \setupitaliccorrection[always] % not OK % \setupitaliccorrection[always,global] % OK \definehighlight[emph][style=\it] \starttext \emph{example} % highlight detail=emphex am ple/highlight \spottiest Regards Andreas PS. By composing this example I noticed that \savebuffer do nothing. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] two columns and margin notes
Hi list, some time ago there was a discussion about the following issue, demonstrated by \starttext \startcolumnset[n=2] \input knuth \input tufte \column \inmargin{This is not in the margin!} \input tufte \inmargin{This is in the wrong margin} \input knuth \stopcolumnset \stoptext Unfortunately the note is still in the wrong margin. Interestingly, the note before the paragraph is not even in the margin. Has there been any progress on that? Or is there any possibility to get the number of the current column, like \thecolumnnumber? Then one (I) could write a small macro to handle this, I think. Thanks in advance, Stefan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] margin notes at page breaks
Hi list! In my document I have some margin notes that appear right before a page break and so end up in the bottom margin, see the following example. \starttext \dorecurse{4}{\input knuth} \blank[2*line] \inmargin{This note ends up in the bottom margin} %\margintext{This note ends up in the bottom margin} \input tufte \stoptext Is it possible to automatically move the margin note in those cases to the next page? I had a look at the manual where the issue is addressed. As I understood it \margintext{...} should be able to handle this, but it did not change anything in my example. In the garden I found \setupinmargin[stack=yes] but this didn't help either. This seems not to hard, but I can't find a way to fix it... Thanks in advance for any hints! Stefan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated
On Thu, Oct 20, 2011 at 12:06, Mari Voipio mari.voi...@iki.fi wrote: I did notice a scrolling problem, but it is not that bad: I'm using a marble mouse that doesn't have a scroll wheel at all, so I had to install Logitech's software to turn a scroller on and of with the fourth mouse button. That works everywhere else, but not in SciTe - the scroll bar moves, but nothing happens... So, the Kensington Trackball with Scroll Ring turned up. I just plugged out the Logitech scroll-less marble and plugged in the new Kensington trackboll - and everything works like a charm, including scrolling in SciTe (and the marble moves a lot better, too, I definitely prefer this one). However, most of my files are small as the books I work on are split into chapters. The real test won't come until I tackle the 150-page manual later this week... But so far so good! Mari ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Italic correction spoils XHTML-output
PS. By composing this example I noticed that \savebuffer do nothing. Unless something has changed recently, \savebuffer[buffer-list][filename] concatenates all the buffers in `buffer-list` and saves them to the file `\jobname-filename.tmp`. In the filter module, I work around this limitation by using \ctxlua{os.copy(...)}. Ideally, one should be able to use \ctxlua{os.rename(...)} but os.rename does not work on Windows. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] (long) footnotes in column sets messed up
Hi folks, please consider the following example. \starttext \startcolumnset[n=2] \dorecurse{4}{\input knuth\footnote{Some footnote which is not wrapped correctly and has a bad number}} \stoptext The footnotes are very messed-up (overlapping, numbers all in left column). Is there a better way to place such footnotes in column sets? Am I doing something wrong? I'm using 20111028 22:32 MKIV. Thank you very much in advance! Stefan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] syntax-highlighting
Hello, I've installed Scite on a Linux-Computer. I can build the pdf with F5; when I start to write a context-command the completion is suggested, e.g. \pa - \page There is no syntax-highlighting. How to switch it on? Regards Jannis ___ 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 ___