[NTG-context] .jpeg not recognised in LMTX

2020-06-24 Thread Sytse Knypstra
Today I discovered that my LMTX version (2020.06.20) does not render an 
\externalfigure with .jpeg extension. After renaming to .jpg the picture 
is correctly shown. I would suggest to add the .jpeg extension to the 
list of allowed graphic types in LMTX.


With greetings,

Sytse Knypstra

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Sytse Knypstra

I followed Lutz Haseloff's suggestion and inserted

PLATFORM="linux-aarch64"

after the last esac in install.sh and indeed it installed ConTeXt LMTX.

I assume the insertion of the next two lines in the install.sh file on 
line 50 would solve the problem for future arm64 users (I didn't check):


    aarch64)
    PLATFORM="linux-aarch64" ;;

Hans and Lutz, thank you for your advice.

Sytse

P.S. This afternoon I accidentally sent this e-mail to a wrong address; 
I now see that Lutz proposes the same patch.

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Installing on arm64

2020-06-10 Thread Sytse Knypstra

Dear list members,

I tried to install ConTeXt on my Rock64 single board computer, which has 
an arm64 processor.


On March 10, 2020, Hans Hagen wrote on the list:

   ... Mojca and I decided to support yet another platform, this time
   arm 64 bit for which we use a raspberry pi running ubuntu 64 bit,
   which brings the platforms supported by the build bot to 15:...

On the Install page of ConTeXt garden I found ARM 64b as one of the 
options. So after downloading and extracting I ran the install.sh 
script. It gave me the error:


   Your system linux aarch64 is not supported (yet). You can ask on the
   ConTeXt mailing-list: ntg-context@ntg.nl.

Is it really possible to install ConTeXt on my Rock64 and what should I 
do to achieve that?


Thank you for your help,

Sytse Knypstra
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] balanced vertical spaces under \startcolumnset

2019-08-24 Thread Sytse Knypstra
Maybe paragraphs work for you?
(https://wiki.contextgarden.net/Columns)

Sytse


> Op 22 augustus 2019 om 15:37 schreef Jeong Dal :
> 
> 
> Dear Sytse Knypstra,
> 
> Thank you for your reply.
> 
> I read the manual “Columns” as you suggested.
> The command \setupcolumnsetstart made a balanced output.
> But my problem is little different from it.
> 
> I want exam paper of two columns in a page and  in each column 
>  two problems located with the same space for solution.
> In general, it worked well, except the solution space of the last problem.
> Without \column, the heights of the two problems in the last column are 
> different.
> With \column, the heights are same, but it create another extra blank page.
> 
> It is not a big problem, but I wonder there is a solution.
> 
> Thank you for your concern.
> 
> Best regards,
> 
> Dalyoung
> 
> > 
> > \setuplayout[grid=yes]
> > \emptylines[...] % see the command \emptylines in ConTeXtgarden
> > \setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9
> > \setupcolumnsetlines[...][...][...][...] % see the manual COLUMNS, page 9
> > %\showgrid % uncomment if you want to see the grid lines and line numbers
> > 
> > You find the manual COLUMNS under the heading 'Layout' on
> > https://wiki.contextgarden.net/Manuals.
> > 
> > With kind regards,
> > 
> > Sytse
> 
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] balanced vertical spaces under \startcolumnset

2019-08-21 Thread Sytse Knypstra
Dear Jeong Dal,

I use the following functions to control the start and end of columns in a 
columnset:


\setuplayout[grid=yes]
\emptylines[...] % see the command \emptylines in ConTeXtgarden
\setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9
\setupcolumnsetlines[...][...][...][...] % see the manual COLUMNS, page 9
%\showgrid % uncomment if you want to see the grid lines and line numbers

You find the manual COLUMNS under the heading 'Layout' on
https://wiki.contextgarden.net/Manuals.

With kind regards,

Sytse


> Op 20 augustus 2019 om 12:37 schreef Jeong Dal :
> 
> 
> Dear all,
> 
> I use the following code to make test.
> To make the same height blank spaces after the problems, I use \vfill before 
> \column.
> The problem is that the second \column creates extra blank page.
> But, without the second \column, the height of blank spaces of the second 
> column are different.
> 
> Is there a way to make the blank spaces height same while not to create a 
> blank page?
> 
> Thank you for reading.
> 
> Best regards,
> 
> Dalyoung
> 
> 
> \usetypescriptfile[type-siz]
> \usemodule[units]
> \setupbodyfont[10pt,rm]
> \definecolumnset
>  [exam]
>  [n=2]
> 
> \starttext
> 
> \startcolumnset[exam]
> 
> \startitemize[n]
> \item Answer to the questions:
>   \vfill
> 
>\item Answer to the questions:
>   \vfill
> 
> \column
> 
> \item Answer to the questions:
>   \vfill
> 
>\item Answer to the questions:
>   \vfill
> 
> %\column
> 
> \stopitemize
> \stopcolumnset
> 
> \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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] \setupcolumnsetlines does not work again

2019-08-19 Thread Sytse Knypstra
I thought I understood the mechanism, but I found another instance where 
\setupcolumnsetlines does not give the desired result:

%%%
\definecolumnset[Two][n=2]
\starttext
Test
%\page
\setupcolumnsetlines[Two][1][1][9]
\startcolumnset[Two]
\input knuth
\stopcolumnset
\setupcolumnsetlines[Two][1][1][9]
\startcolumnset[Two]
\input knuth
\stopcolumnset
\stoptext
%%%

This setup gives indeed a balanced first page and an unbalanced second page.
But if the fourth line (\page) is uncommented, the second output page is 
unbalanced and the third page is balanced.
So the mechanism is therefore more complicated than
> only if the first columnset extends to more than one page 
> the next \setupcolumnsetlines will work properly.

What is the extended rule? If this intended behaviour, what is the reason 
behind it?

Sytse


> Op 17 augustus 2019 om 23:54 schreef Sytse Knypstra :
> 
> 
> Wolfgang wrote:
> > The settings for the second columnset work when the first columnset goes 
> > over of two or more pages. 
> 
> Thank you, now I understand the mechanism: only if the first columnset 
> extends to more than one page, the next \setupcolumnsetlines will work 
> properly. Is this a bug or a feature? If it is a feature, what is the idea 
> behind it?
> 
> Sytse
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Sytse Knypstra
Wolfgang wrote:
> The settings for the second columnset work when the first columnset goes over 
> of two or more pages. 

Thank you, now I understand the mechanism: only if the first columnset extends 
to more than one page, the next \setupcolumnsetlines will work properly. Is 
this a bug or a feature? If it is a feature, what is the idea behind it?

