Re: [NTG-context] Continuous chapter numbering without prefixes in documents with parts

2011-07-07 Thread Julian Becker
Thanks again, Thomas.

2011/7/1 Thomas Schmitz tschm...@uni-bonn.de

 On Fri, 1 Jul 2011 15:33:07 +0200

  Julian Becker becker.jul...@gmail.com wrote:

 Thank you Thomas, and sorry for not having performed a proper search
 priorly.
 Still, the thread you refered me to only provides half of what I need (if
 I
 didn't miss anything):

 I added the line:
 \setuphead[chapter][chaptersegments=chapter]
 which indeed got rid of the chapter number prefix.
 Still,  the chapter numbering gets reset in each new part. How can I avoid
 that?

  Excuse me for sounding a bit grumpy, but please make
 complete minimal examples.


I'll try to keep that in mind, next time.

Julian



 Which means they should be
 compilable, see
 http://www.minimalbeispiel.de/mini-en.html. Here is one
 such example which does what you want (and this solution could also be
 found in the list archive):

 \definestructureresetset[default][0,0][1]

 \setuphead[part][sectionresetset=default]

 \setuphead[part][placehead=yes]

 \setuphead[chapter][sectionsegments=chapter,ownnumber=yes]

 \starttext

 \startpart[title=First part]
 \startchapter[title=Chapter one]
 \input tufte
 \stopchapter
 \startchapter[title=Chapter two]
 \input tufte
 \stopchapter
 \stoppart
 \startpart[title=Second part]
 \startchapter[title=Chapter three]
 \input tufte
 \stopchapter
 \startchapter[title=Chapter four]
 \input tufte
 \stopchapter
 \stoppart
 \stoptext


 Thomas

 ___
 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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: integral sign has wrong size

2011-07-01 Thread Julian Becker
In this case, is there a quick workaround? I tried something like redefining
\int
using
\def\int{\getglyph{CambriaMath}{\charF05C2}\intlimits}

This gives the desired result in displaystyle, but is incompatible with
scriptstyle math. Is there a way to adapt this workaround to account for
this in some way?

Best regards,
Julian


2011/7/1 Taco Hoekwater t...@elvenkind.com

 On 06/30/2011 10:46 AM, Julian Becker wrote:

 Hello everybody!
 I tried doing some math typesetting with Cambria, but somehow the
 integral sign comes out somewhat smaller than it should be.
 Running the following   in the latest beta produces the  attached pdf.
 Does anybody have an idea about what's going wrong here, or how to fix it?


 It is a regression (it was ok with older context versions) but I am not
 sure what is causing it. The most likely cause is that the metrics
 patch to CambriaMath is no longer applied, but I do not quite remember
 how to check that.

 Best wishes,
 Taco

 ___
 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

 ___

___
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: integral sign has wrong size

2011-07-01 Thread Julian Becker
Thanks Khaled,
this works like a charm!

Best wishes,
Julian

2011/7/1 Khaled Hosny khaledho...@eglug.org

 Try setting \Umathoperatorsize\displaystyle=2em or so until you find a
 suitable value.

 On Fri, Jul 01, 2011 at 09:25:27AM +0200, Julian Becker wrote:
  In this case, is there a quick workaround? I tried something like
 redefining \
  int
  using
  \def\int{\getglyph{CambriaMath}{\charF05C2}\intlimits}
 
  This gives the desired result in displaystyle, but is incompatible with
  scriptstyle math. Is there a way to adapt this workaround to account for
 this
  in some way?
 
  Best regards,
  Julian
 
 
  2011/7/1 Taco Hoekwater t...@elvenkind.com
 
  On 06/30/2011 10:46 AM, Julian Becker wrote:
 
  Hello everybody!
  I tried doing some math typesetting with Cambria, but somehow the
  integral sign comes out somewhat smaller than it should be.
  Running the following   in the latest beta produces the  attached
 pdf.
  Does anybody have an idea about what's going wrong here, or how
 to fix
  it?
 
 
  It is a regression (it was ok with older context versions) but I am
 not
  sure what is causing it. The most likely cause is that the metrics
  patch to CambriaMath is no longer applied, but I do not quite
 remember
  how to check that.
 
  Best wishes,
  Taco
 
 ___
  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
 
 ___
 
 

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


 --
  Khaled Hosny
  Egyptian
  Arab

 ___
 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

 ___

___
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] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Julian Becker
Does anybody know how to implement a continuous numbering of chapters in
documents with several parts?

