Re: [NTG-context] Matlab formatting?

2011-08-26 Thread Mojca Miklavec
On Fri, Aug 26, 2011 at 07:42, Alasdair McAndrew wrote: Hello, I'm writing up some student notes about Matlab, and I'm including examples of Matlab functions.  I'd like all the functions to be typeset in typewriter font (which means using a typing environment), but I'd also like some

[NTG-context] Exported figures

2011-08-26 Thread Aditya Mahajan
Hi Hans, Two bugs in figure export: 1. If one uses images without extension, then the generated \jobname-images.css file does not contain any extensions; so no figures are shown in the output. One possible fix is to change \dotagfigure in back-ini.mkiv to \appendtoks % we can have

Re: [NTG-context] Matlab formatting?

2011-08-26 Thread Alasdair McAndrew
Thank you so much! The vim module with Matlab formatting is just what I wanted. -Alasdair On Fri, Aug 26, 2011 at 4:02 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Fri, Aug 26, 2011 at 07:42, Alasdair McAndrew wrote: Hello, I'm writing up some student notes about Matlab,

Re: [NTG-context] Imposition and repeating pages

2011-08-26 Thread Aditya Mahajan
On Fri, 26 Aug 2011, Marcin Borkowski wrote: Dnia 2011-08-25, o godz. 19:19:13 Aditya Mahajan adit...@umich.edu napisał(a): On Fri, 26 Aug 2011, Marcin Borkowski wrote: Thanks - but this is exactly what I do *not* want to do. My first idea was to do something like