Sytse
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Sytse Knypstra
Thank you, Denis and Wolfgang.
Wolfgang, your sentence 
> No, you set relative numbers (I checked it) but the first columnset
> environment ends on the third page because you leave just enough
> space on the second page to fit the text which produces an empty
> third page.
is not clear to me.
If \setupcolumnsetlines has to be specified before \starttext and if the second 
parameter denotes the absolute page number of the column to be limited, then 
the following example still does not work correctly for the second page (ouput 
consists of two pages).

\definecolumnset[Two][n=2]

\setupcolumnsetlines[Two][1][1][9]

\setupcolumnsetlines[Two][2][1][9]

\starttext

   \startcolumnset[Two]

\input knuth

   \stopcolumnset

   \startcolumnset[Two]

   \input knuth

   \stopcolumnset

\stoptext

Sytse

> Op 17 augustus 2019 om 15:14 schreef Denis Maier :
> 
> 
> Ok, have tried it now. No change ...
> 
> Am Sa., 17. Aug. 2019 um 13:33 Uhr schrieb Denis Maier :
> 
> > Also, what about \setupcolumnsetlines[Two][2][1][9]?
> >
> > Denis Maier  schrieb am Sa., 17. Aug. 2019, 13:32:
> >
> >> If I am remembering correctly, the documentation has \setupcolumnsetlines
> >> before \starttext.
> >>
> >> Sytse Knypstra  schrieb am Sa., 17. Aug. 2019,
> >> 12:59:
> >>
> >>> In an effort to balance columns in a columnset layout, I found that in
> >>> the following minimal example this effect is not obtained.
> >>> After commenting out the first three lines after \starttext the result
> >>> is ok.
> >>> I am wondering what I overlooked this time.
> >>>
> >>> \definecolumnset[Two][n=2]
> >>> \starttext
> >>>\startcolumnset[Two]
> >>>   \input knuth
> >>>\stopcolumnset
> >>>\page
> >>>\setupcolumnsetlines[Two][1][1][9]
> >>>\startcolumnset[Two]
> >>>   \input knuth
> >>>\stopcolumnset
> >>> \stoptext
> >>>
> >>> Thank you for your suggestions,
> >>>
> >>> Sytse Knypstra
> >>>
> >>> ___
> >>> 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://context.aanhet.net
> >>> archive  : https://bitbucket.org/phg/context-mirror/commits/
> >>> wiki : http://contextgarden.net
> >>>
> >>> ___
> >>>
> >>

> Op 17 augustus 2019 om 15:50 schreef Denis Maier :
> 
> 
> This here works for the first columnset, but not for the second one:
> 
> =
> \usemodule[newcolumnsets]
> 
> \definecolumnset[One][n=2]
> 
> \setupcolumnsetlines[One][1][1][9]
> \setupcolumnsetlines[One][1][2][9]
> \setupcolumnsetlines[One][2][1][9]
> \setupcolumnsetlines[One][2][2][9]
> 
> \definecolumnset[Two][n=2]
> \setupcolumnsetlines[Two][1][1][9]
> \setupcolumnsetlines[Two][1][2][9]
> \setupcolumnsetlines[Two][2][1][9]
> \setupcolumnsetlines[Two][2][2][9]
> 
> \starttext
>\startcolumnset[One]
>   \input knuth
> 
>   \input knuth
> \stopcolumnset
> 
> \startcolumnset[Two]
>   \input knuth
> 
>   \input knuth
> \stopcolumnset
> \stoptext
> ===
> 
> Am Sa., 17. Aug. 2019 um 15:14 Uhr schrieb Denis Maier :
> 
> > Ok, have tried it now. No change ...
> >
> > Am Sa., 17. Aug. 2019 um 13:33 Uhr schrieb Denis Maier  > >:
> >
> >> Also, what about \setupcolumnsetlines[Two][2][1][9]?
> >>
> >> Denis Maier  schrieb am Sa., 17. Aug. 2019, 13:32:
> >>
> >>> If I am remembering correctly, the documentation has
> >>> \setupcolumnsetlines before \starttext.
> >>>
> >>> Sytse Knypstra  schrieb am Sa., 17. Aug. 2019,
> >>> 12:59:
> >>>
> >>>> In an effort to balance columns in a columnset layout, I found that in
> >>>> the following minimal example this effect is not obtained.
> >>>> After commenting out the first three lines after \starttext the result
> >>>> is ok.
> >>>> I am wondering what I overlooked this time

[NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Sytse Knypstra
In an effort to balance columns in a columnset layout, I found that in the 
following minimal example this effect is not obtained.
After commenting out the first three lines after \starttext the result is ok.
I am wondering what I overlooked this time.

\definecolumnset[Two][n=2]

\starttext

   \startcolumnset[Two]

  \input knuth

   \stopcolumnset

   \page
   \setupcolumnsetlines[Two][1][1][9]

   \startcolumnset[Two]

  \input knuth

   \stopcolumnset

\stoptext


Thank you for your suggestions,

Sytse Knypstra
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] white space after a float in a column

2019-08-12 Thread Sytse Knypstra
Hi all,

In my recent question I had overlooked the possibility of using
\startplaceintermezzo
...
\stopplaceintermezzo
and inserting a \blank before the \stopplaceintermezzo.

Sorry for this stupid mistake and the noise.

With kind regards,

Sytse Knypstra
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] white space after a float in a column

2019-08-10 Thread Sytse knyps...@home.nl
Dear list members,

I am struggling with floats in a two-column layout. I understand that there are 
three up-to-date mechanisms for columns: columnsets, pagecolumns and pagegrids.

However, in neither setup I succeed in producing some extra vertical whitespace 
after the float if a caption is omitted (i.e. location=none in \setupcaption).

My example:



\definepapersize[square21][width=21cm,height=21cm]

\setuppapersize[square21][square21]

\definecolumnset[Two][n=2]

\setupcolumnset[Two]

\setupcaption[intermezzo][location=none,spaceafter=1cm]
 % no value for 
spaceafter seems to work
\setuptolerance[verytolerant,stretch]

\setupframedtexts[frame=on,corner=round,width=local]

\setuplayout[grid=yes]

\starttext

\startcolumnset[Two]

\input knuth \par

   \placeintermezzo[bottom][]{}

\startframedtext

\input tufte \par

\stopframedtext

   \input knuth \par

\stopcolumnset
\stoptext

If 'columnset' is replaced everywhere by 'pagecolumns' or by 'pagegrid' through 
a find-and-replace operation, the result remains identical.