More specifically: how can I achieve the following numbering scheme (with
unprefixed chapter numbers):
I First part
1 Chapter one
2 Chapter two
II Second part
3 Chapter three


I tried (unsuccessfully) the following:

\setuphead[part][placehead=yes]
\starttext
\part{First part}
\chapter{Chapter one}
\chapter{Chapter two}
\part{Second part}
\chapter{Chapter three}
\stoptext

The here result is something like:
First part
1.1 Chapter one
1.2 Chapter two
Second part
2.1 Chapter three


I tried to get rid of the chapter prefixes by putting
\setuphead[chapter][prefix=no]
but that had no effect whatsoever.

Any ideas?

Julian
___
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] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Julian Becker
Thank you Thomas, and sorry for not having performed a proper search
priorly.
Still, the thread you refered me to only provides half of what I need (if I
didn't miss anything):

I added the line:
\setuphead[chapter][chaptersegments=chapter]
which indeed got rid of the chapter number prefix.
Still,  the chapter numbering gets reset in each new part. How can I avoid
that?

Julian


2011/7/1 Thomas Schmitz tschm...@uni-bonn.de

 On Fri, 1 Jul 2011 15:02:22 +0200
  Julian Becker becker.jul...@gmail.com wrote:

 Does anybody know how to implement a continuous numbering of chapters in
 documents with several parts?

 More specifically: how can I achieve the following numbering scheme (with
 unprefixed chapter numbers):
 I First part
 1 Chapter one
 2 Chapter two
 II Second part
 3 Chapter three


 I tried (unsuccessfully) the following:

 \setuphead[part][placehead=yes]
 \starttext
 \part{First part}
 \chapter{Chapter one}
 \chapter{Chapter two}
 \part{Second part}
 \chapter{Chapter three}
 \stoptext

 The here result is something like:
 First part
 1.1 Chapter one
 1.2 Chapter two
 Second part
 2.1 Chapter three


 I tried to get rid of the chapter prefixes by putting
 \setuphead[chapter][prefix=no]
 but that had no effect whatsoever.

 Any ideas?


 Yes: search the list; the same question was asked three weeks ago, together
 with a solution:
 http://archive.contextgarden.net/message/20110619.234245.2e8ee926.en.html

 Thomas

 ___
 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

 ___

___
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] writing the name of the section on all the pages

2011-06-15 Thread Julian Becker
Is there a way to skip these margin texts momentarily, e.g. on the first
page of a new chapter?

Julian

2011/5/20 Wolfgang Schuster schuster.wolfg...@googlemail.com


 Am 19.05.2011 um 23:59 schrieb alexan...@stdin.fr:

  Thanks again,
 
  it works very well. However I still have one question: is it possible to
 decide of the placement of the overlay and its alignment? With your example
 the section name is centered both horizontally and vertically. I'd like to
 flush it right at least.

 In many cases you can replace your overlay with a layer (\setlayer etc.)
 but in your case you can replace

 \setupbackgrounds [state=repeat]
 \defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}]
 \setupbackgrounds [text] [rightmargin] [background=side]

 with

 \setuptexttexts [margin]
  [][\rightaligned{\rotate[rotation=90]{\getmarking[section]}}]
  [\leftaligned{\rotate[rotation=90]{\getmarking[section]}}][]

 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] verbatim text in MkIV and \installprettytype...

2011-06-12 Thread Julian Becker
Recently, I tried to typeset some verbatim MATLAB source codes in MkIV, but
I can't seem to be able to grasp the concept of pretty printers.
All the sample codes I found on the net/wiki/mailing list don't compile,
complaining that \installprettytype is an unknown command...?!

