Re: [NTG-context] [Dev-luatex] Luatex 0.79.3.1 announcement

2015-01-26 Thread Patrick Gundlach
Thank you Luigi and all others for the development!

A quick note: if you like a git(hub) style interface, I try to keep


https://github.com/pgundlach/LuaTeX


up to date

Patrick


___
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] [luatex] Itemize without page break

2012-03-20 Thread Patrick Gundlach

Am 20.03.2012 um 06:49 schrieb Kip Warner:

> On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote:
>> TeX has it’s problem with certain errors, accept it.
> 
> It is not a problem with the program raising an error, it was how it
> went about doing it. It should not have to take down the entire
> operating system to indicate to the user that there was a non-intuitive
> syntactical error in typesetting.


I also agree that a segfault is not an acceptable behavior of a program, 
regardless of the input (unless you are doing low level stuff). But it is not 
clear if this is a problem on the ConTeXt side or the LuaTeX side.

Patrick

___
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] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread Patrick Gundlach

> 
> No, I don't even remember writing something like that (but I don't deny it 
> either).

oh well, I have just seen your (Steffen's) answer. Sorry.

Patrick


___
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] Fwd: color conversion causes error with MPgraphic

2012-01-09 Thread Patrick Gundlach
Hi Steffen,

>> Is there somewhere a howto, which describes how to compile
>> something from svn? I have never done such a thing,
> 
> 
> There is a very nice howto written by Patrick.
> 
> @Patrick: do you remember the URL?


No, I don't even remember writing something like that (but I don't deny it 
either).

Patrick


___
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] context instal

2011-12-21 Thread Patrick Gundlach
Hello Marek,

> Hi Mr. Gundlach
> .Just want to say Im very dissapointed that no installing package of ConText 
> exist. I mean like you install things in Win – two cliks and Done!
> I was studying ConText whole afternoon and i liked it – But – im very very 
> sick of this kind of installing. It just makes people like me to hate the 
> whole thing about trying something else then MS Word. I was eager to learn 
> this  ConText ant than BIIG! Frustration cause i could not run it. All 
> those versions of packages - i wanted to shoot myself.
> 
> Yea, i know you dont get paid for this,  BUT -  come on Mr. Gundla. Is it 
> that hard to make one ABSOLUTE DUMMY PACKAGE (you geeks can call it how you 
> want i know you like to use word dummies for people who are lesser geeks than 
> you :) )  two cliks and lalala! Hello Word! You save afternoon to many other 
> people :D Just think about it, ok?

Well, ConTeXt _is_ hard to install. First you have to sacrifice one of your 
family members. Afterwards, you need to hum the magic chant in order to open 
your spirit. After you have done that, please draw a circle around your 
computer and put candles on it, making the shape of a pentagram. Now, and this 
is important, go six times clockwise around that circle, six times counter 
clockwise and then six times clockwise again. After that, turn on your computer 
and start your webbrowser and go to

http://wiki.contextgarden.net/Simple_Windows_Installation

and downlaod the installer.

Sincerely your Mr. Gundla

___
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] Mailing list archive (archive.contextgarden.net) will be down or at least not updated

2011-12-14 Thread Patrick Gundlach
Hi all,

Mojca has found a way to keep archive.contextgarden.net updated, so you can use 
it again. Her statement about the future of it is still true.

> So: copy of mailing list archive (archive.contextgarden.net) won't be
> updated for at least some time, but there is also a chance that it
> will be completely replaced by a different solution. Not that it would
> be technically impossible to continue updating it, but I think that
> setting up mailing lists has a much higher priority at the moment than
> old archives (which are much better at gmane.org anyway).

Patrick


___
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] What is the prescribed way to add attachments to a list posting?

2011-11-23 Thread Patrick Gundlach


>> Thanks, Mojca. I was looking at the web-interface of the archives. It seems
>> that the attachments *were* including in the mailing list message, but were
>> converted/stripped in the archives.
> 
> They are not really removed, but it might be that they are not shown
> in lurker (archive.contextgarden.net) for whatever reason.

they are archived but not displayed. For some reason I've turned that off 
(IIRC). But the archive is moving anyway, so I don't think it is really 
necessary to change things for just a short period of time.

Patrick

___
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] Edid of reference in Wiki (was: \in: incorrect space in example in reference)

2011-11-17 Thread Patrick Gundlach
> to correct this in the reference do I just edit the Wiki article or is
> the reference automatically created?

Edit the Wiki article.

Patrick

___
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] xtreme tables repeating header

2011-11-07 Thread Patrick Gundlach
Hello Hans,

> quick hack:
> 
> \placefigure[split,fixed,none]{}{...}
> 
> currently only the the float related splitter will check the available space, 
> so in your case you have a regular flush with skips between the rows and a 
> header/footer only

Works fine, thanks!

Patrick

___
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] xtreme tables repeating header

2011-11-01 Thread Patrick Gundlach
Hello,

any news on this subject? 

Thanks!

Patrick



Am 29.10.2011 um 12:41 schrieb Patrick Gundlach:

> Hi,
> 
> I can't get the repeating header to work with the new extreme tables (the 
> "new column A" should be on the second page). What is the error here? 
> 
> Thanks
> 
> Patrick
> 
> 
> 
> \setuppapersize [a5][a5]
> 
> \starttext
> 
> \setupxtable
>  [width=.5\textwidth,
>   split=yes,
>   header=repeat,
>   footer=repeat]
> 
> \startxtable
> \startxtablehead
> \startxrow
>  \startxcell  Column A \stopxcell
>  \startxcell  Column B  \stopxcell
> \stopxrow
> \stopxtablehead
> \startxtablenext
> \startxrow
>  \startxcell  new column A \stopxcell
>  \startxcell  new column B  \stopxcell
> \stopxrow
> \stopxtablenext
> \startxtablebody
> \startxrow
>  \startxcell \vrule height  7cm \stopxcell
>  \startxcell x \stopxcell
> \stopxrow
> \startxrow
>  \startxcell \vrule height  7cm \stopxcell
>  \startxcell x \stopxcell
> \stopxrow
> \startxrow
>  \startxcell \vrule height  7cm \stopxcell
>  \startxcell x \stopxcell
> \stopxrow
> \stopxtablebody
> 
> \stopxtable
> \stoptext
> 

___
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] xtreme tables repeating header

2011-10-29 Thread Patrick Gundlach
Hi,

I can't get the repeating header to work with the new extreme tables (the "new 
column A" should be on the second page). What is the error here? 

Thanks

Patrick



\setuppapersize [a5][a5]

\starttext

\setupxtable
  [width=.5\textwidth,
   split=yes,
   header=repeat,
   footer=repeat]

\startxtable
 \startxtablehead
 \startxrow
  \startxcell  Column A \stopxcell
  \startxcell  Column B  \stopxcell