Is it possible to insert more vertical white space after the intermezzo?

A secondary remark: \placeintermezzo always puts the framed text at the top of 
the next column, no matter whether the parameter is top or bottom. But this is 
not a big deal.

Sytse Knypstra
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Columnsets not balanced

2019-07-15 Thread Sytse knyps...@home.nl
Dear list,

In the following example I would like to have the two columns balanced, i.e. 
with equal number of lines in both columns. But contrary to the option in the 
definition, all text is put in the leftmost column and the right-hand column 
remains empty. 

\definecolumnset[Two][balance=yes]
\starttext
\startcolumnset[Two]
  \input knuth
\stopcolumnset
\stoptext

How can I automatically obtain balanced columns?

Sytse Knypstra
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-16 Thread Sytse Knypstra



On 15-12-15 14:14, Peter Münster wrote:

On Tue, Dec 15 2015, Sytse Knypstra wrote:


P.S. I couldn't find the test suite.

http://bfy.tw/3IIV  ;)


The first link on http://wiki.contextgarden.net/Test_suite gives:
"The requested URL /gf/project/contexttest/ was not found on this server."

Sytse
___
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] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Sytse Knypstra

Dear list members,

I experienced even more issues with specifying 'number=no' in \setuphead 
(for any level).
This seems not only to affect the numbering of figures and tables, but 
also the numbering of enumerations (it ignores the options 
'way=bychapter, prefix=chapter') and the section numbering ('1.0', 
'2.0', etc) in \setupheadertexts 
[\somenamedheadnumber{section}{current}][...etc].


Sytse Knypstra

On 15-12-15 09:45, Jan Willem Flamma <jwfregis...@icloud.com> wrote:

I ran into the following issue related to figure/float numbering.
I use numbered chapters, sections, subsections and unnumbered 
subsubsections. See minimal example below.
Figure numbering works as expected in the numbered chapters, sections 
and subsections.

Figures get numbered: Figure 1.1
The figure numbering is unexpected in the unnumbered sub subsection:
Figures get numbered: Figure 2 (in stead of the expected Figure 1.2)
I would like all figures (and floats) to be numbered in sequence 
according the chapter numbering:

Chapter 1: Figure 1.1, Figure 1.2, Table 1.3, Figure 1.4, etc
Chapter 2: Figure 2.1, Figure 2.2 etc
I've tried several \setupcaptions options but was unable to solve so far.
Everything works as expected when using a numbered subsubsection so 
the problem is somehow related to the number=no option

Minimal example:
\setuphead[chapter, section, subsection]
\setuphead[subsubsection]
[number=no]

... etc

___
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] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Sytse Knypstra

Sorry, I was not quite correct in my previous remark.
What I did observe is that the chapter number is omitted in enumerations 
with the options 'way= bychapter' and 'prefix=chapter' when placed under 
a subsubsection for which the option 'number=no' holds, and, as Jan 
Willem Flamma pointed out, it is then also omitted in the figure captions.

Maybe this is intended behaviour, but inconvenient for me.

P.S. I couldn't find the test suite.

Sytse


On 15-12-15 11:29, Hans Hagen wrote:

On 12/15/2015 11:13 AM, Sytse Knypstra wrote:

Dear list members,

I experienced even more issues with specifying 'number=no' in \setuphead
(for any level).
This seems not only to affect the numbering of figures and tables, but
also the numbering of enumerations (it ignores the options
'way=bychapter, prefix=chapter') and the section numbering ('1.0',
'2.0', etc) in \setupheadertexts
[\somenamedheadnumber{section}{current}][...etc].



fwiw: you can control numbering and prefixes at any level and for all 
constructs .. there are examples in the test suite


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-



___
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] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Sytse Knypstra

Thank you, Wolfgang,

I changed 'special' into another word and replaced 'incrementnumber=yes' 
by 'incrementnumber=list'.

But the result does still not reach my second goal:
my exercise numbers are still 1 and 1 instead of having chapter number 
prefixes (1.1 and 2.1).


Sytse

Sytse Knypstra <mailto:sytse.knyps...@home.nl>
30. November 2015 um 13:06
Dear list,



In the following minimal example I would like to have:

- the headings of \special in the toc, unnumbered

- in the text, the numbers of the exercises preceded by the chapter 
number

The first goal is achieved when uncommenting the two options under 
\setuphead,


the latter is achieved when uncommenting only the second option.
How can I realize both simultaneously ?


Thank you in advance,



Sytse

%%%

\definehead[special][subject]

Please use a different name because \special is a existing TeX command 
(but not used by ConTeXt MkIV).

\setuphead[special]

 [

%number=no,

%incrementnumber=yes,

]

Use only "incrementnumber=list".

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
___

[NTG-context] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Sytse Knypstra

Dear list,



In the following minimal example I would like to have:

- the headings of \special in the toc, unnumbered

- in the text, the numbers of the exercises preceded by the chapter number

The first goal is achieved when uncommenting the two options under 
\setuphead,


the latter is achieved when uncommenting only the second option.
How can I realize both simultaneously ?


Thank you in advance,



Sytse

%%%

\definehead[special][subject]

\setuphead[special]

 [

%number=no,

%incrementnumber=yes,

]


\setuplist[special][]

\definecombinedlist[content][chapter,section,special]



\defineenumeration[exercise]

[
text={},
way=bychapter,

prefix=chapter,

] 


\starttext

\placecontent

\chapter{First chapter}

\section{First section}

\special{Exercises}

\startexercise

This is my first exercise

\stopexercise

\chapter{Second chapter}

\special{Remaining exercises}

\startexercise

   Second exercise

\stopexercise

\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] How to place background text on proper page

2015-11-06 Thread Sytse Knypstra

Dear list members,

In the following minimal example the last block (on the background) is 
placed on page 3 while there is ample room for it on page 2.
Only when the \page command in line 6 is uncommented, this block is 
placed on page 2.
Is there a better way to force placement on page 2 or should I always 
put a \page command at the bottom of the previous page?
My '\page solution' has the disadvantage that, when applied in the 
middle of a sentence, the last line on the page is usually not aligned.


\define\block{\input knuth \blank}
\starttext

\block
\block
\block   % still on page 1
%\page

\block   % partially on page 2
\startbackground

\block   % only on page 2 if \page is uncommented
\stopbackground

\stoptext

Thanks in advance,
Sytse Knypstra
___
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] Typesetting levels of index differently

2015-09-23 Thread Sytse Knypstra

Dear list members,

I would like the second level of an index item be typeset differently 
from the first level, e.g. as in