Is there any module I have to load first or something I missed in the wiki?
Or can anyone provide me with a minimalistic example?

Best regards,
Julian
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-04 Thread Julian Becker
Thank you everybody for your answers.  Writing Tr{\a}ger as Thomas
suggested works well, but unfortunately, I'm using Mendeley Desktop for the
management of my bibtex file and I can't seem to be able to influence the
way in which it encodes the special characters.

@Mojca: Indeed, it also fails if I just write Träger in UTF-8 encoding
(however, Schräger works just fine. All combinations where the ä is at
the third place of the word seem to fail.). The error message is similar but
slightly different now. The log file shows the following:
---
system  begin file test.tex at line 3
publications  loading database from test.bbl
(test.bbl
! String contains an invalid utf-8 sequence.
l.1 \setuppublicationlist[samplesize={Tr
Ã06},totalnumber=1]
A funny symbol that I can't read has just been (re)read.
Just continue, I'll change it to 0xFFFD.

! String contains an invalid utf-8 sequence.
l.5 n=1,s=Tr
Ã06]
A funny symbol that I can't read has just been (re)read.
Just continue, I'll change it to 0xFFFD.

! String contains an invalid utf-8 sequence.
\doifassignmentelse ...gnmentelse \detokenize {#1}
=@@\@end@ \expandafter \se...
\dostartpublication ... -\doifassignmentelse {#1}
{\getparameters [\??pb ][k...
l.9 \stoppublication

A funny symbol that I can't read has just been (re)read.
Just continue, I'll change it to 0xFFFD.

)
---

Julian


2011/6/4 Pontus Lurcock p...@talvi.net

 On Fri 03 Jun 2011, Thomas A. Schmitz wrote:

  But I admit it's not easy to know that, bibtex documentation is a
  real mess

 Patience please! ‘This document will be expanded when BibTEX version
 1.00 comes out’ -- BIBTEXing, February 8, 1988.

 :-)

 Pont

 ___
 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-04 Thread Julian Becker
I can also add that in the first case with the author name Träger, the
generated bbl-file looks messed up and (Notepad++ doesn't recognize the
encoding as UTF8. Changing the encoding to UTF8 manually shows the complete
names Träger correctly, but the abbreviations (what should have been
Trä06) seem to be messed up.

I'm not familiar with the intricacies and details of UTF8 encoding, but is
it possible that there is a byte missing from the ä which has been cut off
during the abbreviation process?

The abbreviated Trä06 seems to be incorrectly encoded (in hexadecimal) as:
54 C3 A4 30 36,
while it should be: 54 72 C3 A4 30 36.

So in the abbreviation process, the encoding of some characters over several
bytes seems to be neglected.

I attached the bbl-files for both cases to this e-mail, since I don't know,
what would happen to the encoding, if I just pasted them as plain text here.

Julian


2011/6/4 Julian Becker becker.jul...@gmail.com

 Thank you everybody for your answers.  Writing Tr{\a}ger as Thomas
 suggested works well, but unfortunately, I'm using Mendeley Desktop for the
 management of my bibtex file and I can't seem to be able to influence the
 way in which it encodes the special characters.

 @Mojca: Indeed, it also fails if I just write Träger in UTF-8 encoding
 (however, Schräger works just fine. All combinations where the ä is at
 the third place of the word seem to fail.). The error message is similar but
 slightly different now. The log file shows the following:
 ---
 system  begin file test.tex at line 3
 publications  loading database from test.bbl
 (test.bbl
 ! String contains an invalid utf-8 sequence.
 l.1 \setuppublicationlist[samplesize={Tr
 Ã06},totalnumber=1]
 A funny symbol that I can't read has just been (re)read.
 Just continue, I'll change it to 0xFFFD.

 ! String contains an invalid utf-8 sequence.
 l.5 n=1,s=Tr
 Ã06]
 A funny symbol that I can't read has just been (re)read.
 Just continue, I'll change it to 0xFFFD.

 ! String contains an invalid utf-8 sequence.
 \doifassignmentelse ...gnmentelse \detokenize {#1}
 =@@\@end@ \expandafter \se...
 \dostartpublication ... -\doifassignmentelse {#1}
 {\getparameters [\??pb ][k...
 l.9 \stoppublication

 A funny symbol that I can't read has just been (re)read.
 Just continue, I'll change it to 0xFFFD.

 )
 ---

 Julian


 2011/6/4 Pontus Lurcock p...@talvi.net

 On Fri 03 Jun 2011, Thomas A. Schmitz wrote:

  But I admit it's not easy to know that, bibtex documentation is a
  real mess

 Patience please! ‘This document will be expanded when BibTEX version
 1.00 comes out’ -- BIBTEXing, February 8, 1988.

 :-)

 Pont

 ___
 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

 ___




 --
 Julian Becker
 Institut für Angewandte Physik, R.123
 Westfälische Wilhelms-Universität Münster
 Corrensstr. 2/4
 48149 Münster / Westfalen
 Tel. 0251 83-3 61 53
 Mob. 0151 599 848 29
 e-mail: j_bec...@uni-muenster.de

 Keep thy heart with all diligence; for it is the wellspring of life.




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.


testA.bbl
Description: Binary data


testB.bbl
Description: Binary data
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-04 Thread Julian Becker
I think I'll go for the piping option then, which seems to be the easiest
way out.

Thanks for the insights, I didn't actually know much about the interplay of
context and bibtex until this little problem occured to me...

Julian


2011/6/4 Pontus Lurcock p...@talvi.net

 On Sat 04 Jun 2011, Julian Becker wrote:

  I'm not familiar with the intricacies and details of UTF8 encoding,
  but is it possible that there is a byte missing from the ä which
  has been cut off during the abbreviation process?

 Well, there *is* more than one way to represent ä in UTF-8, but it's
 my understanding that anything beyond ASCII is simply not supported by
 BibTeX. You can get away with it in fields that just get pasted
 verbatim into the output (usually), but the first three letters of the
 first author's name are used to construct the key (which is why
 ‘Schräger’ worked) so there's no way around using the officially
 sanctioned {\a} form.

   unfortunately, I'm using Mendeley Desktop for the management of my
   bibtex file and I can't seem to be able to influence the way in
   which it encodes the special characters.

 This is one reason why I still use plain emacs as a bibliography
 manager -- sooner or later you need a hack, and that's harder when the
 raw BibTeX is hidden or generated. In this case you may need to
 put the hack between Mendeley and BibTeX: pipe the file through
 ‘sed -e 's/ä/{\\a}/g'’ or something similar. And/or ask in the Mendeley
 support forums, since this is a fairly well-known BibTeX ‘feature’
 so perhaps someone else has had to deal with it there.

 Hope this helps,

 Pont

 ___
 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-03 Thread Julian Becker
I came across an issue in context (context ver. 2011.05.18 22:26, LuaTeX
ver: beta-0.65.0-2010121421 (rev 4034) ) when trying to cite a bibliography
item having an author with a German umlaut ä

Compiling the short example below, produces the following output and then
-
...
system  begin file test.tex at line 3
publications  loading database from test.bbl
(test.bbl
! Undefined control sequence.
\@@pbs -Tr\0
6
\dostartpublication ...@@pby \noexpand \or \@@pbs
\noexpand \or \@@pbn \noex...
l.9 \stoppublication

)
backend  xmp  using file
'M:/Programs/context/tex/texmf-local/tex/context/base/lpdf-pdx.xml'
pages  flushing realpage 1, userpage 1, subpage 1
system  end file test.tex at line 5
...
mtx-context | fatal error: return code: 1
--

The strange thing is that when I change the Tr\{a}ger to Schr\{a}ger,
everything works just fine.
Does anybody know what's going on here?!

Julian


---test.tex-
\setuppublications[alternative=apa,sorttype=bbl]
\setupbibtex[database=test.bib]
\starttext
I'd like to cite \cite[Entry1].
\stoptext


-test.bib:---this one produces an error-
@misc{Entry1,
author = {Tr\{a}ger, D},
title = {{Some Document}},
year = {2006}
}
--

test.bib--this works---
@misc{Entry1,
author = {Schr\{a}ger, D},
title = {{Some Document}},
year = {2006}
}
--

-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] Behaviour of definereferenceformat changed?

2011-05-21 Thread Julian Becker
Can it be that in the beta version 2011.05.01, the behaviour of
\definereferenceformat changed?
I used to define:
\definereferenceformat [ineqn] [left=(,right=),text=equation]
and get e.g. equation (1), but now all it produces (equation 1). Is it
supposed to behave that way?
Do I have to use something like
\definereferenceformat [ineqn] [right={)},text={equation (}]
to get what I want, or is there something better?



Example:

\definereferenceformat [ineqn] [left=(,right=),text=equation]
\starttext
Here in \ineqn[eq1].
\placeformula[eq1]
\startformula
a^2+b^2=c^2
\stopformula
\stoptext


Julian.


--
Keep thy heart with all diligence; for it is the wellspring of life.
___
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 do I typeset two close vertical lines as in ||x||=1 ?

2011-05-19 Thread Julian Becker
I'm still having problems migrating from latex to context:
In latex, I used to write e.g. $\| x \| = 1$, and get two vertical lines on
each side of the x. In ConTeXt, the same \| is only producing one single
vertical line. I tried using || and \parallel, but in both cases the
spacing is not as desired. Does anybody know how this is done properly?

Thanks,
Julian
___
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 do I typeset two close vertical lines as in ||x||=1 ?

2011-05-19 Thread Julian Becker
thank you, Wolfgang, for your quick reply! This is exactly what I needed!

2011/5/19 Wolfgang Schuster schuster.wolfg...@googlemail.com


 Am 19.05.2011 um 13:04 schrieb Julian Becker:

  I'm still having problems migrating from latex to context:
  In latex, I used to write e.g. $\| x \| = 1$, and get two vertical lines
 on each side of the x. In ConTeXt, the same \| is only producing one
 single vertical line. I tried using || and \parallel, but in both cases
 the spacing is not as desired. Does anybody know how this is done properly?

 \starttext
 $\Vert x \Vert = 1$
 \stoptext

 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] Strange behavior with square brackets in formula and \rm subscripts

2011-05-12 Thread Julian Becker
I just found out that I cannot (with MkIV on Windows XP, ConTeXt  ver.
2011.02.09 16:42) compile the following

\starttext
This formula produces an error:
\startformula
[r_{\rm test}]=a
\stopformula
\stoptext
\starttext
However, this works:
\startformula
a=[r_{\rm test}]
\stopformula

What's going on here? Using \mathrm instead of \rm in the subscript is
compiling without complaint, but produces the wrong output.

Julian
___
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] Strange behavior with square brackets in formula and \rm subscripts

2011-05-12 Thread Julian Becker
just realized: is it perhaps that in the first case, the square brackets are
interpreted as a list of parameters to \startformula?

2011/5/12 Julian Becker becker.jul...@gmail.com

 I just found out that I cannot (with MkIV on Windows XP, ConTeXt  ver.
 2011.02.09 16:42) compile the following

 \starttext
 This formula produces an error:
 \startformula
 [r_{\rm test}]=a
 \stopformula
 \stoptext
 \starttext
 However, this works:
 \startformula
 a=[r_{\rm test}]
 \stopformula

 What's going on here? Using \mathrm instead of \rm in the subscript is
 compiling without complaint, but produces the wrong output.

 Julian




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] Strange behavior with square brackets in formula and \rm subscripts