Re: [NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-26 Thread Steffen Wolfrum
Am 26.08.2011 um 01:18 schrieb Hans Hagen: On 26-8-2011 00:46, Jaroslav Hajtmar wrote: Hello ConTeXtsist ... Has anything changed in the functioning of ConTeXt MkIV processing of larger projects (containing more components)? Some time (one or two months) ago I was using standalone to

Re: [NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-26 Thread Hans Hagen
On 26-8-2011 11:20, Steffen Wolfrum wrote: (http://wiki.contextgarden.net/My_Way?) you can edit that wiki page yourself: http://pragma-ade.com/general/magazines/mag-1101.pdf Hans -

[NTG-context] TOC struggles

2011-08-26 Thread Willi Egger
Hi all, I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but... Running ConTeXt version 2011.08.26 Please refer to the minimal example attached. Kind regards Willi test-contents.tex

Re: [NTG-context] fonts

2011-08-26 Thread Peter Rolf
Am 26.08.2011 12:36, schrieb Hans van der Meer: I guess I am missing something in my font handling here, but do not know what. Hans van der Meer This is the minimal example: \def\fontname{antykwa} \setupbodyfont[\fontname] \starttext Requested font = \fontname.\crlf \showbodyfont

Re: [NTG-context] fonts

2011-08-26 Thread Hans van der Meer
This is the requested check: 101 ~: mtxrun --locate lmmath-regular.otf /Users/hans/TeX/context/tex/texmf-fonts/opentype/public/lm/lmmath-regular.otf The font seems to be there. Hans van der Meer On 26 aug. 2011, at 12:54, Peter Rolf wrote: Am 26.08.2011 12:36, schrieb Hans van der Meer: I

Re: [NTG-context] Imposition and repeating pages

2011-08-26 Thread Marcin Borkowski
Dnia 2011-08-26, pią o godzinie 03:00 -0400, Aditya Mahajan pisze: On Fri, 26 Aug 2011, Marcin Borkowski wrote: Dnia 2011-08-25, o godz. 19:19:13 Aditya Mahajan adit...@umich.edu napisał(a): On Fri, 26 Aug 2011, Marcin Borkowski wrote: Thanks - but this is exactly what I do *not*

Re: [NTG-context] fonts

2011-08-26 Thread Hans Hagen
On 26-8-2011 12:36, Hans van der Meer wrote: I guess I am missing something in my font handling here, but do not know what. Hans van der Meer This is the minimal example: \def\fontname{antykwa} \setupbodyfont[\fontname] \starttext Requested font = \fontname.\crlf \showbodyfont \stoptext

Re: [NTG-context] fonts

2011-08-26 Thread Peter Rolf
Mh, no luck then. I tested your example without problems (log file attached, maybe you see a difference). Do you set any TeX related environmental variables by hand? Am 26.08.2011 13:01, schrieb Hans van der Meer: This is the requested check: 101 ~: mtxrun --locate lmmath-regular.otf

[NTG-context] Reflections the interplay between units and digits

2011-08-26 Thread Ian Lawrence
Morning all… I think that there are several issues in the interplay of the \units and \digits command that could be a bit better (Sorry Hans…all meant in the best possible way). digits_trial.pdf Description: Adobe PDF document So here is a complete example and the pdf I get, after some

Re: [NTG-context] TOC struggles

2011-08-26 Thread Hans Hagen
On 26-8-2011 12:20, Willi Egger wrote: Hi all, I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but... Running ConTeXt version 2011.08.26 Please refer to the minimal example attached. So, when do

Re: [NTG-context] fonts

2011-08-26 Thread Hans van der Meer
What is the attached file? Does not open as a text file here. Hans van der Meer On 26 aug. 2011, at 13:36, Peter Rolf wrote: Mh, no luck then. I tested your example without problems (log file attached, maybe you see a difference). Do you set any TeX related environmental variables by hand?

Re: [NTG-context] relative references in OSX Lion

2011-08-26 Thread Ian Lawrence
OK, playing out my failures in public for the greater good…? Here is what I got: ref.pdf Description: Adobe PDF document From this tex file: ___ \enabletrackers[graphics.locating] \starttext \setupexternalfigures[directory={graphics,../graphics}] hello world \externalfigure[pic.pdf]

Re: [NTG-context] relative references in OSX Lion

2011-08-26 Thread Hans Hagen
On 26-8-2011 14:02, Ian Lawrence wrote: \externalfigure[pic.pdf] \externalfigure[/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf] graphics inclusion locations: local,global graphics inclusion path list: . .. ../.. graphics ../graphics graphics inclusion strategy:

Re: [NTG-context] TOC struggles

2011-08-26 Thread Wolfgang Schuster
Am 26.08.2011 um 12:20 schrieb Willi Egger: Hi all, I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but... Running ConTeXt version 2011.08.26 Please refer to the minimal example attached.

Re: [NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-26 Thread Steffen Wolfrum
Am 26.08.2011 um 11:23 schrieb Hans Hagen: On 26-8-2011 11:20, Steffen Wolfrum wrote: (http://wiki.contextgarden.net/My_Way?) you can edit that wiki page yourself: Yes of course ... it's now listed at: http://wiki.contextgarden.net/This_Way

Re: [NTG-context] TOC struggles

2011-08-26 Thread Taco Hoekwater
On 08/26/2011 12:20 PM, Willi Egger wrote: Hi all, I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but... Do you want either: \setuplist [section] [prefix=no, sectionnumber=no,

Re: [NTG-context] fonts

2011-08-26 Thread Hans van der Meer
Still a mystery to me. In your logfile I see the line used files 16: filename=AntykwaTorunska-Regular | filetype=otf | format=otf | foundname=R:/tex/texmf/fonts/opentype/public/antt/AntykwaTorunska-Regular.otf | usedmethod=database I therefore concluse in your system ConTeXt has found

Re: [NTG-context] relative references in OSX Lion

2011-08-26 Thread Taco Hoekwater
You have a problem with your current directory. On 08/26/2011 02:02 PM, Ian Lawrence wrote: Here is the file: context /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex And here is the graphic graphics inclusion found:

Re: [NTG-context] fonts

2011-08-26 Thread Taco Hoekwater
On Aug 26, 2011, at 2:55 PM, Hans van der Meer wrote: Still a mystery to me. In your logfile I see the line used files 16: filename=AntykwaTorunska-Regular | filetype=otf | format=otf | foundname=R:/tex/texmf/fonts/opentype/public/antt/AntykwaTorunska-Regular.otf |

Re: [NTG-context] fonts

2011-08-26 Thread Hans van der Meer
On 26 aug. 2011, at 15:14, Taco Hoekwater wrote: On Aug 26, 2011, at 2:55 PM, Hans van der Meer wrote: Still a mystery to me. In your logfile I see the line used files 16: filename=AntykwaTorunska-Regular | filetype=otf | format=otf |

Re: [NTG-context] relative references in OSX Lion

2011-08-26 Thread Ian Lawrence
Thanks…now I need unravel why the self-contained tex from Wolfgang did not run…and the other piece of more substantial work is also giving grief on this machine, in spite of working on another Mac…both of these are put together by experts… But at least I have something working, so I can begin

Re: [NTG-context] fonts

2011-08-26 Thread Peter Rolf
Am 26.08.2011 15:43, schrieb Hans van der Meer: On 26 aug. 2011, at 15:14, Taco Hoekwater wrote: On Aug 26, 2011, at 2:55 PM, Hans van der Meer wrote: Still a mystery to me. In your logfile I see the line used files 16: filename=AntykwaTorunska-Regular | filetype=otf |

Re: [NTG-context] fonts

2011-08-26 Thread Taco Hoekwater
On 08/26/2011 03:43 PM, Hans van der Meer wrote: Did this, removed linked, let mtxrun reload the database, then running context. Same result: files readfile asked name: 'antykwa', not found Which is already wrong, afaik. It should *not* be looking for a typescript file, because the

Re: [NTG-context] fonts

2011-08-26 Thread Wolfgang Schuster
Am 26.08.2011 um 16:57 schrieb Hans van der Meer: On 26 aug. 2011, at 16:34, Taco Hoekwater wrote: Sure. As I wrote above, there should not *be* any typescript file, and the actual fonts are named *antt*, not '*antykwa*' changing to \setupbodyfont[antt] now produces: files

Re: [NTG-context] fonts

2011-08-26 Thread Taco Hoekwater
Hi, On 08/26/2011 04:57 PM, Hans van der Meer wrote: files readfile asked name: 'loc', not found files readfile asked name: 'antykwa', not found solved by Wolfgang :) But why, isn't it in the distribution? Because Microsoft is not in the habit of giving stuff away for free. As with

Re: [NTG-context] fonts

2011-08-26 Thread Hans van der Meer
On 26 aug. 2011, at 17:09, Wolfgang Schuster wrote: Am 26.08.2011 um 16:57 schrieb Hans van der Meer: On 26 aug. 2011, at 16:34, Taco Hoekwater wrote: Sure. As I wrote above, there should not *be* any typescript file, and the actual fonts are named *antt*, not '*antykwa*' changing to

Re: [NTG-context] TOC struggles

2011-08-26 Thread Willi Egger
Oeps, I seem to have some adaptation problems to the new syntax... Thanks for pointing this out! Willi On 26 Aug 2011, at 13:37, Hans Hagen wrote: On 26-8-2011 12:20, Willi Egger wrote: Hi all, I have a quite simple document and would like to get a table of contents. However I can not

Re: [NTG-context] fonts

2011-08-26 Thread Hans Hagen
On 26-8-2011 17:18, Hans van der Meer wrote: I guess from Wolfgang's comment that newer vrsions of ConTeXt can do without the \usetypescript? no, it depends, as it's part of a fallback sequence: (1) manually defined typeface - \usetypescript for relevant cases (2) predefined typeface -

[NTG-context] filter and/or vim module in current beta

2011-08-26 Thread Andreas Schneider
Hi, it seems the filter module doesn't currently work (in MkIV at least). It may be a problem with the vim module though, I'm not quite sure. The following example doesn't produce any output: -8--- \usemodule[vim]

Re: [NTG-context] filter and/or vim module in current beta

2011-08-26 Thread Aditya Mahajan
On Fri, 26 Aug 2011, Andreas Schneider wrote: Hi, it seems the filter module doesn't currently work (in MkIV at least). It may be a problem with the vim module though, I'm not quite sure. The following example doesn't produce any output:

Re: [NTG-context] filter and/or vim module in current beta

2011-08-26 Thread Andreas Schneider
On 26.08.2011 21:33, Aditya Mahajan wrote: Are you using the latest version (2011.08.23) of the filter module? The empty filter is due to a change in the how the context namespacing macros work and I fixed this a couple of days ago. I updated via first-setup/minimals, so I hope so. But I'll

[NTG-context] Questions related to margin/dynamic layout

2011-08-26 Thread Yue Wang
Hi, I have two questions related to margin: - is it possible to move footnotes to margin? - similar question: I want to have a list in the margin with all the indexes in the given page. How to make these possible? Third question is related to layout. I know how to change page layout for a

Re: [NTG-context] filter and/or vim module in current beta

2011-08-26 Thread Aditya Mahajan
On Sat, 27 Aug 2011, Andreas Schneider wrote: On 26.08.2011 21:33, Aditya Mahajan wrote: Are you using the latest version (2011.08.23) of the filter module? The empty filter is due to a change in the how the context namespacing macros work and I fixed this a couple of days ago. I updated via