\starttext
\index{level+{\it second}}
\completeindex
\stoptext

Instead of adding {\it ... } to each \index separately, could this be 
realized systematically, in e.g. one \setupregister command:


\setupregister[.?.]
\starttext
\index{level+second}
\completeindex % rendering 'second' as italic
\stoptext

Sytse
___
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] footnote in framedtext (Gerben Wierda)

2014-12-07 Thread Sytse Knypstra

Did you issue an \automigrateinserts in your setup?

Sytse

On 12/07/2014 12:00 PM, Gerben Wierdal wrote:

I'm using mkii. I have a \footnote in text between \startframedtext and 
stopframedtext, but the footnote is not typeset, neither at the bottom of the 
page nor at the bottom of the framed text. Is there a way to do that?

G
___
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] system Linux armv7l is not supported yet

2014-07-27 Thread Sytse Knypstra

On Sun, 27 Jul, 2014 at 4:06 AM, Mojca Miklavec wrote:

Can you please fetch first-setup.sh and try again?


This is the output of the command  sh ./first-setup.sh --modules=all:

receiving incremental file list

sent 25 bytes  received 155 bytes  360.00 bytes/sec
total size is 8,010,423  speedup is 44,502.35

mtxrun  | forcing cache reload
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on weird path 
'/home/sytse/context/bin' from specification 'selfautoloc:'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/share/texmf-local/web2c' from specification 
'selfautoloc:/share/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/share/texmf-dist/web2c' from specification 
'selfautoloc:/share/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/share/texmf/web2c' from specification 
'selfautoloc:/share/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/texmf-local/web2c' from specification 
'selfautoloc:/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/texmf-dist/web2c' from specification 
'selfautoloc:/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/texmf/web2c' from specification 
'selfautoloc:/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on weird path 
'/home/sytse/context' from specification 'selfautodir:'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/share/texmf-local/web2c' from specification 
'selfautodir:/share/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/share/texmf-dist/web2c' from specification 
'selfautodir:/share/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/share/texmf/web2c' from specification 
'selfautodir:/share/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/texmf-local/web2c' from specification 
'selfautodir:/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/texmf-dist/web2c' from specification 
'selfautodir:/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/texmf/web2c' from specification 
'selfautodir:/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'$SELFAUTOGRANDPARENT/texmf-local/web2c' from specification 
'$SELFAUTOGRANDPARENT/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on weird path 
'/home/sytse' from specification 'selfautoparent:'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/share/texmf-local/web2c' from specification 
'selfautoparent:/share/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/share/texmf-dist/web2c' from specification 
'selfautoparent:/share/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/share/texmf/web2c' from specification 
'selfautoparent:/share/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/texmf-dist/web2c' from specification 
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'

resolvers   | resolving |
resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  | the resolver databases are not present or outdated
mtx-update  | state, loaded
mtx-update  |
mtx-update  | update, start
mtx-update  | available platforms: freebsd freebsd-amd64 
kfreebsd-amd64 kfreebsd-i386 linux linux-64 linux-armhf linux-ppc mswin 
osx-64 osx-intel osx-ppc solaris-intel solaris-sparc win64

mtx-update  | available modules: 37
mtx-update  | + f-urwgaramond
mtx-update  | + f-urwgothic
mtx-update  | + t-account
mtx-update  | + t-algorithmic
mtx-update  | + t-animation
mtx-update  | + t-annotation
mtx-update  | + t-bnf
mtx-update  | + t-chromato
mtx-update  | + t-cmscbf
mtx-update  | + t-cmttbf
mtx-update  | + t-construction-plan
mtx-update  | + t

Re: [NTG-context] system Linux armv7l is not supported yet

2014-07-26 Thread Sytse Knypstra

On Sat, 26 Jul, 2014 at 10:43 AM, Mojca Miklavec wrote:


You can try:
svn co http://svn.contextgarden.net/suite-bin/tex/armel-linux
cd armel-linux/luatex
./luatex --version


I succeeded in the first two steps, but the third one did not work; it 
said:

sytse@MINIX_UBUNTU:~/context/armel-linux/luatex$ ./luatex --version
bash: ./luatex: No such file or directory


For TeX Live you could try:
svn co svn://tug.org/texlive/trunk/Master/bin/armhf-linux
cd armhf-linux
./luatex --version
(or do some sparse checkouts to save bandwidth)


This one resulted in:
sytse@MINIX_UBUNTU:~/context/armhf-linux$ ./luatex --version
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014) (rev 4971)

Execute  'luatex --credits'  for credits and version details.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2 or (at your 
option)
any later version. For more information about these matters, see the 
file

named COPYING and the LuaTeX source.

Copyright 2014 Taco Hoekwater, the LuaTeX Team.


I hope this helps you in finding out what is the correct flavour.

Sytse
___
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] system Linux armv7l is not supported yet

2014-07-25 Thread Sytse Knypstra

Dear list members,

Recently I purchased a Minix NEO X7 mediaplayer on which I managed to 
install Ubuntu (or rather: Xubuntu) 14.04. When I then tried to install 
the ConTeXt Standalone suite I immediately received the message:

Error: your system Linux armv7l is not supported yet.
Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)
The latter is what I am doing now.  

I was however able to Install ConTeXt from the Ubuntu repositories 
without a any problem.
FYI: the Minix NEO X7 is based on a Quad-Core ARM Cortex-A9 processor 
with Quad-Core Mali-400 GPU.


With kind regards,

Sytse Knypstra
___
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] system Linux armv7l is not supported yet

2014-07-25 Thread Sytse Knypstra

Thank you, Mojca for your reaction.

On Fri, 25 Jul, 2014 at 5:08 PM, Mojca Miklavec wrote:


We already have some binaries for ARM, two sets in TeX Live
(http://tug.org/svn/texlive/trunk/Master/bin/) and one set in our
minimals (http://svn.contextgarden.net/suite-bin/tex/armel-linux/)

The problem is that I don't know how to distinguish between the two
(or more) flavours or arm with a simple script. There is Little Endian
and Big Endian. And there is Hard Float or something like that.

Are you able to tell:
- Which of the two sets from TL works for you? (Or whether the
binaries on the garden work for you.)
- How to distinguish between different flavours?


Could you please be more specific about how I should test the three 
sets?

This is what I did:
1. I went to http://tug.org/svn/texlive/trunk/Master/bin/armel-linux/
I clicked on `context` and then on the first `download` on the page 
(behind Links to HEAD).
That brought me to a page saying: `link 
../../texmf-dist/scripts/context/stubs/unix/context`.

I don't know whether I took the correct steps and how to proceed.

2.  I went to http://tug.org/svn/texlive/trunk/Master/bin/armhf-linux/ 
and performed the same steps as under 1. with the same result.


3. I went to http://svn.contextgarden.net/suite-bin/tex/armel-linux/ 
and clicked on `luatex` and on the following page again on `luatex`.
I saved the file `luatex` (7.6 MB) but I don't know what to do with 
this file.
I changed the permission so that it can be executed. But execution gave 
the error message: `Failed to execute child process 
/home/sytse/context/luatex (No such file or directory)`.


Sytse


___
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] indenting in enumerations in mkiv

2014-07-02 Thread Sytse
Within the enumeration environment I want the first paragraph not to be 
indented, whereas the second and following paragraphs should start with 
an indent.


The example below works fine in mkii, but I would like to use mkiv in 
which the first line is also indented.


Sytse
--
\defineenumeration[example][text=Example,indenting={yes,medium,next}]
\starttext
contextversion: 2013.05.28 00:36 


command: context proef.tex

\startexample 
This first line is indented, but shouldn't. Runs ok under mkii.


This second line should be indented and is ok under both mkii and mkiv.
\stopexample

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

Re: [NTG-context] TeXnicCenter

2007-11-30 Thread Sytse Knypstra

Mojca Miklavec wrote:
 Hello,
 
 Is there any TeXnicCenter user on the list?

Yes, I am using TeXnicCenter.

 
 Wiki page
 http://wiki.contextgarden.net/Configure_TeXnicCenter_for_ConTeXt
 only has anonymous edits, and I have no windows here at the moment o test.
 
 I have no idea how that program works.
 
 Mojca
 
 
 -- Forwarded message --
 
 Sir,
 
 I have Protext installed on my machine with
 
 WinXp as OS. I have problems in getting the output. I have tried to
 configure TexnicCenter for Context. But whenever I try to compile my
 context document, I get the error message  cannot execute the command
  [DocOpen(%bm.pdf)][FileOpen(%bm.pdf)]. Where have I gone wrong?

This command is meant for Acrobat Reader. It should not appear in the
Command line arguments to pass to the compiler under the (La)TeX tab
in:  Build - Define Output Profiles ...

Instead you should enter [DocOpen(%bm.pdf)][FileOpen(%bm.pdf)]
under the Viewer tab after Command: under View project's  output and
under Forward Search.
And select: DDE command instead of Command line argument.

Sytse Knypstra
___
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 in TechnicCenter

2007-06-19 Thread Sytse Knypstra
Liesbeth,

Did you read the Wiki:
http://wiki.contextgarden.net/Configure_TeXnicCenter_for_ConTeXt

Sytse Knypstra

Hans Hagen wrote:
 Liesbeth van der Plas wrote:
  
 Als nieuw lid en nog niet eens Tex-gebruikster probeer ik, na 
 installatie van MiKTEX, TechnicCenter, Ghostscript en GSvieuw m.b.v. de 
 proTEXt- cd, een eerste ConTeXt-bestandje aan de praat te krijgen (LaTeX 
 lukt al wel).
  
 Volgens Steve Peter,
   The PracTEX Journal, TPJ 2005 No 02, 2005–04–15, Rev. 2005–04–17
   http://www.tug.org/pracjourn/2005-2/peter/peter.pdf 
 http://www.tug.org/pracjourn/2005-2/peter/peter.pdf 
 moest ik een nieuw Output Profile definieren.
 Voor het pad naar de compiler heb ik 
 C:\ProgramFiles\MidTeX2.5\miktex\bin\texexec.exe ingevuld (of moet dit 
 texmfstart.exe zijn?)
  
 Tot slot moet ik /_*Command line arguments to pass to the compiler*_/ 
 opgeven.
 De aanwijzing van S.Peter zegt me echter niets:
  
 *you can add any switches you use for texexec* * or **texmfstart** , 
 such as ** --pdf* .
  
  
 Bij LaTeX - PDF is de commandregel: *-interaction=nonstopmode %pm*
 Wat moet dit zijn bij ConTeX - PDF ??
 En wat moet ik invullen bij ConText - PS?
 
 ik heb je mail naar de context lijst geforward
 
 Hans
 
 -
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
   | www.pragma-pod.nl
 -
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

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

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


Re: [NTG-context] CtxTools problem

2007-05-03 Thread Sytse Knypstra
There already exists a file 'gunzip.exe' in the
...\context\tex\texmf-mswin\bin directory. You can rename this file into
unzip.exe.
Even better: maybe Hans could rename this file already into unzip.exe in
the standalone version.

Sytse Knypstra


Peter Rolf wrote:
 Keith McKay wrote:
 I'm having a bit of a problem when I run

 texmfstart ctxtools --update

 The output is given below.  

 texmfstart ctxtools --update
 CtxTools | updating F:/isoimage/usr/local/context/tex/texmf-local
 CtxTools | fetching cont-tmf.zip
 CtxTools | extracting cont-tmf.zip
 CtxTools | fatal error, make sure that you have 'unzip' in your path
 CtxTools | unable to extract cont-tmf.zip
 Exit code: 0
 I'm using the standalone version on WindowsXP.
 I use 7-Zip as my zip file tool and have that in my path.  I set this
 through windows control panelSystemAdvancedEnvironment variables.  I'm
 beginning to wonder if make sure that you have 'unzip' in your path means
 something else?

 Any tips?

 you can try
 
 http://gnuwin32.sourceforge.net/packages/unzip.htm
 
 Just copy unzip.exe in the 'bin' directory of TeX.
 
 
 HTH, Peter
 
 
 Thanks
 Keith McKay
 Hamilton, Scotland, UK. 

 No virus found in this outgoing message.
 Checked by AVG Free Edition. 
 Version: 7.5.467 / Virus Database: 269.6.2/785 - Release Date: 02/05/2007
 14:16
  

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

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

 
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

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

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


Re: [NTG-context] overset in ConTeXt

2007-02-19 Thread Sytse Knypstra
Maybe \bar{q}_2 or \overline{q_2}?

Sytse Knypstra

Jean Magnan de Bornier wrote:
 Hi all,
 I cannot find how to type a bar over a letter in math mode; in LaTeX the
 command is something like  \overset{-}{q}; but ConTeXt doesn't like it:
 
 ! Undefined control sequence.
 l.1869 p(q_1 +  \overset
 {-}{q_2})+q_1  \frac{dp}{dQ} - Cm_1(q_1) = 0
 ? X
 
 I have this:
 
 \usemodule[amsl]
 \usemodule[newmat]
 \usemodule[nath]
 
 doesn't seem enough, and I'm sure the solution is right there :-(
 
 tia

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


Re: [NTG-context] Example -- Solution Pair

2005-12-20 Thread Sytse Knypstra

Maybe the following works?

\defineenumeration[example][text=Example,coupling=solution]
\defineenumeration[solution][text=Solution,after={\hfill{$\Box$}\blank},coupling=example]

Sytse Knypstra

David Arnold wrote:

All,

Anyone have an environment something along the lines of:

\startexample
blah, blah, ...
\stopexample

\startsolution
blah, blah, ...
\stopsolution

With maybe a little square indicating the end of the solution?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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


Re: [NTG-context] (Re)installing mswintex

2005-11-03 Thread Sytse Knypstra

Dear Context users,

Willi, thank you for your reaction. I redid the whole process in which I 
inserted your instructions. In detail:


1. Rename the old directory C:\tex into C:\old_tex
2. Download mswintex.zip from Pragma
3. Unzip into C:\  (all files and directories are now under C:\tex)
4. Download cont-lmt.zip from Pragma
5. Unzip into C:\
6. Start a CMD shell and run the commands:
cd c:\tex
setuptex.bat
mktexlsr
texexec --make --alone nl en metafun

Then I tried a minimal example (\starttekst  Test \stoptekst)

and again this gave the following output:
...
systems : begin file test at line 1
(c:\tex\texmf-local/tex/context/base/pdfr-ec.tex)
fonts   : needs map file: original-base
fonts   : needs map file: ec-public-lm
fonts   : needs map file: ec-base
[1.1
Warning: pdfetex.exe (file pdftex.map): cannot open font map file
]
systems : end file test at line 5
 )
...
Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 72 not found
Output written on test.pdf (1 page, 2019 bytes).

Still puzzled.

Sytse Knypstra


Willi Egger wrote:

Hi Sytse,

You made a complete new installation of  the minimal ConTexT. - What you 
also should do is update the lm-fonts with the zip you can find at the 
Pragma-site.
I believe that this can solve your problem. At least in my case I 
updated the cont-tmf.zip and cont-lmt.zip into an existing minimal 
ConTeXt (an instllation which is about 2 months old) and it worked out 
of the box.


Kind regards

Willi

Sytse Knypstra wrote:


Dear ConTeXt users,

Yesterday I reinstalled the minimal ConTeXt under Windows XP.
I carried out the following steps:

1. Rename the old directory C:\tex into C:\old_tex
2. Download mswintex.zip from Pragma
3. Unzip into C:\  (all files and directories are now under C:\tex)
4. Start a CMD shell and run the commands:
cd c:\tex
setuptex.bat
mktexlsr
texexec --make --alone nl en metafun

Then I tried a minimal example and it gave me the following warnings:

[1.1
Warning: pdfetex.exe (file pdftex.map): cannot open font map file
]
and, in the end:

Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 72 not found

What did I do wrong?

Sytse Knypstra




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



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


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


Re: [NTG-context] (Re)installing mswintex

2005-11-03 Thread Sytse Knypstra



Taco Hoekwater wrote:

 Looks like your ConTeXt is not loading the map file pdftex needs
 to find the lmr12.pfb. If I run this:

Hello world! \bye

 I get this output:

   fonts   : resetting map file list
   fonts   : using map file: original-base
   fonts   : using map file: ec-public-lm
   fonts   : using map file: ec-base
   fonts   : using map file: original-ams-base
   fonts   : using map file: original-public-lm
 
(./valtest.tuo)[1.1{/home/taco/texmf/fonts/map/pdftex/context/original-empty.ma 



 
p}{/home/taco/texmf/fonts/map/pdftex/context/original-base.map}{/home/taco/tex 



 
mf/fonts/map/pdftex/context/ec-public-lm.map}{/home/taco/texmf/fonts/map/pdftex 



 
/context/ec-base.map}{/home/taco/texmf/fonts/map/pdftex/context/original-ams-ba 



 
se.map}{/home/taco/texmf/fonts/map/pdftex/context/original-public-lm.map}]


 And that is triggered by my cont-sys.tex, which contains:

   \autoloadmapfilestrue
   \resetmapfiles
   \loadmapfile[original-base.map]

   etc.

 So perhaps you cont-sys.tex is broken or missing?

 Cheers,
 Taco

My cont-sys.tex is present in c:\tex\texmf-local\tex\context\user
I didn't modify it after unzipping, so the uncommented lines are:

\unprotect
\setupencoding [\s!default=texnansi]
\autoloadmapfilestrue
\resetmapfiles

\donefalse \ifx\pdftexversion\undefined \else 
\ifnum\number\pdftexversion119

  \donetrue
\fi \fi \ifdone

  \loadmapfile[original-base.map]
  \loadmapfile[original-ams-base.map]
  \loadmapfile[original-public-lm.map]

\else

  \loadmapfile[original-base.map]
  \loadmapfile[texnansi-base.map]
  \loadmapfile[ec-base.map]
  \loadmapfile[qx-base.map]
  \loadmapfile[t5-base.map]
  \loadmapfile[8r-base.map]

  \loadmapfile[original-ams-base.map]
  \loadmapfile[original-ams-euler.map]

  \loadmapfile[original-public-lm.map]
  \loadmapfile[texnansi-public-lm.map]
  \loadmapfile[ec-public-lm.map]
  \loadmapfile[qx-public-lm.map]
  \loadmapfile[t5-public-lm.map]

\fi
\usetypescriptfile[type-buy]
\runMPgraphicstrue
\runMPTEXgraphicstrue
\useMETAFUNformattrue
\protectbufferstrue

\protect \endinput


Sytse Knypstra

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


Re: [NTG-context] (Re)installing mswintex

2005-11-03 Thread Sytse Knypstra

Sorry for the noise.
Mswintex works if I run texexec from the command line (in the CMD shell).

It does not work (any more) if I run the following command from my 
editor TeXnicCenter:

c:\tex\setuptex.bat  texexec.exe
with the arguments:
--bat --nonstop --pdf  %bm

That's still puzzling me, but I don't want to bother you with that problem.

Thank you for your help,

Sytse Knypstra

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


Re: [NTG-context] (Re)installing mswintex

2005-11-03 Thread Sytse Knypstra

Thanks to all of you who gave attention to my problem.

It was caused by something very stupid: a copy of some cont-sys.tex file 
was left about in same directory as my test file. After removing it, 
everything went fine.


A suggestion for Hans:
wouldn't it be a good idea to insert the following lines into the 
readme.txt file of mswintex.zip? It informs the user that cont-lmt.zip 
should also be downloaded and unzipped into the proper subdirectory.
Or even better, can't you include the cont-lmt files into mswintex.zip 
in order to make points 3 and 4 superfluous?


Installation of the minimal ConTeXt distribution for Windows:
1. Download mswintex.zip from Pragma
2. Unzip into C:\  (all files and directories are now under C:\tex)
3. Download cont-lmt.zip from Pragma
4. Unzip into C:\tex\texmf-fonts
5. Start a CMD shell and run the commands:
cd c:\tex
setuptex.bat
mktexlsr
texexec --make --alone nl en metafun
C:\ can be replaced by any other (sub)directory name


Sytse Knypstra

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


[NTG-context] (Re)installing mswintex

2005-11-02 Thread Sytse Knypstra

Dear ConTeXt users,

Yesterday I reinstalled the minimal ConTeXt under Windows XP.
I carried out the following steps:

1. Rename the old directory C:\tex into C:\old_tex
2. Download mswintex.zip from Pragma
3. Unzip into C:\  (all files and directories are now under C:\tex)
4. Start a CMD shell and run the commands:
cd c:\tex
setuptex.bat
mktexlsr
texexec --make --alone nl en metafun

Then I tried a minimal example and it gave me the following warnings:

[1.1
Warning: pdfetex.exe (file pdftex.map): cannot open font map file
]
and, in the end:

Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 72 not found

What did I do wrong?

Sytse Knypstra




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


Re: [NTG-context] How to use Lucida bright font after installing mswintex

2005-08-25 Thread Sytse Knypstra

Thank you, Taco, now it works ok.

Sytse

Taco Hoekwater wrote:


Hai Sytse,

It looks like your new installation is conflicting with the old
(pre-texfont / pre-typescripts) support for Lucida Bright.

type-buy.tex in the ConTeXt distribution already contains a
typescript named lucida, and that typescript maps straight
to lbmo.tfm, but TeXfont probably created texnansi-lbmo.tfm
and a new typescript called lbr that uses those metrics.

So I guess you should try

  \usetypescript[lbr][texnansi]
  \switchtobodyfont[lbr,11pt]

instead of


   \gebruiktypescript[lucida][texnansi]
   \switchtotypeface[lucida][11pt]



and see where that leads you.

Succes, Taco

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


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


[NTG-context] How to use Lucida bright font after installing mswintex

2005-08-24 Thread Sytse Knypstra

Dear ConTeXt users,

Last Friday I installed the minimal ConTeXt under Windows XP and tried 
also to make the lucida bright font available. I carried out the 
following recipe:


1. Download the latest mswintex.zip from Pragma
2. Unzip into C:\  (all files and directories are now under C:\tex)
3. Start a CMD shell and run the commands:
cd c:\tex
setuptex.bat
mktexlsr
texexec --make --alone nl en metafun
4. Copy all 139 lucida related .afm and .pfb files to c:\temp
5. From this directory run:
texfont --fontroot=c:/tex/texmf-local --ve=yandy --co=lbr --ma --in
6. Add \loadmapfile[context-base] to cont-sys.tex

In TeXnicCenter I edited test files and ran the command
   c:\tex\setuptex.bat  texexec
with the arguments
   --bat --nonstop --pdf --color %bm

All went well and a test file using e.g. the bookman font produced the 
desired result. But trying to use the lucida bright font gave the error:
 ! Font \*lucida6ptmmmi*:=lbmo at 6.0pt not loadable: Metric (TFM) file 
not foud.

The error occurred after the following three lines:
   \loadmapfile[texnansi-yandy-lbr.map]
   \gebruiktypescript[lucida][texnansi]
   \switchtotypeface[lucida][11pt]

Any help is highly appreciated.

Sytse Knypstra

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


Re: [NTG-context] how to use Times Roman font

2005-07-20 Thread Sytse Knypstra
On 2005-03-20 and 2005-03-21 there was a thread on this list about using 
the Times Roman font under the CONTEXT distribution for Windows.


I'm running into similar problems (also with the Bookman and Lucida 
bright fonts) and I am curious whether the problem was solved and how.