2011-05-12 Thread Julian Becker
thank you Hans and Luigi for the clarification


2011/5/12 luigi scarso luigi.sca...@gmail.com

 On Thu, May 12, 2011 at 2:11 PM, Hans Hagen pra...@wxs.nl wrote:
  On 12-5-2011 2:05, Julian Becker wrote:
 
  just realized: is it perhaps that in the first case, the square brackets
  are
  interpreted as a list of parameters to \startformula?
 
  indeed, so add \relax after \startformula
 or use
 \left[ and \right]

 --
 luigi

 ___
 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] \completepublications without criterium gives no publications at all?

2011-05-11 Thread Julian Becker
I just encountered a problem when running the following, using the
sample.bib given in the wiki (http://wiki.contextgarden.net/sample_bib). The
list of References is emtpy. If I added the argument [criterium=text] to
\completepublications, it produces the correct result (it prints out the
list of references), but if I put that as an additional parameter in
setuppublications as \setuppublications[alternative=apa,criterium=text],
again: no list of references.

Is this a bug? or maybe I haven't used the correct setup?

Julian


\setupbibtex[database={sample},sort=author]
\setuppublications[alternative=apa]

\starttext
Hier ein zitat: \cite[hh2010a].

\completepublications

\stoptext
---

-- 
Keep thy heart with all diligence; for it is the wellspring of life.
___
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] formula numbering in unnumbered sections