\stopxrow
\stopxtablehead
\startxtablenext
 \startxrow
  \startxcell  new column A \stopxcell
  \startxcell  new column B  \stopxcell
\stopxrow
\stopxtablenext
\startxtablebody
\startxrow
  \startxcell \vrule height  7cm \stopxcell
  \startxcell x \stopxcell
\stopxrow
\startxrow
  \startxcell \vrule height  7cm \stopxcell
  \startxcell x \stopxcell
\stopxrow
\startxrow
  \startxcell \vrule height  7cm \stopxcell
  \startxcell x \stopxcell
\stopxrow
\stopxtablebody

\stopxtable
\stoptext


___
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] Recommended table environment?

2011-10-28 Thread Patrick Gundlach
Hello,

I have a project where I think ConTeXt really fits well, so I have a first 
question (after a looong period of absence). Is there a recommended table 
environment? I give an example in the attached PDF. What I need:

* have influence on the column width (2 columns, both same size)
* automatic split with repeating headers
* more than one paragraph (with fill in rules) in a cell possible (but this 
simulated by invisible cells)
* some borders (not so sure about that...)


Thanks!

Patrick

(a sample is at http://i.imgur.com/ePHdn.png )

___
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] xml and lua again

2011-10-27 Thread Patrick Gundlach


 
 context.blackrule{ width = number.topoints(tex.dimen["textwidth"]/2) }
>> 
>> or just tex.dimen["textwidth"]/2 .. "sp"
> 
> Wait, just so I understand: your solution would imply that 
> tex.dimen["textwidth"] holds a number, not a dimension, right? (Because you 
> simply concatenate it with a dimension unit). Which makes sense when I think 
> of it because lua has no concept of dimensions, only of strings, functions, 
> tables, numbers... Whereas the Wolfgang implies that the result is already in 
> sp. So who's right?

both :)

tex.dimen holds a number, that is the size in points, multiplied by 65536/1pt, 
so for example 3pt becomes

3pt * 65536
---  = 3 * 65536 = 196608
  1pt


This number is also known "sp". So if you store the number 3*65536 in 
tex.dimen[...], you can say:

my width is \directlua{ tex.dimen[...] / 2}sp (results to "my width is 
196608sp", which you can use as an argument to whatever needs a length)

or

my width is \directlua{  number_to_points(tex.dimen[...]) } where 
number_to_points is something like

number_to_points = function (amount_in_sp) 
  in_pt = tostring(amount_in_sp / 65536) 
  return in_pt .. "pt"
end

which gives "3pt". 

Patrick

___
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

2011-10-19 Thread Patrick Gundlach

Am 19.10.2011 um 11:52 schrieb Thomas A. Schmitz:

> On 10/19/11 11:49 AM, Hans Hagen wrote:
>> there is now also a scite-for-osx but someone needs to compile the
>> external lexer lua library as it's only available for windows and linux
>> 
>> Hans
> 
> hey, that sounds good - but where can I find it? There's nothing about it on 
> the scintilla page. Or do you mean running scite in X11 on OS X?

I've seen it in the app store a few days ago. Haven't tried it, though.

Patrick

___
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] Creating a new page in the wiki

2011-10-14 Thread Patrick Gundlach


> 1)
> After having created a new page for Reference/en/whatever
> How to add it to the command reference
> http://wiki.contextgarden.net/Category:Reference/en ?

add

[[Category:Reference/en|whatever]]

to the page (at the bottom, for example)

Patrick


___
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] refcard with context

2011-09-08 Thread Patrick Gundlach
Hi,

I just came across an old layout of a reference card / cheatsheet of mine. See 
https://gist.github.com/1203210 and 
http://tex.stackexchange.com/questions/27832/template-for-cheatsheet/27853#27853
 for an image how it looks like.

Do with the code whatever you like (someone can perhaps put it as an example on 
the wiki?)

Patrick



___
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] wiki

2011-08-30 Thread Patrick Gundlach
Hi,

the wiki is down, it seems to be an ISP problem. I have contacted them.

Patrick



___
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] Apple Emoji (was: Smileys)

2011-08-17 Thread Patrick Gundlach

> It is a bitmap format, a sort of quick and dirty hack by Apple to please
> certain markets and it shouldn't concern a typesetting system

I think we should leave it up to the users what they think about using a font 
like this in typesetting. "640k ought to be enough for anybody"…

:)


I'd like to have "my" typesetting system to be capable of what users demands 
and not what I think is good for them.



(But this is not a feature request)


Patrick

___
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] Smileys

2011-08-17 Thread Patrick Gundlach
Hello Wolfgang,

> Apples new emoji font is also very interesting but you can’t use it with 
> ConTeXt.

Why is that? Is this a ConTeXt or a LuaTeX limitation?

Patrick


___
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] [OT] Javascript PC Emulator - Technical Notes

2011-05-17 Thread Patrick Gundlach
Hi,

> This PC emulator is written in Javascript.

[...]

so it's only a matter of time when TeX runs in the browser. I don't know how/if 
it is possible to access local files, but that should be doable (dropbox,...)

Patrick

___
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] [garden] captcha: zip-code of Hasselt?

2011-05-05 Thread Patrick Gundlach
Hi Pontus,

> At the risk of kicking off a huge thread... how about ‘What is usually
> the last command in a ConTeXt source file (without the backslash)?’
> Anyone who has got as far as ‘Hello World’ should manage that one.

Yes, that's cool. I've added that one.

Patrick

___
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] [garden] captcha: zip-code of Hasselt?

2011-05-05 Thread Patrick Gundlach
Hi Phillip,

> the wiki just asked me to verify my humanity through Hasselt’s
> zip code. From [1] I inferred that it would be the string
> “8061GH”, which was promptly rejected -- the next quiz proved to
> be easier and I finally won another wiki commit. Nevertheless I’d
> appreciate this mystery to be solved ;-)

The answer should be 8061. I have changed the question and made it clear that 
four digits are requested. I am happy to add a better question that should be 
obvious to ConTeXt users.

Patrick

___
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] modules with no author

2011-05-03 Thread Patrick Gundlach
Hi Adam,

> 
> I you mean the gantt module, have a look at the mailinglist: 
> http://www.ntg.nl/pipermail/ntg-context/2010/054051.html
> 
> It was advised to upload it to tlcontrib instead, so the module is located 
> here:
> http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4295644089/action=view/id=300
> 
> As I could neither upload it to the minimals module site nor could I delete 
> the empty module page, this is why you have the module with no author etc.


OK, thanks for the info.

Patrick

___
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] modules with no author

2011-05-01 Thread Patrick Gundlach
Hi Philipp,

> the upload didn’t work back then when I tried to upload the files
> for t-transliterator.mkiv. I guess everything needed is a link to
> the bitbucket repo (it’s in the “comment” field”). There really
> doesn’t appear to be any extra (apart from extra maintenance…) in
> having the files mirrored on the garden.