Sytse Knypstra

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


Re: [NTG-context] Re: Tutorial

2005-04-12 Thread Sytse Knypstra

Gary wrote:
Patrick Gundlach wrote:
I am currently working in a Windows (XP) environment but if it makes
a difference and Linux is more suitable for a Tex environment I move
to a Unix based one then. Thanks for the reply.
  

No problem, there are several windows users on this list. But I don't
know which distribution is currently preferred. MikTeX?
 

I can't speak for any other distribution, but MikTeX is practically 
mindlessly easy to install and maintain.  And it seems to work.

http://www.miktex.org/ You should be able to produce ConTeXt documents
out of the box when installed properly.
Hope this helps,
Patrick
I would definitely not recommend MikTeX. Sooner or later, if your 
projects are growing, you run into the error:
 ! TeX capacity exceeded, sorry [hash size=35000].
and MikTeX does not provide a way to increase hash size.
See the discussion on
http://archive.contextgarden.net/message/20031205.084314.a5019886.html

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


Re: [NTG-context] Bold math

2004-08-31 Thread Sytse Knypstra
At 8/30/2004 10:50, you wrote:
Is there a simple way to get bold (, |, *, and ) in math?
nikolai
I don't know how to get them in the standard cmr fonts, but I have the 
lucida fonts installed and realised these bold characters as follows:

\definetypeface [mainface] [rm] [serif]   [lucida] [default] 
[encoding=texnansi]
\definetypeface [mainface] [tt] [mono][lucida] [default] 
[encoding=texnansi]
\definetypeface [mainface] [ss] [sans][lucida] [default] 
[encoding=texnansi]
\definetypeface [mainface] [mm] [math,bfmath] [lucida] [default] 
[encoding=texnansi]
\setupformulas [method=bold]
\usetypescript [lucida] [texnansi]
\switchtotypeface  [lucida] [12pt]
\switchtobodyfont[mainface]
\usemathcollection[lbr]
\setupbodyfont[mainface]

\starttext
${\bfm ( |  *  )}$
\stoptext
Sytse Knypstra
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Boldmath Lucida

2004-08-26 Thread Sytse Knypstra
Hi all,
When writing a mathematical text I encountered a few problems with bold 
symbols.
Under the line you will find three problems (dutch interface).
Are they due to my insufficient knowledge of installing fonts?
Thanks for any comment.

Sytse Knypstra
==
\definetypeface [mainface] [rm] [serif]   [lucida] [default] 
[encoding=texnansi]
\definetypeface [mainface] [tt] [mono][lucida] [default] 
[encoding=texnansi]
\definetypeface [mainface] [ss] [sans][lucida] [default] 
[encoding=texnansi]
\definetypeface [mainface] [mm] [math,bfmath] [lucida] [default] 
[encoding=texnansi]
\stelformulesin [methode=vet]
\gebruiktypescript [lucida] [texnansi]
\switchtotypeface  [lucida] [12pt]
\switchnaarkorps[mainface]
\usemathcollection[lbr]
\stelkorpsin[mainface]