2011-05-10 Thread Julian Becker
Thank you alot Aditya! Somehow I didn't even think about using subsubjects
instead of subsections. I guess it was too obvious a solution.

best regards,
Julian

2011/5/9 Aditya Mahajan adit...@umich.edu

 On Wed, 4 May 2011, Julian Becker wrote:

  I came across the following problem recently: In my document I want
 chapters
 and sections to be numbered, but not subsections, subsubsections etc.
 Then, additionally I want my formulae to be numbered by chapter and
 section,
 but not subsection.

 In the following example the first equation gets numbered correctly as
 (1.1), (1.2) and (3) in the first chapter, and as (2.1), (2.2) and (3) in
 the second chapter respectively, which is not what I wanted. I'd rather
 have
 the formulae numbered as   (1.1), (1.2) and (1.3) in the first chapter,
 and
 as (2.1), (2.2) and (2.3).


 The current behavior looks like a bug to me.


  Anybody has an idea how to accomplish this?


 Don't use subsections with number=no. Rather use subsubject.

 \setupformulas[way=bychapter]

 \starttext
 \chapter{Wake up}
 \placeformula
 \startformula a^2+b^2=c^2
 \stopformula
 \section{Make Coffee}
 \placeformula
 \startformula c^2+d^2=e^2
 \stopformula
 \subsubject{Now waking up for real}

 \placeformula
 \startformula a^2+b^2=c^2
 \stopformula
 \chapter{Wake up again}
 \placeformula
 \startformula a^2+b^2=c^2
 \stopformula
 \section{Make Coffee again}
 \placeformula
 \startformula c^2+d^2=e^2
 \stopformula
 \subsubject{Now waking up for real}

 \placeformula
 \startformula a^2+b^2=c^2
 \stopformula

 \stoptext


 Aditya

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

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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] synonyms/abbreviations and style setup question