Thanks for the info. Now I'll think of what to do with the other module.

Patrick

___
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] modules with no author

2011-04-27 Thread Patrick Gundlach
Hi,

the modules "Transliterator" and "Gantt (TikZ)" don't have an author or files. 
I think they can be removed from modules.contextgarden.net. Any opinion?

Patrick

http://modules.contextgarden.net/gantt-tikz
http://modules.contextgarden.net/Transliterator


___
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] Wiki: MkIV vs. MkII

2011-04-09 Thread Patrick Gundlach
Hi,

> So I seems to me to be good:
> 
> - to provide both compilation engines, MkII and MkIV,
> 
> - to provide a  attribute, e.g.  or  mark="iv"> or something like this to force the specified Ctx to compile.

We are planning to think about considering to install MKIV on the garden 
server. But this will take some time. We are currently in the progress of 
handling the ownership / server to other people and machines, and after that 
new things may come.

If there are some able system administrators with enough spare time, we could 
possibly combine efforts.

Patrick

:)


___
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] fontserver

2011-03-22 Thread Patrick Gundlach
Hi,

I try to use the font server (mtxrun --script server --auto) and I run into a 
few problems:

* when I click on the font "garamondpremrprobd", the server dies with: 

2 shipped pages, 0.379 pages/second

mtx-context | fatal error: return code: 1
ctx-fonttest| entering edit mode for 'garamondpremrprobd'
ctx-fonttest| processing font 
'/Users/patrick/Library/Fonts/GaramondPremrPro-Bd.otf'...tion/tex/texmf-context/tex/context/base/font-mis.lua:28:
 attempt to index field 'enhancers' (a nil value)


* When I click on "americantypewriter", I get a strange output (attached). The 
source has a command that is undefined:

\starttext
\setcharactermirroring[1]
\definefontfeature[sample][analyze=yes,mode=node,language=dflt,script=dflt]
\definedfont[name:americantypewriter*sample]
\startTEXpage[offset=3pt]
\detokenize{This is a sample line!}
\stopTEXpage
\stoptext

(the second line with "\setcharactermirroring")

Any cure?

Thanks!

Patrick


mtx-server-ctx-fonttest-temp.pdf
Description: Adobe PDF document
___
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] contextgarden down

2011-03-01 Thread Patrick Gundlach

Am 02.03.2011 um 00:10 schrieb Michael Goerz:

> It appears that the contexgarden.net website is down.

It's up again.

I am still looking for a person or a group to hand over the contextgarden.net 
machine.


Patrick

___
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] post_linebreak_filter in context

2011-02-25 Thread Patrick Gundlach
Hello Hans,

> 
> first put the function in some namespace, like:
> 
> moduledata.mystuff = { }
> moduledata.mystuff.show_hyph = show_hyph
> 
> then register it in the finalizer group (which is the post_linebreak stuff)
> 
> nodes.tasks.appendaction("finalizers","after","moduledata.mystuff.show_hyph")

Works perfectly.

> (before and after are subgroups that can be used by users if needed; of 
> course one never know to what extent it will influence other processes, so 
> "shipouts","after" might be a better choice)

Ok. In this case it works for me but I'l remember that.

Thanks!

Patrick

___
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] post_linebreak_filter in context

2011-02-25 Thread Patrick Gundlach
Hi,

how do I install a custom post_linebreak_filter in ConTeXt? I have this LaTeX 
file:


\documentclass[12pt,a4paper]{scrartcl}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{fontspec}
\directlua{
show_hyph = function(head)
  while head do
if head.id == 0 or head.id == 1 then % hlist, vlist
  show_hyph(head.list) % should be head.head in a newer luatex than 0.64
elseif head.id == 7 then % disc
  local n = node.new("whatsit","pdf_literal")
  n.mode = 0
  n.data = "q 0.3 w 0 2 m 0 7 l S Q"
  n.next = head.next
  n.prev = head
  head.next = n
  head = n
end
  head = head.next
  end
  return true
end
luatexbase.add_to_callback("post_linebreak_filter",show_hyph,"show_hyph")

}

\begin{document}
\begin{minipage}{5cm}
\blindtext
\end{minipage}
\end{document}


which registers a function "show_hyph" as the post_linebreak_filter (the rest 
is not really interesting). How would I do this in ConTeXt?

(also asked on tex.se: 
http://tex.stackexchange.com/questions/11960/how-to-register-a-callback-in-context)

Thanks

Patrick

___
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] Fwd: setuptex.csh usage

2010-12-30 Thread Patrick Gundlach
Its me again,

this mail was about "setup.csh" from the minimals and was addressed to the 
correct recipients. So my fault for forwarding this to the main mailing list. 
Sorry for that.


Patrick

___
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] Fwd: setuptex.csh usage

2010-12-30 Thread Patrick Gundlach


> you should post your question to the mailing list.

Of course I meant questions _not_ related to the domain "contextgarden.net". 
Those that are should go to the address you used (gardeners  
contextgarden.net).


Patrick

___
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] Fwd: setuptex.csh usage

2010-12-30 Thread Patrick Gundlach
Hi Jon,

you should post your question to the mailing list.

Patrick


> Von: Jon Crump 
> Datum: 30. Dezember 2010 19:40:58 MEZ
> An: garden...@contextgarden.net
> Betreff: setuptex.csh usage
> 
> Hans, et alia,
> 
> [MacOSX, 10.5.8, intel Core 2 Duo, ConTeXt  ver: 2010.12.22 20:18 MKIV
> fmt: 2010.12.23  int: english/english]
> 
> I just spent a pointless half hour wondering why my tex files failed
> in context when they worked just a few days ago, until I noticed that
> context was calling the old texlive installation. I forgot that I had
> used setuptex.csh to establish env vars for the running terminal
> session and then later terminated it. I intend for the foreseeable
> future to continue to use this convenience; I thank you for providing
> it, and hope you do not discontinue it.
> 
> I want to continue to use texlive both at the command line and with
> some gui front-ends, and want to be able to keep the context minimals
> separate. In my inexperience I perhaps am not seeing a more effective
> way to do this, but your shell script works, and I hesitate to mess
> about with what works.
> 
> Many thanks for all your prodigious and impressive work,
> 
> Jon


___
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] contextgarden down?

2010-12-30 Thread Patrick Gundlach

>> Is contextgarden down, cannot access it for some reason?
> 
> http://www.downforeveryoneorjustme.com/www.contextgarden.net

Nice site!

The machine has been rebooted.

Patrick

___
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] contextgarden.net

2010-12-17 Thread Patrick Gundlach
Hi,

I have mentioned it at the last context conference: I am looking for a person 
(or a group) to take over the server contextgarden.net. Not only the wiki or 
the modules section or ..., but the complete server.