\starttekst
Problem 1:
${\bfmath x}$   gives boldface standard  x.
${\bfmath x}{\bfm }$  gives boldface italic $x$ which is what I want.
${\bfmath \Gamma}$  gives a space;
only ${\bfmath \Gamma}{\bfm }$  gives the boldface italic $\Gamma$ that I want.
Problem 2:
${{\bfm \beta}}$  gives a wrong glyph (in fact the ligature 'fi').
Problem 3:
After $\bfm \beta$ the text is no longer  printed in the same Lucida Bright 
style as before.

\stoptekst
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Superimposing two flowcharts

2004-04-22 Thread Sytse Knypstra
Hi all,

I would like to make a flowchart in which one shape (FLOWcell) is 
essentially bigger than the other shapes (in fact it should occupy the 
space for two ordinary shapes).
Now I made two flowcharts; one consists of the one bigger shape, while the 
other consists of the remaining shapes (of which two are invisible because 
their shape is defined as `node'). My idea is to put one flowchart on top 
of the other.
Is this possible? And if it is, how should I do this?
B.t.w. using `offset=overlay' in \setupFLOWcharts gives a syntax error.

Sytse Knypstra

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TeX capacity exceeded, sorry [hash size=35000]

2003-12-09 Thread Sytse Knypstra
As I got no solutions to this problem, my conclusion is that it is not 
possible to enlarge the hash size parameter in MikTeX.
For serious work with ConTeXt I should therefore drop MikTeX and take e.g. 
the TeXLive distribution.
Is this a valid conclusion?

Sytse

At 12/5/2003 10:43, I wrote:
Hi,

When using Hans' adaptation for typesetting bold math in a small example
everything went fine.
But when using it in a somewhat larger text I ran into the error: ! TeX
capacity exceeded, sorry [hash size=35000].
I remember a discussion a few months ago about this problem in MikTeX.
Is there any solution in MikTeX available?
Thanks,

Sytse


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bold math

2003-11-21 Thread Sytse Knypstra
Ahoj,

On November 11 I asked the list how I could generate bold greek math 
symbols (I have the lucida family installed).
Until now I didn't get a response, so maybe I should be more specific.

Let me put it this way:
On page 12 of the `Fonts in ConTeXt' manual I find the footnote:
`Bold math is already prepared in the core modules, so normally one can do 
with less code.'

Can anybody tell me what code I have to add and where?
I would like to get the following line
$\theta = {\bfmath \alpha' x}$
with \theta in normal math and \alpha and x in math boldface?
Sytse Knypstra

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bold math

2003-11-11 Thread Sytse Knypstra
Hi all,

I would like to use bold greek math symbols (I have the lucida family 
installed).
In the `Fonts in ConTeXt' manual I concluded from page 12 that this should 
be relatively simple.
However all my attempts failed: either I got the normal math symbols or I 
got all (roman and greek) symbols bold,
whereas I want to use them alternately.
I tried the description on the pages 13 and 14, but I couldn't get it working.
I simply inserted `,boldmath' in the lucida typescript in the file type-exa 
and it gave me all symbols bold.
I must admit that I don't understand much of what is written in the `Fonts 
in ConTeXt' manual.

Can anybody give me a solution of how to achieve this?

BTW. Shouldn't this feature be a standard one in ConTeXt?

Thanks
Sytse
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] No MP graphics after installation under MikTeX

2003-06-03 Thread Sytse Knypstra
Dear ConTeXt users,

I tried to (re)install ConTeXt under MikTeX in the following way, but a 
simple test file with a flowchart and a MP graphic gave me the texts of the 
flowchart only. Can anybody give me advice?
Thank you in advance,

Sytse Knypstra

These are the steps I took:

0. Perl has already been installed; MS-DOS path contains a.o.
   d:\perl\bin;c:\localtexmf\context\perltk;c:\texmf\miktex\bin
1. Remove old MikTeX through the Control Panel.
   Delete old localtexmf and texmf directories
2. Install MikTeX 2.2 (large). The localtexmf and texmf trees are generated.

3. Remove ConTeXt files through the MikTeX Package Manager.

4. Unzip cont-tmf.zip in c:\localtexmf

5. Unzip runperl.zip in c:\localtexmf\context\perltk

6. Copy texexec.rme to texexec.ini
   Add a % before: set  TeXShell  to  tetex
   Uncomment: % set  TeXShell  to  miktex
7. Copy runperl.exe to texexec.exe, fdf2tan.exe, fdf2tex.exe, makempy.exe, 
mptopdf.exe, texfind.exe, texfont.exe, texshow.exe,
   texutil.exe

9. Open a MS-DOS window and go to directory c:\localtexmf\context\perltk.
   Run texexec --verbose. This gives an overview of the settings.
10. In the file pdftex.cfg in the directory c:\texmf\pdftex\config I add:
map +context.map
11. In the directory c:\localtexmf\tex\context\user copy the file 
cont-sys.rme to cont-sys.tex and add:
\setupoutput [pdftex]
\recycleMPslotstrue
Uncomment the following lines:
\runMPgraphicstrue  and
\runMPTEXgraphicstrue
Now the following lines are active:
\unprotect
\setupoutput [pdftex]
\runMPgraphicstrue
\runMPTEXgraphicstrue
\recycleMPslotstrue
\useMETAFUNformattrue
\newprettytrue
\protectbufferstrue
\protect \endinput

12. In c:\texmf\miktex\config we find the file miktex.ini
Under the heading [ConTeXt] add:
pool_size=100
write18=enable
Under [pdfeTeX] add:
openout_any=a
shell_escape=t
allow_multiple_suffixes=f
13. Regenerate de filename database through MikTeX - Options.

14. In the MS-DOS window go to the directory c:\localtexmf\miktex\fmt and run:
texexec --make en nl metafun mptopdf
Copy the file metafun.mem to c:\localtexmf\miktex\mem
15. Maybe redundant:  regenerate the MikTeX filename database.

16. A simple testfile  with a short text, a flowchart and a metafun graphic
does not generate the graphics, but the texts only.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context