2011-05-09 Thread Julian Becker
I'm guessing that I have not yet understood how to use
abbreviations/synonyms correctly, but why does it make a difference if I
call the synonyms abbreviations or tests? That is why do the following
two files produce different results on my PC (Windows 7, context version
2011.02.09 16:42)? In the first case I get the abbreviation in capitals, in
the second case, no capitals. What would I have to do to get small capitals?
I tried style=smallcaps, but that only gave me capitals all of the same
height, and no small capitals.

fileone.tex:
%--
\definesynonyms[abbreviation][abbreviations][\infull]
\setupsynonyms[abbreviation][criterium=all,style=cap]

\abbreviation{ABR}{An Abbreviation}

\starttext
Here goes \infull{ABR}.
\placelistofabbreviations
\stoptext
%--

filetwo.tex:
\definesynonyms[test][tests][\infull]
\setupsynonyms[test][criterium=all,style=cap]

\test{ABR}{An Abbreviation}

\starttext
Here goes \infull{ABR}.
\placelistoftests
\stoptext

Best regards,
Julian
___
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] synonyms/abbreviations and style setup question

2011-05-09 Thread Julian Becker
Thanks alot for your quick response!
Works now as expected in both cases.

Julian

2011/5/9 Reviczky, Adam adam.revic...@kcl.ac.uk

  What would I have to do to get small capitals?
  I tried style=smallcaps, but that only gave me capitals all of the same
  height, and no small capitals.

 use textstyle=... (smallcaps or cap)

 Adam

 ___
 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] intertext error in mkiv