I have started everything more then seven years ago and we (= you) have all 
made it possible that contextgarden.net is now used by more then 500 unique 
visitors each day (the wiki alone). The average time a user spends on the wiki 
is three and a half minute (according to the stats, but this is inaccurate, of 
course), I think that is pretty good!

But as usual in a setting like this, I have shifted my focus. This does not 
mean I like ConTeXt less then several years ago! By no means! But I am too busy 
with my new job and my family so there is pretty much no server maintenance 
(except for a reboot once in a while).

I really hope that someone steps in and I can hand over all the files/databases 
and the domain name before the next conference.

Not that some parts are already maintained by other people: most prominently 
the minimals are done by Mojca with help of Arthur (I hope I've got it right).

Patrick

___
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] FR: Wiki: Button to include code area

2010-12-17 Thread Patrick Gundlach

Am 17.12.2010 um 06:38 schrieb Jonas Stein:

> My Featurerequest for the Wiki:
> 
> in some wikis its possible to enhance the buttons 
> in the edit window with own tags.
> 
> I would suggest to add 
> 
> 
> $text
> 
> 
> 
> that should work like the link button that creates [[$text]]
> 
> That would be fantastic!
> Thank you.

Please put me (or gardeners  contextgarden.net) in cc: for things related 
to the contextgarden.net server. However: I have no schedule for the next 
contextgarden.net maintenance yet, so it might take some time.

Patrick

___
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] Wiki: Bug: /foo does not link to foo-reference

2010-12-16 Thread Patrick Gundlach

Am 16.12.2010 um 16:35 schrieb Jonas Stein:

> foo
> creates a javascript link that opens a new small window with the 
> reference list inside.
> 
> It would be nice, if it would open the corresponding page.
> like 
> http://wiki.contextgarden.net/Reference/en/foo
> 
> is that possible?

I'll have a look into it.

Patrick

___
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] winter cleanup in the wiki

2010-12-13 Thread Patrick Gundlach

>> 
>> http://wiki.contextgarden.net/pdftex.cfg
>> said:
>> "There's no more pdftex.cfg since TDS 2004!"
>> 
>> I tagged pages like this one with "deleteme"
>> 
>> But what is the best solution for them?
>> Has this Wiki a Merge function to save the history?
>> Should we empty and unlink them? Delete them?
> 
> Wiki administrators can delete pages. So, just tag them, and one of us
> will have a look at it, and if we agree, delete the page.


"We" should remove the links to these page before we delete 'em. There is a 
links somewhere at the bottom of the page that shows the pages that links to a 
current page. It opens a page such as

http://wiki.contextgarden.net/Special:WhatLinksHere/ConTeXt_Minimals_Funtoo

Patrick

___
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] calling ConTeXt as a background process (SOLVED)

2010-10-10 Thread Patrick Gundlach
> 
> Thank you all for your patience, ideas and help!

Sorry, that I didn't quite understand the problem/solution, could you describe 
in a few sentences what problem was and how you solved it?

Thanks

Patrick

___
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] Question for wiki authors

2010-10-08 Thread Patrick Gundlach


> In doing so, it is not always immediately obvious who is doing what
> because the 'recent changes' list quite often does not contain a useful
> summary message. This is understandable, but it would really help
> if everybody would at least put something in the Summary field.

+1 Thanks for mentioning this! Sometimes I am really unsure, especially if this 
edit is from an anonymous user.


Patrick


___
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] calling ConTeXt as a background process

2010-10-08 Thread Patrick Gundlach
> 
>  function os.resultof(command)
>local handle = io.popen(command,"r")
>return handle and handle:read("*all") or ""
>  end
> 

shouldn't the handle be close()d?

Patrick

___
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] calling ConTeXt as a background process

2010-10-08 Thread Patrick Gundlach


> Sorry for the OT thread, I suspected the problem being more in the LuaTeX 
> area.

I don't think it's in the LuaTeX area, for LuaTeX is just a regular process.

I have to admit that I have run into similar problems with different software I 
tried to run from a "server process" (whatever this means) and it always took 
me some time to get it right. At the end it was aways clear to me why it 
wouldn't run (but I can't remember anymore, since it is many years ago). So I 
suggest to replace the LuaTeX call with different other software and see where 
it breaks. Use software that reads STDIN, that writes to STDOUT/STDERR and 
alike and see if they are ok.

Patrick

___
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] calling ConTeXt as a background process

2010-10-07 Thread Patrick Gundlach
Hi Hraban,

> 
> How's ConTeXt called in ConTeXtgarden Live? Any special means?

Please CC me for these kind of questions, for I don't follow the list every day.


I've put context live into a repo at github:

http://github.com/pgundlach/contextlive

and take a look at

http://github.com/pgundlach/contextlive/blob/master/runtexexec.c


I use fork()/exec() combination in C.


Patrick

___
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] Algorithms in ConTeXt

2010-10-06 Thread Patrick Gundlach

>> I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something 
>> like the algorithm package? It can typeset pseudocode like in the attached 
>> graphic. I sort of like the rules on the left side that indicate the scope 
>> of the for/while/case statements.
> 
> Wolfgang has a module for that: http://bitbucket.org/wolfs/algorithmic

but it doesn't draw the nice lines, I am after. At least I haven't found any.

Patrick

___
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] Algorithms in ConTeXt

2010-10-06 Thread Patrick Gundlach
Hi,

I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something 
like the algorithm package? It can typeset pseudocode like in the attached 
graphic. I sort of like the rules on the left side that indicate the scope of 
the for/while/case statements.

Patrick


<>___
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] startdescription

2010-10-05 Thread Patrick Gundlach

Am 05.10.2010 um 15:13 schrieb Wolfgang Schuster:

[...]

thanks, I've updated the wiki.

Patrick

___
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] startdescription

2010-10-05 Thread Patrick Gundlach
Hi,

is \startdescription a valid command? I've found it in the reference section on 
the wiki (generated cont-en.xml) Or is it meant as a pattern/template for 
another command?

Patrick


___
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] MPenvironment

2010-10-04 Thread Patrick Gundlach
Hi,

I would like to get the Metapost "Abcd" to be bigger then the TeX "Abcd" (for 
all Metapost graphics). I thought that the command is \startMPenvironment .. 
\stopMPenvironment !?!?



\startMPenvironment
\switchtobodyfont[16pt]
\stopMPenvironment
\starttext
Abcd
\startMPcode
label.lrt(textext("Abcd"), (0cm,0.5cm));
\stopMPcode
\stoptext



Patrick

___
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] typewriter text in formula

2010-10-01 Thread Patrick Gundlach


> fyi: there is a typewriter alphabet in math (unicode) but indeed in your case 
> you need \text in order to get more than the alphabet (and another font).

I remember that I came across that (U+1D670 and further) a few days ago and 
wondered

Patrick

___
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] one line caption

