Re: [NTG-context] grid + section in text - unwanted vertical space

2010-03-19 Thread Alex Lubberts
My solution was ... :
\setuphead[section][grid={low,fit}]

Regards,
Alex

On vr, 2010-03-19 at 15:10 +0100, Wolfgang Schuster wrote:
 Am 19.03.10 08:21, schrieb Mikael Persson:
  Dear list,
 
  With the following example:
 
  \setuplayout[grid=yes]
  \setuphead[section][alternative=text]
 
 \setuphead[section][alternative=text,strut=no]
 
 Wolfgang
 
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___


-- 
Alex Lubberts a...@lubberts.org

___
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] texworks with context on linux

2009-08-07 Thread Alex Lubberts
On do, 2009-08-06 at 23:02 +0200, Hans Hagen wrote:
  * ... almost. In the TeXworks.ini file I also had to replace all
  occurunces of 'mtxrun.cmd' (doesn't work on linux, is this correct for
  Windows?) with 'mtxrun'.
 
 needs testing

Well... it works! Except ofcourse starting the server, there I should
replace cmd.exe with bash or something like that. Haven't tried that
yet. But main thing is: typesetting works.

Regards,
Alex

-- 
Alex Lubberts a...@lubberts.org

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] texworks with context on linux

2009-08-05 Thread Alex Lubberts
Hi,

Yesterday I wanted to try out texworks for editing and typesetting my
context documents. I installed texworks from the ubuntu launchpad ppa
since '--goodies=texworks' doesn't work on linux-64, yet.

Then I ran into a few problems:

* The script mtx-texworks.lua wasn't able to start texworks because
unable to locate texworks. In the loop that's searching all the
binpaths I put in 'logs.simple(%s,p)' and found out that binpaths
only consists of one element: the complete PATH variable. I guess it
means that there's something wrong with the function file.split_path,
but I don't understand what's happening there. When I replaced the
loop with 'p=/usr/bin/texworks' texworks started as expected.

* However the typesetting engines were not correctly set up. Texworks
(at least on linux) seems to be looking for a file TeXworks.ini. The
one in the minimals distribution is called texworks.ini. Renaming this
solved it...

* ... almost. In the TeXworks.ini file I also had to replace all
occurunces of 'mtxrun.cmd' (doesn't work on linux, is this correct for
Windows?) with 'mtxrun'.

I wish I could help solve these points, but since I'm not much of a
programmer I cannot solve the first issue, and the other are just a
matter of renaming/replacing??

Regards,
Alex

-- 
Alex Lubberts a...@lubberts.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font features

2009-05-15 Thread Alex Lubberts
On vr, 2009-05-15 at 06:23 -0600, Idris Samawi Hamid ادريس سماوي
حامد wrote:
 On Fri, 15 May 2009 00:21:58 -0600, Wolfgang Schuster  
 schuster.wolfg...@googlemail.com wrote:
 
  \definefontfeature[onum][default][onum=yes]
 
 What is the second option for?

If I'm correct, this means define a font feature onum, that inherits
from default with the difference onum=yes.

Regards,
Alex

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \section and luatex

2009-04-19 Thread Alex Lubberts
On zo, 2009-04-19 at 11:36 +0100, Mohamed Bana wrote:
 \section Current Activities
 
 displays
 
 1 C
   urrent Activities
 
 
 could you please allow \section Other to use the entire word not just 
 the first Letter. 

\section is like any other command. All commands take the first
character as parameter. If you want to have a longer parameter you have
to put {}'s around it, like:

\section{Current Activities}

Regards,
Alex


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Appendix receives number instead of letter

2009-04-19 Thread Alex Lubberts
Hi,

Previously, \startappendices switched the numbering to letters, but with
the latest beta appendices receive a number. Numbering does restart from
1, however.

Example:
\starttext

\startfrontmatter
\completecontent
\stopfrontmatter

\startbodymatter
\chapter{Normal chapter}
This chapter receives a number.
\stopbodymatter

\startappendices
\chapter{Appendix}
This chapter should receive a letter A, but gets number 1
\stopappendices

\stoptext

Regards,
Alex


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to set a layout shown in the attachment png file?

2009-04-16 Thread Alex Lubberts
 I attached a PNG file to show the layout that I want. I want the text part
 narrowed and
 right aligned. I tried the following settings:

 \setuplayout
[backspace=20mm,
 topspace=20mm,
 height=257mm,
 width=170mm,
 %textwidth=115mm,
 header=10mm,
 footer=0mm,
 rightmargin=0mm,
 leftmargin=25mm,
 leftmargindistance=-25mm,]

 The problem is that text is too wide. I commented the 'textwidth' for it
 will make the
 narrowed text centering. What else do I need to set?