2011-05-04 Thread Julian Becker
This seems to be still broken :-(
The \intertext{} workaround however is still working, luckily

2010/11/23 Vladimir Lomov lomov...@gmail.com

 ** Aditya Mahajan [2010-11-23 11:17:55 -0500]:

  On Wed, 24 Nov 2010, Vladimir Lomov wrote:
 
 Hi.
 
 The example with start/stopintertext from 'mathalign.pdf' (My Way, Using
 \startalign and friends,
 Aditya Mahajan) gives error with current context (beta):
 example file=ex2.tex
 %%% Seems that there is a problem with \start/stopintertext . This
 command is described in mathalign.pdf
 %%% (MyWay).
 
 \starttext
 
 Here the start/stopintertext should give text between formulas
 \startformula
  \startalign
\NC \exp^{\imath t}=\cos t+\imath\sin t\NR
  \startintertext
This is famous Euler formula, below one is known as Moivre formula
  \stopintertext
\NC (\cos x + \imath\sin x)^{m} = \cos mx+\imath\sin mx \NR
  \stopalign
 \stopformula
 
 That's it.
 
 \stoptext
 /example
 
 error_message
 ! Misplaced \noalign.
 \startintertext #1\stopintertext -\noalign
{\dointertext {#1}}
 l.12   \stopintertext
 ?
 /error_message
 
 $ context --version
 
 MTXrun | main context file:
 /usr/local/opt/context/tex/texmf-context/tex/context/base/context.tex
 MTXrun | current version: 2010.11.20 12:51
 
 Is this a bug or I do something wrong?
 
  Bug, and it seems a rather old one. It also fails with 2010.05.24.
 
  I cannot debug this right now. A quick workaround is to use
  \intertext{...} instead.
 Ok, thanks.

 P.S. I thought that all start/stopXXX commands has cousin commands
 \XXX. Seems that I was wrong.

 --
 On the subject of C program indentation:
In My Egotistical Opinion, most people's C programs should be
indented six feet downward and covered with dirt.
-- Blair P. Houghton

 ___
 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] formula numbering in unnumbered sections

2011-05-04 Thread Julian Becker
I came across the following problem recently: In my document I want chapters
and sections to be numbered, but not subsections, subsubsections etc.
Then, additionally I want my formulae to be numbered by chapter and section,
but not subsection.

In the following example the first equation gets numbered correctly as
(1.1), (1.2) and (3) in the first chapter, and as (2.1), (2.2) and (3) in
the second chapter respectively, which is not what I wanted. I'd rather have
the formulae numbered as   (1.1), (1.2) and (1.3) in the first chapter, and
as (2.1), (2.2) and (2.3).

Anybody has an idea how to accomplish this?

Thanks,
Julian

-

\setuphead[subsection][number=no]
\setupnumber[formula][key=chapter]
\starttext
\chapter{Wake up}
\placeformula
\startformula a^2+b^2=c^2
\stopformula
\section{Make Coffee}
\placeformula
\startformula c^2+d^2=e^2
\stopformula
\subsection{Now waking up for real}
\placeformula
\startformula a^2+b^2=c^2
\stopformula
\chapter{Wake up again}
\placeformula
\startformula a^2+b^2=c^2
\stopformula
\section{Make Coffee again}
\placeformula
\startformula c^2+d^2=e^2
\stopformula
\subsection{Now waking up for real}
\placeformula
\startformula a^2+b^2=c^2
\stopformula

\stoptext

-


Keep thy heart with all diligence; for it is the wellspring of life.
___
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] Need help with the table of contents

2011-03-21 Thread Julian Becker
Hello everybody,
I have a little issue with the table of contents. The document I am writing
consists of several parts and now
my question is the following:
In the table of contents, the line corresponding to the start of a new part
always starts like Part 1   Name of first part. How do I get rid of the
Part, so that the corresponding line starts directly with the number of
the part like 1  Name of the first Part?

Thanks alot,
Julian

-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] Need help with the table of contents