2010-10-01 Thread Patrick Gundlach
>> 
>> \setupcaptions[minwidth=fit] (no effect)
>> 
>> and \setupcaptions[minwidth=\textwidth] (left aligned)
> 
> \setupcaptions[minwidth=\textwidth, align=middle]

[palm-slap to the forehead] Yes. Thanks!

Patrick


___
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] one line caption

2010-10-01 Thread Patrick Gundlach
Hi,

how do I get the caption as wide as possible?


\starttext
\placefigure
[here]
[foo]
{A very long caption, isn't it?}
{\externalfigure[cow][width=2cm]}
\stoptext


I also tried without luck

\setupcaptions[minwidth=fit] (no effect)

and \setupcaptions[minwidth=\textwidth] (left aligned)

Patrick

___
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] typewriter text in formula

2010-10-01 Thread Patrick Gundlach
Hi all,


> \setupbodyfont[cambria]
> \starttext
> \startformula
> r=\mono{r}{\tt r}
> \stopformula
> \stoptext

Mojca gave me the right hint to use \text{.} around the text. And my other 
problem is solved as well (underscores).



Thanks!
___
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] typewriter text in formula

2010-10-01 Thread Patrick Gundlach

> 
> \mono{}? which you are already using.
> I tried the file below, and all the three r's are Cambria's, and the
> last two are mono.
> 
> \setupbodyfont[cambria]
> \starttext
> \startformula
> r=\mono{r}{\tt r}
> \stopformula
> \stoptext


Thats what I get, too, but this is not what I want! This looks like Courier to 
me, but I want Consolas in the formula. See my original question.

Patrick

___
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] typewriter text in formula

2010-10-01 Thread Patrick Gundlach

>> how do I get typewriter text in formula?
>> 
>> I've tried:
>> 
>> \startformula
>> r =  \mono{foo}
>> \stopformula
>> 
>> but that gives mono from a different font. I'd like to have consolas, but it 
>> looks like courier new.
> 
> You should get the math mono from the math font you are using (Cambria,
> I guess) not from the text font.

sorry to ask again, _how_ do I get the mono from the math font? (Yes, Cambria).

Patrick

___
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] typewriter text in formula

2010-10-01 Thread Patrick Gundlach
Hi,

how do I get typewriter text in formula?

I've tried:

\startformula
r =  \mono{foo}
\stopformula

but that gives mono from a different font. I'd like to have consolas, but it 
looks like courier new.

And a related question:

How do I get an underscore in this:

\startformula
r =  \mono{foo_i} looks wrong (I need the underscore) and \mono{foo\_i} fails
\stopformula


Patrick
-


My setup:

\usetypescriptfile[type-consolas]
\definetypeface [mainface] [rm] [serif] [cambria]  [default]
\definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]
\definetypeface [mainface] [tt] [mono]  [consolas] [default] [rscale=auto]
\definetypeface [mainface] [mm] [math]  [cambria]  [default]

where type-consolas is this:

\unprotect
 \starttypescript [mono] [consolas] [name]  
   \setups[\s!font:\s!fallback:\s!sans]
\definefontsynonym [\s!Mono]   [\s!file:consola]  
[\s!features=\s!default]
\definefontsynonym [\s!MonoBold]   [\s!file:consolab] 
[\s!features=\s!default]
\definefontsynonym [\s!MonoItalic] [\s!file:consolai] 
[\s!features=\s!default]
\definefontsynonym [\s!MonoBoldItalic] [\s!file:consolaz] 
[\s!features=\s!default]
\stoptypescript
\protect


___
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] Consolas

2010-09-30 Thread Patrick Gundlach
Hi,

several days ago I asked about companions to Cambria, and Wolfgang kindly gave 
me this:

\definetypeface [mainface] [rm] [serif] [cambria]  [default]
\definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]
\definetypeface [mainface] [tt] [mono]  [consolas] [default] [rscale=auto]
\definetypeface [mainface] [mm] [math]  [cambria]  [default]


which works fine, except for consolas. Shouldn't consolas be defined like

 \starttypescript [mono] [consolas] [name]  
   \setups[\s!font:\s!fallback:\s!sans]
\definefontsynonym [\s!Mono]   [\s!file:consola]  
[\s!features=\s!default]
\definefontsynonym [\s!MonoBold]   [\s!file:consolab] 
[\s!features=\s!default]
\definefontsynonym [\s!MonoItalic] [\s!file:consolai] 
[\s!features=\s!default]
\definefontsynonym [\s!MonoBoldItalic] [\s!file:consolaz] 
[\s!features=\s!default]
\stoptypescript

instead of

Sans ? It's much more a monospace font then a Sans.

Thanks

Patrick

___
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] Still struggling with TABLE width

2010-09-30 Thread Patrick Gundlach
Hi,

as the subject says: I am still confused about widths of TABLE tables.

\bTABLE % [option=stretch]
\bTR
\bTD
A
\eTD
\bTD
A
\eTD
\eTR
\bTR
\bTD[nc=2]
%\hbox{A very very long text in one line, perhaps more}
A very very long text in one line, perhaps more
\eTD
\eTR
\eTABLE

what I'd like to get is a table that is as wide as the text in the second row 
(A very very long text in one line, perhaps more) or at most the line width and 
the other two cells (the first line) stretched to mach that width (see image). 
I am pretty sure that this is possible, but how?!?


Patrick

<>___
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] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
Thanks Wolfgang and Peter for the instructive samples.


> \starttext
> \bTABLE
>\bTR
>\bTD \input zapf   \eTD
>\bTD[width=1cm]\eTD
>\bTD \input ward   \eTD
>\bTD \input montgomery \eTD
>\eTR
> \eTABLE
> \stoptext


I actually use something like that quite often :)

Patrick



___
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] Problems with TABLE

2010-09-30 Thread Patrick Gundlach

>>  \bTD[nc=2,nr=2,background=color, backgroundcolor=yellow]
>>  \externalfigure[cow][width=.2\textwidth]  \eTD
> 
> 2 options:
> 
> - The cow gets smaller: \externalfigure[cow][width=\localhsize]
>  (does not work, I don't know why...)
> 
> - The table cells get bigger. You have to define the width. If you want to
>  span the cow 50%/50%, then
>  \setupTABLE[c][2,3][width=0.1\textwidth]


I hope that this is a bug and not a feature

Thanks!

Patrick

___
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] Problems with TABLE

2010-09-30 Thread Patrick Gundlach
Hi,

I still have some problems with TABLE:

\bTABLE[frame=on]
\bTR
  \bTD abc \eTD
  \bTD abc \eTD
  \bTD[frame=off,rightframe=on,rulethickness=1mm] abc \eTD
  \bTD abc \eTD
\eTR
\bTR
  \bTD[background=color, backgroundcolor=yellow] abc \eTD
  \bTD[nc=2,nr=2,background=color, backgroundcolor=yellow] 
\externalfigure[cow][width=.2\textwidth]  \eTD
  \bTD abc \eTD