From the picture the exact measures are not clear, but perhaps you should
try:
  ...
  width=115mm,
  ...
  leftmargindistance=25mm]
'width' is used to set the textwidth. And 'leftmargindistance'is used to
indicate the distance between the lefmargin column and the body text, so I
think it should be a positive amount. This setting will result in an empty
backspace of 20mm + margin of 25mm + 25mm whitespace + 115mm bodytext +
cutspace of 25mm cutspace (assuming you're using A4 papersize).

Regards,
Alex


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt mkiv on Ubuntu (Hardy alpha)

2008-01-16 Thread Alex Lubberts
 ...is still not working for me.

 For those of you who have used mkiv under Ubuntu (or Debian, I
 suppose), had it worked out of the box or is some assembly
 required?

For me the linux minimals from minimals.contextgarden.net work perfectly
on Ubuntu 7.10. Very easy to install as well.

Regards,
Alex



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] selecting big bodyfont results in wrong size

2006-12-14 Thread Alex Lubberts
Hi all,

Some strange thing with fontsize is happening. In my typescript file is:

\starttypescript[Chaparral]
  \definetypeface [Chaparral][rm][serif][chaparral][dtp][encoding=uc]
...

because I want to use the 'dtp sizes' (and I'm using XeTex). For a
bodyfont of 12pt is defined in type-siz.tex:

\definebodyfontenvironment
  [12pt]
  [\s!text=12pt,\s!script=9pt,\s!scriptscript=7pt,
   \c!x=10pt,\c!xx=8pt,\c!big=14pt,\c!small=10pt]

So one would expect that switching to a big bodyfont will result in a
fontsize of 14pt. But when I typeset the next file:

\usetypescriptfile[type-adobe]
\usetypescript[Chaparral]
\setupbodyfont[Chaparral,12pt]

\starttext
Normal size is correct: \the\bodyfontsize.

\switchtobodyfont[big]
Big size should be 14pt, but is: \the\bodyfontsize.
\stoptext

I see that the big bodyfontsize is 14.4pt. (I attached the resulting
pdf.) How do I fix this?

Thanks and with regards,
Alex Lubberts


minimal.pdf
Description: Adobe PDF document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] figure captions in the margin

2006-10-25 Thread Alex Lubberts
On wo, 2006-10-25 at 18:44 +0200, Hans Hagen wrote:
  Does somebody know whether it is possible and how it is possible to
  place the caption of a figure in the margin?

 yes, actually i implemented this last week but i need to update the details 
 manual; captions can go in margins, hang in centered figures, there is 
 support for all kind of inner/outer alignments etc 

Great!
I looked at the source to find out how to do it. Am I right in thinking
that this should work?

\setupcaptions[location=outermargin]
\starttext
\placefigure{Caption}{\framed{Figuur}}
\stoptext

However, when I try this, there is no caption printed at all. Am I doing
something wrong?
(Perhaps, can I be of any assistance?)

Regards,
Alex

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] figure captions in the margin

2006-10-24 Thread Alex Lubberts
Hi,

Does somebody know whether it is possible and how it is possible to
place the caption of a figure in the margin?

Thanks,
Alex Lubberts

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] xetex and metapost

2006-09-16 Thread Alex Lubberts
Hi,

After switching to `XeConTeXt' my file with MP graphics (which ran fine
before) results in errors. I include a .mp-file like:

\startuseMPgraphic{dia1}
  input Diagram1 ;
\stopuseMPgraphic
\placefigure{Comment}{\externalfigure[Diagram1.1]}

When I run ConTeXt a file test-mprun.mp is created containing:

[...]
defaultfont:='Minion Pro:mapping=tex-text;
+onum;
+pnum';
defaultscale:=12.0pt/10pt;
[...]

which of course is responsible for the errors. Does anyone know how to
solve this?

Greetings,
Alex Lubberts

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Captions in the margin

2006-08-15 Thread Alex Lubberts
Hello,

After reading the details.pdf manual I succeeded in placing figures right
where I want them :)
However... I would like the caption to be placed in the margin (lining
either with the top or the bottom of the figure). I didn't find a way to
do this. Does anybody know how to achieve this?

Thanks,
Alex Lubberts

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] footnotes in margin

2006-03-20 Thread Alex Lubberts
Hi,

Does anybody know if it is possible to place footnotes in the margin? If 
so, how?

TIA,
Alex Lubberts
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context