2011-03-21 Thread Julian Becker
Thank you Wolfgang for your quick response. Looks great now!

2011/3/21 Wolfgang Schuster schuster.wolfg...@googlemail.com


 Am 21.03.2011 um 18:14 schrieb Julian Becker:

  Hello everybody,
  I have a little issue with the table of contents. The document I am
 writing consists of several parts and now
  my question is the following:
  In the table of contents, the line corresponding to the start of a new
 part always starts like Part 1   Name of first part. How do I get rid of
 the Part, so that the corresponding line starts directly with the number
 of the part like 1  Name of the first Part?

 \setuplist[part][label=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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] Pagebreak without background

2010-08-02 Thread Julian Becker
I'm working on a document with page backgrounds. I got them working now,
using

...
...
\defineoverlay[left page] [\useMPgraphic{left page}]
\defineoverlay[right page][\useMPgraphic{right page}]
\setupbackgrounds[leftpage] [background=left page]
\setupbackgrounds[rightpage][background=right page]

But now I have them on every page.
I don't want those to appear on certain pages. E.g. I want to start chapters
on the right page and want the left page to be completely empty.
For my chapters I currently have

\definepagebreak[chapterpagebreak][yes,header,right]
\setuphead[chapter][page=chapterpagebreak]

Which still gives me the background on the blank left page before each new
chapter. So I tried blank in definepagebreak, but it doesn't seem to give me
the desired result, since it only removes the background on the page to
follow (that is the right page on which my chapter starts).

Anybody know how to do this?
regards,
Julian


-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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 with startformulas and startalign

2010-07-27 Thread Julian Becker
Hi everybody,
I'm new to ConTeXt and need a little expert help. When I'm running the
following 'test.tex' file

\starttext
\placeformula
\startformulas
\startformula
\startalign
\NC A \NC = B \NR[+]
\NC C \NC = D \NR[+]
\stopalign
\stopformula
\startformula E \stopformula
\stopformulas
\stoptext
--

I get the following errors:

systems : begin file test.tex at line 1
! Missing $$ inserted.
to be read again
 \Ustopdisplaymath
\stopformula -\normalstopformula
  \egroup \Ustopmath \hss
argument ...= D \NR [+] \stopalign \stopformula
   \startformula E \stopformula
\dostartformulas ...la \egroup \Ustopmath \hss }#2
\egroup \stopdisplaymath \...
l.12 \stopformulas

! You can't use `\Ustopdisplaymath' in horizontal mode
pages  flushing realpage 1, userpage 1, subpage 1
systems : end file test.tex at line 14


Does anybody know how to do this right? Startformulas itself works allright,
if I leave out the alignment part. I also tried startmathalignment instead,
but it gave the same errors.

Best regards,
Julian
___
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 with startformulas and startalign

2010-07-27 Thread Julian Becker
Thanks a lot, this did the trick.

best regards, Julian

2010/7/27 Taco Hoekwater t...@elvenkind.com

 On 07/27/2010 02:21 PM, Julian Becker wrote:


 I get the following errors:

 systems : begin file test.tex at line 1
 ! Missing $$ inserted.
 to be read again
  \Ustopdisplaymath


 This is a bug in luatex that will be fixed in the next beta,
 it is not your fault. Until then, this definition somewhere
 before \starttext should fix it:

  \def\Ustopdisplaymath{$$}

 Best wishes,
 Taco




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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
___