\eTR
\bTR
  \bTD abc \eTD
  \bTD abc \eTD
\eTR
\bTR
  \bTD abc \eTD
  \bTD abc \eTD
  \bTD abc \eTD
  \bTD abc \eTD
\eTR
\eTABLE

1) the cow sticks out of the cell. How can I pen the cow to the cell? 
2) the third cell in the first row: when I turn on the right rule, the "abc" 
goes down. How can I have the abc on the baseline with the other ones in the 
first row _and_ have a right rule like that?

Patrick

___
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] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
Hello Peter,

thanks! I forgot to turn the frame off.

Patrick

___
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] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach

> 1) how do I define colsep in a TABLE table?

To clarify my wish: I would like to get a distance between two columns, see the 
attached image.


Patrick



<>___
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] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
Hi,

1) how do I define colsep in a TABLE table?
2) how do I get a left rule only in a TABLE cell? I've tried:

\bTR \bTD[leftframe=on,rulethickness=2pt] 2 \eTD  \eTR

but that gave me a completely framed cell.


Thanks

Patrick

___
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] Lua programming conventions..

2010-09-30 Thread Patrick Gundlach
Hi,

besides that what Luigi wrote, I'd recommend the Lua users wiki. Don't take 
everything there as "perfect" or "the official way", as it is just a users 
wiki, like our wiki.

http://lua-users.org/wiki/

Patrick

___
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] # in type in tabulate

2010-09-29 Thread Patrick Gundlach
Hello Hans, Wolfgang,

> \asciimode
> 
> \starttext
> 
> #ok \mono{#ok}

Thanks agin.

I've heard about \asciimode but forgot about it.

Is there any difference between \mono{...} and \type{...}? I guess that type 
does much more to catcodes, but apart from that, both seem to be similar.

Patrick

___
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] # in type in tabulate

2010-09-29 Thread Patrick Gundlach
Hi,

this breaks, any workaround?


---
\starttext
\type{#ok}

\starttabulate[|p(4cm)|]
\NC \type{#not ok}\NC\NR  % <--- bang!
\stoptabulate
\stoptext
---

Patrick
___
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] Cambria and companion fonts

2010-09-29 Thread Patrick Gundlach


>> While looking at Cambria, is there any typescript (or something similar) 
>> that defines for example Corbel or Candara as a companion to Cambria?
> 
> No but you can write your own typescript:
> 
> \definetypeface [mainface] [rm] [serif] [cambria]  [default]
> \definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]
> \definetypeface [mainface] [tt] [mono]  [consolas] [default] [rscale=auto]
> \definetypeface [mainface] [mm] [math]  [cambria]  [default]
> 
> \setupbodyfont[mainface]

OK, I see. (I only searched the .tex files, but missed the .mkiv while 
searching for "corbel"). Thanks again!


But even if I had seen the lines with corbel, I would have asked how to use the 
typescript. The definition in type-otf.mkiv goes like:

\starttypescript [sans] [corbel] [name]
...
...
\stoptypescript


I guess [name] is just a default classifier for defining the base level of a 
filename-font mapping, right? I assume that somewhere there is a statement like

\usetypescript [sans] [corbel] [name]

after saying 

\definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]

Is this the way this is done internally?

What exactly is rscale=auto ?


Patrick

___
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] Cambria and companion fonts

2010-09-29 Thread Patrick Gundlach

While looking at Cambria, is there any typescript (or something similar) that 
defines for example Corbel or Candara as a companion to Cambria?


Patrick


___
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] Cambria Math, sum

2010-09-29 Thread Patrick Gundlach
Hello Wolfgang, Florian and others

> 
> Works here with the latest beta: ConTeXt  ver: 2010.09.28 23:57 MKIV  fmt: 
> 2010.9.29  int: english/english

Now that I've got two responses that it works fine, I've updated my 
installation and now I have a perfect result. Sorry for the noise.


> 
> BTW: You don’t need \usetypescript in mkiv when the name of the typeface is 
> the same as the name of the typescript

Good to know!

Thank you

Patrick

___
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] Cambria Math, sum

2010-09-29 Thread Patrick Gundlach
Hi all,

I am pretty sure that this has been asked before (and is already solved)

With
---
\usetypescript[cambria]
\setupbodyfont[cambria]
\starttext
\startformula
\sum_{1 < i < 10}^j i + 42^{-2} %doesn't make any sense, I know
\stopformula
\stoptext
---

the sum sign is too small for my taste (the size of the line height). What is 
going wrong here? Is it the font or did I forget anything?

Patrick


MTXrun | current version: 2010.09.13 11:06


<>___
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] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach


> You can use \HR, it has more spacing before and after the line
> but it works correct in narrower text and itemize.


Sorry for the stupid question, but how do I use \HR?

\starttabulate[|p|p|]
\HR
\NC \input ward \NC \input zapf \NC\NR
\HR
\stoptabulate


gives me a misplaced noalign.

Patrick

___
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] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
Hello Wolfgang,

> Sorry but i don’t know what you mean, in my example the tabulate has the same
> width as the text in the narrower environment.

Insert an \HL and you'll see that this a bit strange.

> 
> \starttext
> 
> \input knuth
> 
> \startnarrower
> 
> \input knuth
> 
> \starttabulate[|p|p|]

\HL

> \NC \input ward \NC \input zapf \NC\NR
> \stoptabulate
> 
> \stopnarrower
> 
> \stoptext

Patrick

___
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] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
Hello Wolfgang,



> Use the “textwidth” key but keep in mind with the linecorrection you can
> use split tables, for tables which use indent from \startnarrower and
> split across pages you can use tabulate.

I am afraid I don't get the full meaning of your answer. When I use tabulate, I 
have exactly the same problem as I have with TABLEs:

-
\starttext
\startnarrower

\input tufte

\starttabulate[|l|l|]
\HL
\NC format  \NC meaning \NC\NR
\HL
\NC c   \NC centered\NC\NR
\NC l   \NC left aligned\NC\NR
\NC r   \NC right aligned   \NC\NR
\NC w(1cm)  \NC one line, fixed width   \NC\NR
\NC p(2cm)  \NC paragraph, lines broken to fixed width  \NC\NR
\NC cg(.)   \NC align on a character\NC\NR
\HL
\stoptabulate
\stopnarrower


\stoptext
-

(and I couldn't find a key from setuptabulate that changes the width of the 
table)

Patrick

___
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] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
Hi,

my goal is to make a table that is as wide as the current \startnarrower ... 
\stopnarrower part (thanks to the answer to this question on 
tex.stackexchange.com:  http://tex.stackexchange.com/q/3381/243 )


--
\starttext
\startnarrower

\input tufte

\bTABLE[option=stretch]
\bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
\bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
\eTABLE

\stopnarrower


\stoptext
--

Can I make the table exactly as wide as the text?


Patrick

___
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] How to start (again) with typescripts

2010-09-21 Thread Patrick Gundlach

> See type-otf.mkiv
> It's more simple than it seems.

Yes it is, thanks! 
What is the use of

\starttypescriptcollection[mytypescripts]
...
\stoptypescriptcollection

?

Patrick

___
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] How to start (again) with typescripts

2010-09-21 Thread Patrick Gundlach
Hello,

having been absent from the One and Only True Typesetting System for quite some 
time I'd like to try to write my software-documentation in MK IV.

Now I have several instances of a Frutiger font (ttf) and I guess I need to 
create a typescript. 

mtxrun --script fonts --list --all gives me 

frutigerce45lightfrutigercelight
/Users/patrick/Library/Fonts/Frutiger CE 45 Light.ttf
frutigerce45lightlight   frutigercelight
/Users/patrick/Library/Fonts/Frutiger CE 45 Light.ttf
frutigerce55romanfrutigerceroman
/Users/patrick/Library/Fonts/Frutiger CE 55 Roman.ttf
frutigerce55romannormal  frutigerceroman
/Users/patrick/Library/Fonts/Frutiger CE 55 Roman.ttf
frutigercelight  frutigercelight
/Users/patrick/Library/Fonts/Frutiger CE 45 Light.ttf
frutigerceroman  frutigerceroman
/Users/patrick/Library/Fonts/Frutiger CE 55 Roman.ttf
frutigerlt45lightfrutigerltlight
/Users/patrick/Library/Fonts/Frutiger LT 45 Light.ttf
frutigerlt45lightlight   frutigerltlight
/Users/patrick/Library/Fonts/Frutiger LT 45 Light.ttf
frutigerlt46lightitalic  frutigerltlightitalic  
/Users/patrick/Library/Fonts/Frutiger LT 46 Light Italic.ttf
frutigerlt55romanfrutigerltroman
/Users/patrick/Library/Fonts/Frutiger LT 55 Roman.ttf
frutigerlt55romannormal  frutigerltroman
/Users/patrick/Library/Fonts/Frutiger LT 55 Roman.ttf
frutigerltlight  frutigerltlight
/Users/patrick/Library/Fonts/Frutiger LT 45 Light.ttf
frutigerltlightitalicfrutigerltlightitalic  
/Users/patrick/Library/Fonts/Frutiger LT 46 Light Italic.ttf
frutigerltroman  frutigerltroman
/Users/patrick/Library/Fonts/Frutiger LT 55 Roman.ttf

Can I use this information to create a typescript? Where should I look for 
documentation on it? The wiki page (http://wiki.contextgarden.net/TypeScripts) 
is MK II only. The font chapter from the reference manual confuses me, as it 
deals a lot with encodings and I have not found an instruction as "If you need 
to install a new font family, do this and this and that". Does such a list 
exist? Can someone point me to instructions?

I know I should have asked last week... 

Patrick


___
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] A rose by any other name ....

2010-09-16 Thread Patrick Gundlach


> Is it possible to change the name of the font as it appears in the pdf file?
> 
> More specifically, I am using Termes font, but I want that the document 
> properties to show the name of the font as Times. Is that possible? Is doing 
> so a violation of the font license?

It sounds like a trademark infringement to me. I would be surprised if times is 
not a ®.

Patrick

___
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] document links in the wiki

2010-09-08 Thread Patrick Gundlach
Hi,


on the page 

http://wiki.contextgarden.net/ConTeXt_an_Excursion%2C_translations

there are some broken links, such as:

https://foundry.supelec.fr/docman/view.php/22/15/ma-cb-nl-screen.pdf


does anyone know where to find these files? Or are they gone?



Patrick
___
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] Verbatim line numbering: location intext/text, empty lines, wrapped lines

2010-08-03 Thread Patrick Gundlach

> (The wiki uses MkII?)

Yes


Patrick

___
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] 4th ConTeXt Meeting, update

2010-08-02 Thread Patrick Gundlach

Am 02.08.2010 um 19:04 schrieb Hans Hagen:

> On 2-8-2010 6:52, Alan BRASLAU wrote:
> 
>> That is unfair for those *unable* to attend.
> 
> Hey you *do* attend ... (and you can leak info as no one will check it)

I had to sign an NDA before I was allowed to register  Why may he leak any 
news? :)


Patrick

___
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] new current

2010-08-02 Thread Patrick Gundlach
Am 02.08.2010 um 09:51 schrieb Hans Hagen:

> I attached a test file: merge-002 has pages from merge-001.

I am really impressed. (Well, I am always impressed by your additions, but this 
time I think the possibilities of epdf are far more then I expect at the 
moment.)

Patrick

___
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] new current

2010-08-01 Thread Patrick Gundlach
>* Experimental support for keeping links in included pdfs
> \externalfigure[file.pdf][page=1,interaction=yes]


Is this done with the new luatex epdf library?

Patrick

___
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] CSS glitch in the garden

2010-06-30 Thread Patrick Gundlach
Hello Hraban,

> the menu column appears below instead left of the content area.
> logo position is ok, x positions of the areas seem also ok, just the y 
> position of the menu area is wrong.

I get the same results in Firefox and in Safari 5. So I cannot see the problem. 
Perhaps you can send me some screenshots (off list)?

Patrick

___
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] sgf package

2010-06-10 Thread Patrick Gundlach
> 
> Just removing the "t-" prefix.

done.

Patrick

___
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] sgf package

2010-06-10 Thread Patrick Gundlach
Hi,

> 
>> 2. After installing all the packages there is a t-layout directory
>> (instead of layout) in "texmf-context\tex\context\third" and
>> "texmf-context\doc\context\third". Probably mistake?
> 
> Up to the author to fix it. Patrick?

Should this be layout instead or just without that directory (so the files are 
in the directory "third")? Or what do you suggest?

Patrick

___
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] git repo is not updated?

2010-06-06 Thread Patrick Gundlach
Hi,

> 
> I see that context minimals is at 2010-06-05 version, hovewer git repo
> [1] is last updated on 2010-05-29.

> 
> So, experimental means no more updates :) It's now passed more then 24
> ours from my first email and still the git repository is not updated.

OK, I'l have a look into it and I will report back. I am interested what you 
use the git repo for.

Patrick



___
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] git repo is not updated?

2010-06-05 Thread Patrick Gundlach

Am 05.06.2010 um 18:25 schrieb Mojca Miklavec:

> On Sat, Jun 5, 2010 at 11:04, Hans Hagen  wrote:
>> On 5-6-2010 10:07, Marius wrote:
>>> 
>>> Hello,
>>> 
>>> I see that context minimals is at 2010-06-05 version, hovewer git repo
>>> [1] is last updated on 2010-05-29.
>>> 
>>> 
>>> http://contextgarden.wordpress.com/2009/07/29/news-from-the-git-repository/
>> 
>> the repos updates at midnight (so, once per day)
> 
> But I'm not sure when Patrick's repository updates.

at midnight ;-)

But I am surprised that there is actually a user out there. Beware, the 
repository is still experimental.

Patrick

___
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] contextgarden down?

2010-05-17 Thread Patrick Gundlach
Hi Jano,

> is contexgarden.net down for some maintenance, or just by an accident?

Thanks for the notice, I have asked the provider to restart the server, 
hopefully this helps... 

Patrick

___
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] ConTeXt name/branding

2010-04-27 Thread Patrick Gundlach
Hi Scott,

that's a good idea, we should rename it to 'latex 3'. That name is still free 
and it would fill the expectations of almost all TeX users out there.

Patrick

___
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] Help needed: texshow-web/command reference

2010-04-12 Thread Patrick Gundlach
> 
> This is fantastic news, and it looks great! Thanks Patrick. 

You're welcome! Lots of people have encouraged me to do so, so any input is 
welcome!

> 
> If the 'volunteers' are REALLY keen they could also change examples so that 
> they have the following form: 
> 
>  
>  Some example code for the command in question. 
>  
> 
> which then outputs both the raw code and the formatted output separated by 
> the word "yields". It makes examples so much more useful. 

This is a great suggestion! There are still approx. 50% of the commands to be 
checked, so if anyone on the lists has one or two spare minutes, again, the 
page is at

http://wiki.contextgarden.net/Category:Reference_Cleanup

Patrick

___
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] Help needed: texshow-web/command reference

2010-04-11 Thread Patrick Gundlach
Hi all,

the garden maintainers have moved the command reference from texshow-web 
(http://texshow.contextgarde.net) to the wiki, below the page

http://wiki.contextgarden.net/Category:Reference/en

This means, everybody can update the command reference now! Hooray!

The contents has been transferred automatically, but this process can lead to 
some unwanted formatting errors. To find these errors, we need your help:

Everybody: please pick one random command from 

http://wiki.contextgarden.net/Category:Reference_Cleanup

and make if this looks ok. If you are finished, please remove the first two 
lines from that page and save it.

If everybody from this list helps with _one_ command, we are quickly done with 
checking the new reference!


Thanks for your help!

Patrick (for the garden maintainers)

___
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] learning LuaTeX (was: Hans' presentation: using plain TEX (from TUG 2009) [apologies if OT])

2010-04-03 Thread Patrick Gundlach
Hello Graham,

> Thank you for your commnts. Oh, for sure, tinkering with
> plain is just an interim step along the (long...) road. A very minimal 
> "harness setup" to write minimal code --- to play with the various LuaTeX API 
> functions via GNU's gdb debugger. By building a small test 
> environment/playground from scratch, including compiling LuaTeX, and
> hacking together a basic TDS, gives me a way to learn about stuff like 
> kpathsea etc.

Besides the gdb part, this is pretty much how I "learned" LuaTeX (still on my 
path). I suggest you stay with plain, then add features as you go along:

* write your own font handler (see the bluewiki page) - LuaTeX supports many 
different kinds of fonts
* write your own kpathsea module (and thus replace kpathsea)
* do a nodelist traversal and find out about the different node types
* create a nodelist and write it out to TeX (node.write(...))
* use tex.linebreak() for creating a paragraph.
...

Hans' font stuff is rather advanced and therefore complex (IIRC > 1 lines 
of code), so don't try to understand it as your first exercise.

There is no need to use ConTeXt if all you want is knowledge of the LuaTeX API. 
If you understand german or use google translate, have a look at

http://www.luatex.de

Patrick

___
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] The ConTeXt book

2010-04-03 Thread Patrick Gundlach
Hi Michael,

> based on Luatex, but that would depend on Hans explaining how Luatex
> works

LuaTeX is documented very thoroughly. The manual is 180 pages and as far as I 
can see it mentions and describes every aspect of the API. I am not saying that 
from the reference manual alone I understand every detail (every now and then I 
need to ask a question on the mailinglist), but that is a different subject as 
TeX itself is rather complex (you need knowledge about glue and boxes for 
example).

Patrick

___
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] The ConTeXt book

2010-04-02 Thread Patrick Gundlach
> As of right now, Patrick has overstepped his self-imposed deadline
> for merging the texshow-web data into the wiki by 38 hours and 23
> minutes. :)


:-) Actually my load average goes down from 2.3 to 1.0 currently and probably 
down to 0.5 next week, so I hope not to push my deadline by more then 14 days.

Patrick

___
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] contextgarden.net is running again

2010-03-22 Thread Patrick Gundlach
Hi,

Hans van der Meer reported a broken minimals update. This was due to changes in 
the nameserver handling. Now the move to the new domain hoster is complete and 
everything should be back to normal.

Thanks for your patience,

Patrick

___
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] context beta not found

2010-03-17 Thread Patrick Gundlach
Hello Hans,

> Did I miss some change in the ConTeXt beta location? Or a server blackout?

a server blackout, better: a nameserver blackout.

I am currently moving the domain contextgarden.net (not the machine, just the 
name) to a different provider, because of the bad support of the old one. In 
the mean time all the subdomains (except for wiki - perhaps the others show up 
in 24 hours?) are broken.

I deeply apologize for the inconvenience and will report back once the move is 
over (hopefully in one week ore before).


Patrick

___
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] Wiki

2010-03-16 Thread Patrick Gundlach
Hi,

I have a problem with the nameservers for contextgarden.net. I am working on 
the problem.

Thanks Taco for the notification.

Patrick

___
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] ConTeXt forum engine

2010-03-15 Thread Patrick Gundlach
Hi all,

before everyone votes for a different software, what about a forum that is 
hosted by another company but reached from a contextgarden subdomain? There 
should be services on the net that support that?!?

And I would (probably) only use software that can be installed with ubuntu 
package manager from the distribution that is running on contextgarden to 
reduce maintenance.

Patrick

___
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] Modules section login (Was: Transliterator module, 2nd revision)

2010-03-12 Thread Patrick Gundlach
Hi Phillip,

> My wiki account is now almost two days old but I still can't login at
> the modules section.  I tried almost all possible permutations of login
> name, full name, upper-/lowercase to no avail.  How does it really work?

Sorry for that. Can you contact me off-list? Then we will "debug" it. I have 
slight feeling could be the cause.

Patrick

___
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] Transliterator module, 2nd revision

2010-03-11 Thread Patrick Gundlach
>> 
>> Can you also add the module to the module section [1] on the wiki,
> 
> We urgently need to have some "git server" or something similar on the
> garden for modules. Maybe SVN would also do for a while. The current
> approach is very clumsy to use.

I don't think that the users should learn git, that means an automatic solution 
on the server would be needed. But these are not trivial to implement. Perhaps 
something like auto-versioning svn does the trick?

Patrick

___
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
___


  1   2   3   4   5   6   7   8   9   10   >