[NTG-context] bibliography: minimal entry

2013-04-16 Thread Xenia
Dear context list,

I would like to create very simple bibliography entries containing only
the title and 1 other information (for example institution). I can not
use existing types like article because it would produce superfluous
full stops where I left things out.
How can this be done easily?

Thanks,

Xenia
___
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] markdown: referencing tables

2013-04-10 Thread Xenia
On 10.04.2013 01:02, Hans Hagen wrote:
 On 4/9/2013 9:29 PM, Xenia wrote:
 Dear context list,

 I love simple tables in markdown like this one

 \startmarkdown
Right Left Center Default
 --- -- --   ---
   12 121212
  123 123   123  123
1 1  1 1

 Table:  Demonstration of simple table syntax.
 \stopmarkdown

 Is there a way to reference this table?
 With \starttabulate (\stoptabulate) tables can be referenced with
 \placetable, but \placetable just creates another (empty) table in case
 of a markdown table.
 
 Also if you put {} around the code? or use
 
 \startplacetable{xx}
 ...
 \stopplacetable

No this creates no caption and a second (empty) table with the right
caption.

___
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] markdown: referencing tables

2013-04-10 Thread Xenia
On 10.04.2013 15:10, Hans Hagen wrote:
 On 4/10/2013 2:44 PM, Xenia wrote:
 On 10.04.2013 01:02, Hans Hagen wrote:
 On 4/9/2013 9:29 PM, Xenia wrote:
 Dear context list,

 I love simple tables in markdown like this one

 \startmarkdown
 Right Left Center Default
 --- -- --   ---
12 121212
   123 123   123  123
 1 1  1 1

 Table:  Demonstration of simple table syntax.
 \stopmarkdown

 Is there a way to reference this table?
 With \starttabulate (\stoptabulate) tables can be referenced with
 \placetable, but \placetable just creates another (empty) table in case
 of a markdown table.

 Also if you put {} around the code? or use

 \startplacetable{xx}
 ...
 \stopplacetable

 No this creates no caption and a second (empty) table with the right
 caption.
 
 and what about:
 
 \startbuffer
 \startmarkdown
 ...
 \stopmarkdown
 \stopbuffer
 
 \placetable{whatever}{\getbuffer}

Unfortunately not. Marco might be right and this is a markdown issue …

___
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] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
Hi list,

I noticed that the sign for the square root does not adapt to the size
of a fraction as in the attached minimal example.

Thanks,
Xenia
(/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.03.24 15:11 MKIV  fmt: 2013.3.24  int: english/english

system   'cont-new.mkiv' loaded
(/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname 'sqrt', input 'sqrt', result 'sqrt'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(sqrt.tex{/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown library 'loc'
{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts'fallback modern rm 12pt' is loaded
backend  xmp  using file '/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
 ) )/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used files  2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used files  3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used files  4: filename=sqrt.tex foundname=sqrt.tex usedmethod=direct
used files  5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used files  6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used files  7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used files  8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used files  9: filename=lm-rm.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map usedmethod=database
used files 10: filename=lmroman12-regular filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used files 11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 12: filename=latinmodern-math.otf filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 13: filename=lpdf-pdx.xml filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system   files  stop used files


system   structure  start used structure

used structure   text: sqrt

system   structure  stop used structure


system   files  start used files

used file   1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file   2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file   3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used file   4: filename=sqrt.tex foundname=sqrt.tex usedmethod=direct
used file   5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used file   6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used file   7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used file   8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used file   9: filename=lm-rm.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm

Re: [NTG-context] graphics: figure combination and single figure side by side

2013-04-09 Thread Xenia
On 09.04.2013 00:29, Wolfgang Schuster wrote:
 
 Am 08.04.2013 um 19:46 schrieb Xenia yor...@googlemail.com:
 
 Hi context list,

 I want to place three figures in a row, but two of them as part of a
 combination with a common caption.
 I tried this with columns, but did not manage it, because I only read
 how to span 2 columns with single figures.

 How can this be done properly?
 
 You can use a table.

Thanks for this tip. But using this with placefigure and a combination
it starts counting with Figure 7.


(/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.03.24 15:11 MKIV  fmt: 2013.3.24  int: english/english

system   'cont-new.mkiv' loaded
(/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname 'combination_in_table', input 'combination_in_table', result 'combination_in_table'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(combination_in_table.tex{/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown library 'loc'
{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts'fallback modern rm 12pt' is loaded
floatblocks  '1' placed
floatblocks  '2' placed
floatblocks  '3' placed
floatblocks  '4' placed
floatblocks  '5' placed
floatblocks  '6' placed
floatblocks  '7' placed
floatblocks  '8' placed
backend  xmp  using file '/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
 /home/maja/context/tex/texmf-context/tex/context/sample/cow.pdf /home/maja/context/tex/texmf-context/tex/context/sample/mill.png /home/maja/context/tex/texmf-context/tex/context/sample/hacker.jpg
pagesflushing realpage 1, userpage 1
 ) )/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used files  2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used files  3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used files  4: filename=combination_in_table.tex foundname=combination_in_table.tex usedmethod=direct
used files  5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used files  6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used files  7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used files  8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used files  9: filename=lm-rm.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map usedmethod=database
used files 10: filename=lmroman12-regular filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used files 11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 12: filename=latinmodern-math.otf filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 13: filename=cow.pdf filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/sample/cow.pdf usedmethod=database
used files 14: filename=mill.png filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/sample/mill.png usedmethod=database
used files 15: filename=lmroman12-bold filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf usedmethod=database
used files 16: filename=hacker.jpg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/sample/hacker.jpg usedmethod=database
used files 17: filename=lpdf-pdx.xml filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system   files  stop used files


system   structure  start used structure

Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
On 09.04.2013 21:18, Hans Hagen wrote:
 On 4/9/2013 9:02 PM, Xenia wrote:
 Hi list,

 I noticed that the sign for the square root does not adapt to the size
 of a fraction as in the attached minimal example.
 
 In what sense? Sqrt's grow in discrete steps.

Oh, I didn't know that. For my feelings, all variables should have the
same size here (a,b and c).

Xenia
___
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] markdown: referencing tables

2013-04-09 Thread Xenia
Dear context list,

I love simple tables in markdown like this one

\startmarkdown
  Right Left Center Default
--- -- --   ---
 12 121212
123 123   123  123
  1 1  1 1

Table:  Demonstration of simple table syntax.
\stopmarkdown

Is there a way to reference this table?
With \starttabulate (\stoptabulate) tables can be referenced with
\placetable, but \placetable just creates another (empty) table in case
of a markdown table.

Thanks,
Xenia
___
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] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
On 09.04.2013 22:39, Alan BRASLAU wrote:
 On Tue, 9 Apr 2013 21:25:16 +0200
 Xenia yor...@googlemail.com wrote:
 
 Oh, I didn't know that. For my feelings, all variables should have the
 same size here (a,b and c).
 
 In this case you should probably use:
 
 a = \sqrt{b/c}

Okay, but this was just a minimal example. I am handling much bigger
fractions.

___
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] graphics: figure combination and single figure side by side

2013-04-08 Thread Xenia
Hi context list,

I want to place three figures in a row, but two of them as part of a
combination with a common caption.
I tried this with columns, but did not manage it, because I only read
how to span 2 columns with single figures.

How can this be done properly?

Thanks,
Xenia
___
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] math: ± and ∓ are shifted

2013-04-04 Thread Xenia
Hi context list,

I noticed that the ∓ sign is a little higher than the ± sign, so that
the + signs are at the same height. But this looks strange and should be
changed.

$ context --version
mtx-context | ConTeXt Process Management 0.60
mtx-context | current version: 2013.03.24 15:11

Thanks,
Xenia
(/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.03.24 15:11 MKIV  fmt: 2013.3.24  int: english/english

system   'cont-new.mkiv' loaded
(/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname 'plus_minus', input 'plus_minus', result 'plus_minus'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(plus_minus.tex{/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown library 'loc'
{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts'fallback modern rm 12pt' is loaded
backend  xmp  using file '/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
 ) )/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used files  2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used files  3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used files  4: filename=plus_minus.tex foundname=plus_minus.tex usedmethod=direct
used files  5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used files  6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used files  7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used files  8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used files  9: filename=lm-rm.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map usedmethod=database
used files 10: filename=lmroman12-regular filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used files 11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 12: filename=latinmodern-math.otf filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 13: filename=lpdf-pdx.xml filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system   files  stop used files


system   structure  start used structure

used structure   text: plus_minus

system   structure  stop used structure


system   files  start used files

used file   1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file   2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file   3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used file   4: filename=plus_minus.tex foundname=plus_minus.tex usedmethod=direct
used file   5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used file   6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used file   7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used file   8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map

[NTG-context] Suggestion for bibtex: command to switch between upper and lower case for title

2013-03-25 Thread Xenia
Dear context folks,

I would like to have the possibility to change between upper and lower
case in titles for bibliography items, e.g. for English and German items.
This is controlled by the bst-files as described in [1]. But changing
these files after an update is rather annoying.

Is there maybe even such a function that I do not know?

Thanks,
Xenia

[1] http://www.ntg.nl/pipermail/ntg-context/2011/059359.html
___
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] Suggestion for bibtex: command to switch between upper and lower case for title

2013-03-25 Thread Xenia
On 25.03.2013 21:05, Hans Hagen wrote:
 On 3/25/2013 6:10 PM, Xenia wrote:
 Dear context folks,

 I would like to have the possibility to change between upper and lower
 case in titles for bibliography items, e.g. for English and German items.
 This is controlled by the bst-files as described in [1]. But changing
 these files after an update is rather annoying.

 Is there maybe even such a function that I do not know?
 
 whenever you can set a style, you can do this:
 
 style={\setcharactercasing[WORD]}

I don't understand what exactly that does and how to use it. Where do I
have to add this line?

___
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] Nabla operator appears italic in formula

2013-03-24 Thread Xenia
On 24.03.2013 15:17, Hans Hagen wrote:
 On 3/24/2013 12:23 PM, Otared Kavian wrote:

 On 24 mars 2013, at 11:24, Hans Hagen pra...@wxs.nl wrote:

 On 3/23/2013 9:34 PM, Xenia wrote:
 Dear context list,

 using the nabla symbol ∇ in formulas, I wondered why it looks italic
 and
 not upright as for example in [1].
 I attach an example.

 Because that's how it's defined in math italics ... is nabla always
 supposed to be upright in standard math italic mode?

 (I'll change the \nable definition to \unexpanded\def\nabla{∇}.)

 Hans

 Hi,

 \nabla should be italic if all other math greek symbols, like \Omega,
 \Gamma, \sum, ect are set in italic. Otherwise \nabla and all such
 symbols should be upright.
 Would it be possible to make this optional in math italics, something
 like
 \setupmathematics[mathsymbols=italic]
 or
 \setupmathematics[mathsymbols=upright]
 Maybe this should be set when one chooses the greek letters to be
 italic or upright in mathematics.
 
 That is already there
 
 \setupmathematics
   [lcgreek=italic,
ucgreek=normal]
 
 (normal, italic, none)
 
 I've added sygreek so that one can also influence the nable and
 differential (default normal). I tested with:
 
 \starttext
 \startTEXpage
 \startlines
 \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0}
 \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0}
 \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0}
 \type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0}
 \type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0}
 \blank
 \type{--}: \mathematics{\mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \type{it}: \mathematics{\it \mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \type{bf}: \mathematics{\bf \mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \type{bi}: \mathematics{\bi \mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \type{tf}: \mathematics{\tf \mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \blank
 \setupmathematics[sygreek=italic]
 \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0}
 \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0}
 \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0}
 \type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0}
 \type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0}
 \stoplines
 \stopTEXpage
 \stoptext

Great, thank you!
___
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] Nabla operator appears italic in formula

2013-03-23 Thread Xenia
Dear context list,

using the nabla symbol ∇ in formulas, I wondered why it looks italic and
not upright as for example in [1].
I attach an example.

Thanks,
Xenia

[1] https://en.wikipedia.org/wiki/Nabla_symbol


nabla.pdf
Description: Adobe PDF document
\starttext
\startformula
\nabla \phi = ∇ ϕ = 0
\stopformula
\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] bug in new beta

2013-03-18 Thread Xenia
On 17.03.2013 11:34, Hans Hagen wrote:
 On 3/17/2013 5:24 AM, Jonathan Barchi wrote:
 
 Hans (mostly),

 I've seen that font error too, but it never seemed to cause problems
 so I've been ignoring it after I realized that.

 What I did figure out is that it seems to throw that error the first
 time it loads a new font - that is, the first time that a new (known
 to mtxrun) font is actually used in a document and loaded into the
 cache. The error seems to be due to luatex (? or whatever program does
 this) trying to compile a .tma file from the cache into a .tmc file,
 but the .tma file doesn't exist. I think it then goes to the .otf
 file, loads it, and is OK.
 
 Indeed. I fixed it. It has to do with a test for a tmc file (when we run
 luajittex I need to make sure that a tmb file is generated as these
 engines have a different bytecode format). I got rid of the message in
 the new beta.

Weird, because I still get this error with


$ context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file:
/home/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2013.03.18 18:49
___
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] bug in new beta

2013-03-18 Thread Xenia
On 18.03.2013 22:03, Wolfgang Schuster wrote:
 
 Am 18.03.2013 um 21:58 schrieb Xenia yor...@googlemail.com:
 
 On 17.03.2013 11:34, Hans Hagen wrote:
 On 3/17/2013 5:24 AM, Jonathan Barchi wrote:

 Hans (mostly),

 I've seen that font error too, but it never seemed to cause problems
 so I've been ignoring it after I realized that.

 What I did figure out is that it seems to throw that error the first
 time it loads a new font - that is, the first time that a new (known
 to mtxrun) font is actually used in a document and loaded into the
 cache. The error seems to be due to luatex (? or whatever program does
 this) trying to compile a .tma file from the cache into a .tmc file,
 but the .tma file doesn't exist. I think it then goes to the .otf
 file, loads it, and is OK.

 Indeed. I fixed it. It has to do with a test for a tmc file (when we run
 luajittex I need to make sure that a tmb file is generated as these
 engines have a different bytecode format). I got rid of the message in
 the new beta.

 Weird, because I still get this error with
 
 1. Delete the cache and let context regenerate it.
 
 2. When this doesn’t help try it with a clean installation.

Thanks, the second method worked. :-)

___
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] bug in new beta

2013-03-16 Thread Xenia
Hi there,

bold font in math works now for me, but there occurs a new error message
even for simple text samples (see logfile) with

ConTeXt  ver: 2013.03.15 00:17 MKIV

and still after updating to

$ context --version
mtx-context | ConTeXt Process Management 0.60
[…]
mtx-context | current version: 2013.03.16 01:5

Thanks,
Xenia
(/home/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.03.16 01:51 MKIV  fmt: 2013.3.16  int: english/english

system   'cont-new.mkiv' loaded
(/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname 'easytext', input 'easytext', result 'easytext'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(easytext.tex{/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown library 'loc'
{/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
system   lua  compiling '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma' into '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tmc'
system   lua  fatal error in file '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma'
system   lua  compiling '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma' into '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tmc'
system   lua  fatal error in file '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma'
fonts'fallback modern rm 12pt' is loaded
backend  xmp  using file '/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
 ) )/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=cont-yes.mkiv filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used files  2: filename=cont-new.mkiv filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used files  3: filename=lang-us.lua filetype=lua foundname=/home/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used files  4: filename=easytext filetype=tex foundname=easytext.tex usedmethod=filesystem
used files  5: filename=mkiv-base.map filetype=map format=map foundname=/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used files  6: filename=lm.lfg filetype=tex foundname=/home/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used files  7: filename=lm-math.lfg filetype=tex foundname=/home/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used files  8: filename=lm-math.map filetype=map format=map foundname=/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used files  9: filename=lm-rm.map filetype=map format=map foundname=/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map usedmethod=database
used files 10: filename=lmroman12-regular filetype=otf format=otf foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used files 11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 12: filename=latinmodern-math.otf filetype=otf format=otf foundname=/home/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 13: filename=lpdf-pdx.xml filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system   files  stop used files


system   structure  start used structure

used structure   text: easytext

system   structure  stop used structure


system   files  start used files

used file   1: filename=cont-yes.mkiv filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file   2: filename=cont-new.mkiv filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file   3: filename=lang-us.lua filetype=lua foundname=/home/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used

Re: [NTG-context] bug in new beta

2013-03-16 Thread Xenia
On 16.03.2013 12:39, Hans Hagen wrote:
 On 3/16/2013 12:35 PM, Xenia wrote:
 Hi there,

 bold font in math works now for me, but there occurs a new error message
 even for simple text samples (see logfile) with
 
 I need some more info .. I also see
 
 system   lua  compiling
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma'
 into
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tmc'
 
 system   lua  fatal error in file
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma'
 
 system   lua  compiling
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma'
 into
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tmc'
 
 system   lua  fatal error in file
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma'
 
 
 which is weird

I have no idea. Which information would be useful? There is a file named
easytext.tua created (tua, not tuc), which I attach.
The created pdf-file looks fine.

Thanks.


local utilitydata = { }

utilitydata.comment={
 [escape]=[===[ ... ]===],
 [file]=easytext,
 [format]=cont-en,
 [stamp]=2013.03.16 01:51,
 [version]=1.21,
}

local utilitydata_job = utilitydata.job if not utilitydata_job then 
utilitydata_job = { } utilitydata.job = utilitydata_job end
local utilitydata_job_variables = utilitydata_job.variables if not 
utilitydata_job_variables then utilitydata_job_variables = { } 
utilitydata_job.variables = utilitydata_job_variables end

utilitydata_job_variables.checksums={
 [new]=22AF645D1859CB5CA6DA0C484F1F37EA,
 [old]=149603E6C03516362A8DA23F624DB945,
}

local utilitydata_job = utilitydata.job if not utilitydata_job then 
utilitydata_job = { } utilitydata.job = utilitydata_job end
local utilitydata_job_variables = utilitydata_job.variables if not 
utilitydata_job_variables then utilitydata_job_variables = { } 
utilitydata_job.variables = utilitydata_job_variables end

utilitydata_job_variables.collected={
}

local utilitydata_job = utilitydata.job if not utilitydata_job then 
utilitydata_job = { } utilitydata.job = utilitydata_job end
local utilitydata_job_passes = utilitydata_job.passes if not 
utilitydata_job_passes then utilitydata_job_passes = { } utilitydata_job.passes 
= utilitydata_job_passes end

utilitydata_job_passes.collected={
}

local utilitydata_job = utilitydata.job if not utilitydata_job then 
utilitydata_job = { } utilitydata.job = utilitydata_job end
local utilitydata_job_datasets = utilitydata_job.datasets if not 
utilitydata_job_datasets then utilitydata_job_datasets = { } 
utilitydata_job.datasets = utilitydata_job_datasets end

utilitydata_job_datasets.collected={
}

local utilitydata_job = utilitydata.job if not utilitydata_job then 
utilitydata_job = { } utilitydata.job = utilitydata_job end
local utilitydata_job_pagestates = utilitydata_job.pagestates if not 
utilitydata_job_pagestates then utilitydata_job_pagestates = { } 
utilitydata_job.pagestates = utilitydata_job_pagestates end

utilitydata_job_pagestates.collected={
}

local utilitydata_job = utilitydata.job if not utilitydata_job then 
utilitydata_job = { } utilitydata.job = utilitydata_job end
local utilitydata_job_structure = utilitydata_job.structure if not 
utilitydata_job_structure then utilitydata_job_structure = { } 
utilitydata_job.structure = utilitydata_job_structure end

utilitydata_job_structure.collected={
 [branches]={},
 [name]=easytext,
 [type]=text,
}

local utilitydata_structures = utilitydata.structures if not 
utilitydata_structures then utilitydata_structures = { } utilitydata.structures 
= utilitydata_structures end
local utilitydata_structures_specials = utilitydata_structures.specials if not 
utilitydata_structures_specials then utilitydata_structures_specials = { } 
utilitydata_structures.specials = utilitydata_structures_specials end

utilitydata_structures_specials.collected={
}

local utilitydata_structures = utilitydata.structures if not 
utilitydata_structures then utilitydata_structures = { } utilitydata.structures 
= utilitydata_structures end
local utilitydata_structures_counters = utilitydata_structures.counters if not 
utilitydata_structures_counters then utilitydata_structures_counters = { } 
utilitydata_structures.counters = utilitydata_structures_counters end

utilitydata_structures_counters.collected={
 [chemical]={
  { 0 },
 },
 [endnote]={
  { 0 },
 },
 [figure]={
  { 0 },
 },
 [footnote]={
  { 0 },
 },
 [formula]={
  { 0 },
 },
 [graphic]={
  { 0 },
 },
 [intermezzo]={
  { 0 },
 },
 [itemgroup:itemize]={
  { 0 },
 },
 [linenote]={
  { 0 },
 },
 [paragraph]={
  { 0 },
 },
 [realpage]={
  { 1 },
 },
 [subpage]={
  { 0 },
 },
 [table]={
  { 0

Re: [NTG-context] bug in new beta

2013-03-16 Thread Xenia
On 16.03.2013 12:56, Hans Hagen wrote:
 On 3/16/2013 12:49 PM, Xenia wrote:
 On 16.03.2013 12:39, Hans Hagen wrote:
 On 3/16/2013 12:35 PM, Xenia wrote:
 Hi there,

 bold font in math works now for me, but there occurs a new error
 message
 even for simple text samples (see logfile) with

 I need some more info .. I also see

 system   lua  compiling
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma'

 into
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tmc'


 system   lua  fatal error in file
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma'


 system   lua  compiling
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma'

 into
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tmc'


 system   lua  fatal error in file
 '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma'



 which is weird

 I have no idea. Which information would be useful? There is a file named
 easytext.tua created (tua, not tuc), which I attach.
 The created pdf-file looks fine.
 
 so are you sure that you use the latest luatex?


I never updated it separately, no idea, how to do it. I use

$ luatex --version
This is LuaTeX, Version beta-0.75.0-2013031411  (TeX Live 2013/dev)(rev
4589)

Thanks.

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

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


Re: [NTG-context] bold symbols in formula don't work

2013-03-14 Thread Xenia
On 14.03.2013 01:14, Jonathan Barchi wrote:
[…]
 On 13.03.2013 21:52, Xenia wrote:

 Hello context list,

 is there a bug in the mathbold-feature? I tried the several things, for
 example the attached example, without success.


 Thanks for noticing. There's a macro being overloaded ... fixed in next beta
 (later tonight).

Hm, with the new version 2013.03.14 17:31, it works, but I still get an
error message, see log-file.

Thanks,
Xenia

(/home/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.03.14 17:31 MKIV  fmt: 2013.3.14  int: english/english

system   cont-new.mkiv loaded
(/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname 'bold_in_math', input 'bold_in_math', result 'bold_in_math'
fontslatin modern fonts are not preloaded
languageslanguage en is active
(bold_in_math.tex{/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown library 'loc'
{/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
system   lua  compiling '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma' into '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tmc'
system   lua  fatal error in file '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma'
system   lua  compiling '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma' into '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tmc'
system   lua  fatal error in file '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma'
fontsfallback modern rm 12pt is loaded
backend  xmp  using file '/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
 ) )/home/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=cont-yes.mkiv filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used files  2: filename=cont-new.mkiv filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used files  3: filename=lang-us.lua filetype=lua foundname=/home/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used files  4: filename=bold_in_math.tex foundname=bold_in_math.tex usedmethod=direct
used files  5: filename=mkiv-base.map filetype=map format=map foundname=/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used files  6: filename=lm.lfg filetype=tex foundname=/home/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used files  7: filename=lm-math.lfg filetype=tex foundname=/home/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used files  8: filename=lm-math.map filetype=map format=map foundname=/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used files  9: filename=lm-rm.map filetype=map format=map foundname=/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map usedmethod=database
used files 10: filename=lmroman12-regular filetype=otf format=otf foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used files 11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 12: filename=latinmodern-math.otf filetype=otf format=otf foundname=/home/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 13: filename=lpdf-pdx.xml filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system   files  stop used files


system   structure  start used structure

used structure   text: bold_in_math

system   structure  stop used structure


system   files  start used files

used file   1: filename=cont-yes.mkiv filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file   2: filename=cont-new.mkiv filetype=tex foundname=/home/context/tex/texmf-context/tex/context/base/cont

[NTG-context] bold symbols in formula don't work

2013-03-13 Thread Xenia
Hello context list,

is there a bug in the mathbold-feature? I tried the several things, for
example the attached example, without success.

Thanks in advance.

Xenia
(/home/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.03.05 19:10 MKIV  fmt: 2013.3.7  int: english/english

system   cont-new.mkiv loaded
(/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname: bold_in_math, input: bold_in_math, result: bold_in_math
fontslatin modern fonts are not preloaded
languageslanguage en is active
(bold_in_math.tex{/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
system   logs  lua: compiling /home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma into /home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tmc
system   logs  fatal error in unknown
system   logs  lua: compiling /home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma into /home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tmc
system   logs  fatal error in unknown
fontsfallback modern rm 12pt is loaded

% begin of command line arguments
%
% kindofrun= 1
% no-parse-first-line  = true
% currentrun   = 1
% fulljobname  = ./bold_in_math.tex
% input= ./bold_in_math.tex
%
% end of command line arguments

% begin of command line files
%
% 1  ./bold_in_math.tex
%
% end of command line files

backend  xmp  using file '/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
 ) )/home/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=cont-yes.mkiv | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/base/cont-yes.mkiv | usedmethod=database
used files  2: filename=cont-new.mkiv | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database
used files  3: filename=lang-us.lua | filetype=lua | foundname=/home/context/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=database
used files  4: filename=bold_in_math.tex | foundname=bold_in_math.tex | usedmethod=direct
used files  5: filename=mkiv-base.map | filetype=map | format=map | foundname=/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map | usedmethod=database
used files  6: filename=lm.lfg | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/fonts/lm.lfg | usedmethod=database
used files  7: filename=lm-math.lfg | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/fonts/lm-math.lfg | usedmethod=database
used files  8: filename=lm-math.map | filetype=map | format=map | foundname=/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map | usedmethod=database
used files  9: filename=lm-rm.map | filetype=map | format=map | foundname=/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map | usedmethod=database
used files 10: filename=lmroman12-regular | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=database
used files 11: filename=latinmodern-math.otf | filetype=opentypefonts | foundname=/home/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf | usedmethod=database
used files 12: filename=latinmodern-math.otf | filetype=otf | format=otf | foundname=/home/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf | usedmethod=database
used files 13: filename=lpdf-pdx.xml | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml | usedmethod=database

system   files  stop used files


system   structure  start used structure

used structure   text: bold_in_math

system   structure  stop used structure


mkiv lua stats   used config file  - selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats   used cache path   - readable: '/home/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e' (order 1)
mkiv lua stats   used cache path   - readable: '/home/maja/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e' (order 2)
mkiv lua stats   used cache path

Re: [NTG-context] bold symbols in formula don't work

2013-03-13 Thread Xenia
I forgot:
context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file:
/home/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2013.03.05 19:10


On 13.03.2013 21:52, Xenia wrote:
 Hello context list,
 
 is there a bug in the mathbold-feature? I tried the several things, for
 example the attached example, without success.
 
 Thanks in advance.
 
 Xenia

___
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] Paragraphs: blank line instead of new line

2012-09-11 Thread Xenia
Dear context folks,

I am expected to write a number of texts containing paragraphs separated
by a blank line. Is there a parameter/command to set the line break
between paragraphs to a blank line between the paragraphs?

Thanks in advance,

Xenia
___
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] Paragraphs: blank line instead of new line

2012-09-11 Thread Xenia
On 11.09.2012 13:22, Xenia wrote:
 Dear context folks,
 
 I am expected to write a number of texts containing paragraphs separated
 by a blank line. Is there a parameter/command to set the line break
 between paragraphs to a blank line between the paragraphs?

I forgot to say, that I try to avoid setting up a paragraph environment
where I have to put \startpar or like that all the time. I'm looking for
a single setup-command.

Xenia
___
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] Paragraphs: blank line instead of new line

2012-09-11 Thread Xenia
On 11.09.2012 13:35, Hans Hagen wrote:
 On 11-9-2012 13:22, Xenia wrote:
 Dear context folks,

 I am expected to write a number of texts containing paragraphs separated
 by a blank line. Is there a parameter/command to set the line break
 between paragraphs to a blank line between the paragraphs?
 
 \setupwhitespace[big]

Thanks a lot, that is exactly what I was looking for.

Xenia
___
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] frame and numbering of code snippets using vim-module

2012-06-09 Thread Xenia
On 08.06.2012 04:31, Aditya Mahajan wrote:
 On Thu, 7 Jun 2012, Aditya Mahajan wrote:
 Besides there should not be a new line number after a line break.

 This is still unresolved.
 
 The github branch should fix this. (See tests/vim/19-linenumber-break.tex).
 
 Can you test it with your document?
 
 To test the latest version, save t-syntaxhighlight.mkiv and 2context.vim
 from github in the current directory, and compile using
 
 context --mode=vim-dev filename

It works great now (even without `--mode=vim-dev`). The frame ist wide
enough and the numbering after a line break continues in the next line,
too. Great. Thanks a lot.

Xenia
___
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] frame and numbering of code snippets using vim-module

2012-06-06 Thread Xenia
Hi context folks,

using the vim module for including MATLAB-code, I noticed some annoying
behavior:

The frame, that I produced with your help using `\definetextbackground`,
is not wide enough for the text inside, or rather the line wraps are
done too late (see the attached examples!).

Additionally the frame has a bottom line at the end of the page although
the code snippet did not end yet. It looks as if a new box begins.

Besides there should not be a new line number after a line break.

Any ideas what to do?

Thanks,

Xenia
% random text, random text, blablabla, random text, blablabla, this tests if there is a line wrap… random text, blablabla, random text, blablabla, random text, blablabla, random text, blablabla

random code random code random code random code random code random code random code random code 
random code random code
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 
random code random code 

% Printing:

fprintf('its random text random text random text random text ',variable);
fprintf('random text random text random text random text random text',variable);


fprintf('more random text random text random text random text random text ',variable);
fprintf('random text random text random text random text random text random text random text ', variable);
(framedcode.tex

ConTeXt  ver: 2012.04.19 23:18 MKIV  fmt: 2012.4.22  int: english/english

system   cont-new.mkiv loaded
(/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   framedcode.top loaded

system   options  start used options

used options % runtime options files (command line driven)
used options \unprotect
used options % feedback and basic job control
used options % handy for special styles
used options \startluacode
used options document = document or { }
used options document.arguments={
used options }
used options document.files={
used options  framedcode.tex,
used options }
used options \stopluacode
used options % process info
used options \setupsystem[inputfile=framedcode.tex]
used options \setupsystem[\c!n=2,\c!m=2]
used options % modes
used options % options (not that important)
used options \startsetups *runtime:options
used options \stopsetups
used options % styles and modules
used options \startsetups *runtime:modules
used options \stopsetups
used options % done
used options \protect \endinput

system   options  stop used options

(framedcode.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
resolversmodules  loaded: 'vim'
(/home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex
loading  Vim syntax highlighting (ver: 2012.04.18)
resolversmodules  loaded: 'filter'
(/home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv
loading  Filter (ver: 2012.04.18)
resolversmodules  loaded: 'module-catcodes'
(/home/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex
loading  Module Catcodes (ver: 2011.12.17)
))
resolversmodules  loaded: 'syntax-highlight'
(/home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-highlight.mkiv
loading  Code syntax highlighting (ver: 2012.04.18)
resolversmodules  loaded: 'syntax-groups'
(/home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-groups.tex
loading  Syntax highlighting groups (ver: 2012.01.03)
resolversmodules  already loaded: 'module-catcodes'
)
resolversmodules  already loaded: 'filter'
)){/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
(code.m.vimout
Overfull \hbox (24.35204pt too wide) in paragraph

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-06 Thread Xenia
On 01.05.2012 19:35, Aditya Mahajan wrote:
 On Tue, 1 May 2012, Aditya Mahajan wrote:
 
 On Tue, 1 May 2012, Xenia wrote:

 Use \definetextbackground for the frame, framedtext’s are
 unbreakable boxes.

 Thanks, that works, but now the linewrapping does not work correctly
 (after the frame)

 The bad linebreaks also happen if you remove the background. I'll look
 into it (in any case, hypenation should be disabled, so there is a bug
 somewhere).
 
 Add:
 
 \startsetups linebreak
   \language\minusone %disable hypenation
   \raggedright   %avoid overflow lines \stopsetups
 
 \unprotect
 \setupsyntaxhighlighting
   [setups={syntaxhighlighting@setup,linebreak}]
 \protect

I am using your workaround and it works fine for most code-snippets. But
with longer formulas, this fails. I am attaching a minimal example.
(linewrap.tex

ConTeXt  ver: 2012.04.19 23:18 MKIV  fmt: 2012.4.22  int: english/english

system   cont-new.mkiv loaded
(/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   linewrap.top loaded

system   options  start used options

used options % runtime options files (command line driven)
used options \unprotect
used options % feedback and basic job control
used options % handy for special styles
used options \startluacode
used options document = document or { }
used options document.arguments={
used options }
used options document.files={
used options  linewrap,
used options }
used options \stopluacode
used options % process info
used options \setupsystem[inputfile=linewrap]
used options \setupsystem[\c!n=2,\c!m=2]
used options % modes
used options % options (not that important)
used options \startsetups *runtime:options
used options \stopsetups
used options % styles and modules
used options \startsetups *runtime:modules
used options \stopsetups
used options % done
used options \protect \endinput

system   options  stop used options

(linewrap.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
resolversmodules  loaded: 'vim'
(/home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex
loading  Vim syntax highlighting (ver: 2012.04.18)
resolversmodules  loaded: 'filter'
(/home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv
loading  Filter (ver: 2012.04.18)
resolversmodules  loaded: 'module-catcodes'
(/home/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex
loading  Module Catcodes (ver: 2011.12.17)
))
resolversmodules  loaded: 'syntax-highlight'
(/home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-highlight.mkiv
loading  Code syntax highlighting (ver: 2012.04.18)
resolversmodules  loaded: 'syntax-groups'
(/home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-groups.tex
loading  Syntax highlighting groups (ver: 2012.01.03)
resolversmodules  already loaded: 'module-catcodes'
)
resolversmodules  already loaded: 'filter'
)){/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
(linewrap-temp-MATLAB-0.vimout
Overfull \hbox (42.89201pt too wide) in paragraph at lines 2--2
[][][]\3modern-designsize-12pt-tt-tf-0--0 fprintf('random text random text random text: %g \n',(x_max-y_max)*z/random)[]  

\hbox(10.42677+4.05482)x426.78743, direction TLT
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\latelua0_plib_.enhance(p:3)
.\3modern-designsize-12pt-tt-tf-0--0 f
.\3modern-designsize-12pt-tt-tf-0--0 p
.etc.

)
metapost initializing instance 'metafun' using format 'metafun'
metapost loading 'metafun': /home/context/tex/texmf-context/metapost/context/base/metafun.mpiv
backend  xmp  using file '/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
 )/home/context/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=linewrap | filetype=tex | foundname=linewrap.tex | usedmethod=filesystem
used files  2: filename=cont-new.mkiv | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database
used files  3: filename=linewrap.top | foundname=linewrap.top | usedmethod=direct

[NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Xenia
Dear context folks,

since Aditya recommended I am using the vim module for including
MATLAB-files in my TeX-files. But for longer code snippets there is no
pagebreak, so that the code is cuttet at the end of the page. What do I
have to do?

current version: 2012.04.19 23:18

Thanks,
Xenia
___
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] missing pagebreak using vim-module for typing

2012-05-01 Thread Xenia
On 01.05.2012 08:50, Aditya Mahajan wrote:
 On Tue, 1 May 2012, Xenia wrote:
 
 Dear context folks,

 since Aditya recommended I am using the vim module for including
 MATLAB-files in my TeX-files. But for longer code snippets there is no
 pagebreak, so that the code is cuttet at the end of the page. What do I
 have to do?

 current version: 2012.04.19 23:18
 
 Can you post a minimal example? The attached simple test gives me page
 breaks.

The reason seems so be the frame, that I prefer. I am attaching the files.

Thanks,

Xenia
(code.tex

ConTeXt  ver: 2012.04.19 23:18 MKIV  fmt: 2012.4.22  int: english/english

system   cont-new.mkiv loaded
(/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   code.top loaded

system   options  start used options

used options % runtime options files (command line driven)
used options \unprotect
used options % feedback and basic job control
used options % handy for special styles
used options \startluacode
used options document = document or { }
used options document.arguments={
used options }
used options document.files={
used options  code,
used options }
used options \stopluacode
used options % process info
used options \setupsystem[inputfile=code]
used options \setupsystem[\c!n=2,\c!m=2]
used options % modes
used options % options (not that important)
used options \startsetups *runtime:options
used options \stopsetups
used options % styles and modules
used options \startsetups *runtime:modules
used options \stopsetups
used options % done
used options \protect \endinput

system   options  stop used options

(code.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
resolversmodules  loaded: 'vim'
(../../home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex
loading  Vim syntax highlighting (ver: 2012.04.18)
resolversmodules  loaded: 'filter'
(../../home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv
loading  Filter (ver: 2012.04.18)
resolversmodules  loaded: 'module-catcodes'
(../../home/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex
loading  Module Catcodes (ver: 2011.12.17)
))
resolversmodules  loaded: 'syntax-highlight'
(../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-highlight.mkiv
loading  Code syntax highlighting (ver: 2012.04.18)
resolversmodules  loaded: 'syntax-groups'
(../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-groups.tex
loading  Syntax highlighting groups (ver: 2012.01.03)
resolversmodules  already loaded: 'module-catcodes'
)
resolversmodules  already loaded: 'filter'
)){/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
(code-temp-MATLAB-0.vimout)
backend  xmp  using file '/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
 )/home/context/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=code | filetype=tex | foundname=code.tex | usedmethod=filesystem
used files  2: filename=cont-new.mkiv | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database
used files  3: filename=code.top | foundname=code.top | usedmethod=direct
used files  4: filename=lang-us.lua | filetype=lua | foundname=/home/context/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=database
used files  5: filename=t-vim.tex | filetype=tex | foundname=/home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex | usedmethod=database
used files  6: filename=../../home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex | foundname=../../home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex | usedmethod=direct
used files  7: filename=t-filter.mkiv | filetype=tex | foundname=/home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv | usedmethod=database
used files  8: filename=../../home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv | foundname=../../home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv | usedmethod=direct
used files  9: filename=t-module-catcodes.tex | filetype=tex

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Xenia
On 01.05.2012 13:02, Wolfgang Schuster wrote:
 
 Am 01.05.2012 um 12:24 schrieb Xenia:
 
 On 01.05.2012 08:50, Aditya Mahajan wrote:
 On Tue, 1 May 2012, Xenia wrote:

 Dear context folks,

 since Aditya recommended I am using the vim module for including
 MATLAB-files in my TeX-files. But for longer code snippets there is no
 pagebreak, so that the code is cuttet at the end of the page. What do I
 have to do?

 current version: 2012.04.19 23:18

 Can you post a minimal example? The attached simple test gives me page
 breaks.

 The reason seems so be the frame, that I prefer. I am attaching the files.
 
 Use \definetextbackground for the frame, framedtext’s are unbreakable boxes.

Thanks, that works, but now the linewrapping does not work correctly
(after the frame) and the line numbering starts in line 2.
I am attaching all files.

Thank you.

Xenia
(linewrap.tex

ConTeXt  ver: 2012.04.19 23:18 MKIV  fmt: 2012.4.22  int: english/english

system   cont-new.mkiv loaded
(/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   linewrap.top loaded

system   options  start used options

used options % runtime options files (command line driven)
used options \unprotect
used options % feedback and basic job control
used options % handy for special styles
used options \startluacode
used options document = document or { }
used options document.arguments={
used options }
used options document.files={
used options  linewrap,
used options }
used options \stopluacode
used options % process info
used options \setupsystem[inputfile=linewrap]
used options \setupsystem[\c!n=2,\c!m=2]
used options % modes
used options % options (not that important)
used options \startsetups *runtime:options
used options \stopsetups
used options % styles and modules
used options \startsetups *runtime:modules
used options \stopsetups
used options % done
used options \protect \endinput

system   options  stop used options

(linewrap.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
resolversmodules  loaded: 'vim'
(../../home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex
loading  Vim syntax highlighting (ver: 2012.04.18)
resolversmodules  loaded: 'filter'
(../../home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv
loading  Filter (ver: 2012.04.18)
resolversmodules  loaded: 'module-catcodes'
(../../home/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex
loading  Module Catcodes (ver: 2011.12.17)
))
resolversmodules  loaded: 'syntax-highlight'
(../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-highlight.mkiv
loading  Code syntax highlighting (ver: 2012.04.18)
resolversmodules  loaded: 'syntax-groups'
(../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-groups.tex
loading  Syntax highlighting groups (ver: 2012.01.03)
resolversmodules  already loaded: 'module-catcodes'
)
resolversmodules  already loaded: 'filter'
)){/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
(linewrap-temp-MATLAB-0.vimout
Overfull \hbox (5.81206pt too wide) in paragraph at lines 2--2
[][][]\3modern-designsize-12pt-tt-tf-0--0 ran-dom tex-tran-dom tex-tran-dom tex-tran-dom tex-tran-dom tex-tran-dom tex-tran-

\hbox(7.332+0.072)x426.78743, direction TLT
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\latelua0_plib_.enhance(p:2)
.\3modern-designsize-12pt-tt-tf-0--0 r
.\3modern-designsize-12pt-tt-tf-0--0 a
.etc.

) (linewrap-temp-MATLAB-1.vimout
Overfull \hbox (24.35204pt too wide) in paragraph at lines 14--1
[][][][]\3modern-designsize-12pt-tt-tf-0--0 fprintf('ran-dom text ran-dom text ran-dom text ran-dom text ran-dom text ran-

\hbox(10.42677+4.05482)x426.78743, direction TLT
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\latelua0_plib_.enhance(p:4)
.\hbox(10.42677+4.05482)x0.0, direction TLT
..\latelua0_plib_.enhance(b:tbg:2)
..\hbox(10.42677+4.05482)x0.0, direction TLT
..\glue 0.0 plus 1.0fil minus 1.0fil
.\3modern-designsize-12pt-tt-tf-0--0 f
.etc.

)
metapost initializing instance 'metafun' using format 'metafun'
metapost loading 'metafun': /home/context/tex/texmf-context/metapost

Re: [NTG-context] Recommendation for including MATLAB-scripts

2012-04-22 Thread Xenia
On 19.04.2012 21:11, Aditya Mahajan wrote:
 On Thu, 19 Apr 2012, Xenia wrote:
 
 Dear context-folks,

 I have to write some short protocols including some matlab-code. Do you
 have a recommendation for an easy way to include '.m'-files and diaries
 as code?
 
 I'd recommend to use the vim module, which uses vim to generate syntax
 highlighted source code.

[...]

 You need both the filter module and the vim module for this to work, and
 also need the vim binary in your path.

Thank you.
I get the following error message:

! Undefined control sequence.

system   tex  error on line 5 in file 2.tex: Undefined control
sequence ...

All files are attached. I use the current version: 2012.04.19 23:18.
What is the problem here?

Thanks,

Xenia
\usemodule[vim]
\definevimtyping[MATLAB][syntax=matlab]

\starttext
\includeMATLABfile{aufg1.m}

\stoptext 
% runtime options files (command line driven)
\unprotect
% feedback and basic job control
% handy for special styles
\startluacode
document = document or { }
document.arguments={
}
document.files={
 2,
}
\stopluacode
% process info
\setupsystem[inputfile=2]
\setupsystem[\c!n=1,\c!m=1]
% modes
% options (not that important)
\startsetups *runtime:options
\stopsetups
% styles and modules
\startsetups *runtime:modules
\stopsetups
% done
\protect \endinput
___
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] Recommendation for including MATLAB-scripts

2012-04-19 Thread Xenia
Dear context-folks,

I have to write some short protocols including some matlab-code. Do you
have a recommendation for an easy way to include '.m'-files and diaries
as code?

Thanks,

Xenia
___
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] ≙ is not shown correctly

2012-01-19 Thread Xenia
Dear context-folks,

the unicode-character ≙ is not shown in the normal text-mode and in
math-mode the hat is too big in comparison to `\mathrel{\widehat{=}}`.
Is that a font problem?

Thanks,

Xenia
___
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] Number formatting in \unit

2011-12-11 Thread Xenia
Am 11.12.2011 11:25, schrieb robin.kirk...@csiro.au:
 All,
 
 I have put together some suggestions to extend the number formatting
 capability in \unit, particularly for scientific and engineering purposes,
 including basic support for tolerances and uncertainties.
 
 It is a bit long, so source is attached and a PDF is at
 
 http://dl.dropbox.com/u/36891398/units6.pdf
 
 Of course, this is just my opinion, so I welcome any feedback from the list.

I like your suggestions. Especially the current handling of `e-23` etc.
is not intuitive but rather confusing and does not meet the standard.

I do not know if there is already a solution for automatically
shortening the number of digits in the output, but that would be nice, too.

Xenia
___
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] Regression: A^\prime causes `Missing { inserted ...`

2011-11-24 Thread Xenia
Am 24.11.2011 11:46, schrieb Paul Menzel:
 Dear ConTeXt folks,
 
 
 having upgraded
 
 ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.15  int: 
 english/english.
 
 to
 
 ConTeXt  ver: 2011.11.23 18:58 MKIV  fmt: 2011.11.24  int: 
 english/english
 
 With
 
 \starttext
   \placeformula
   \startformula
   A^\prime
   \stopformula
 \stoptext
 
 I get the following error.
 
 fontsfallback modern rm 12pt is loaded
 ! Missing { inserted.
 
 system   tex  error on line 4 in file 
 exponent-regression.tex: Missing { inserted ...
 
 1 \starttext
 2 \placeformula
 3 \startformula
 4   A^\prime
 5 \stopformula
 6 \stoptext
 7 
 
 to be read again 
^
 \prime ...char \textfont \zerocount FE325\relax ^
   \bgroup 
 \expandafter \dodo...
 l.4   A^\prime
   
 ?
 
 As a workaround `A^{\prime}` can be used.

Right, for me A' produces the same result. But maybe this is a font-issue.
___
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] gnuplot

2011-08-19 Thread Xenia
Am 18.08.2011 23:31, schrieb Mojca Miklavec:
 On Thu, Aug 18, 2011 at 22:39, Xenia wrote:
 Hi list,

 I'm having some problems with gnuplot.

 I tried the minimal example from http://wiki.contextgarden.net/Gnuplot ,
 but I recieve just a .plt-file.

 I hope some of you do also use gnuplot and can help me easily.
 
 Dear Xenia,
 
 1.) What operating system are you using?

debian-wheezy (testing)

 2.) Did you compile gnuplot from https://github.com/mojca/gnuplot or
 did you use the default gnuplot as shipped with your system? (I should
 check again, but there is some slight chance that it also works with
 TikZ terminal; however I doubt that the latest version of TikZ
 terminal has been released, so that might not necessary help you.)

I tried following this instruction:
http://wiki.contextgarden.net/Gnuplot#Unix_or_Mac

But then I got:
-
$ ./prepare

./prepare: 47: aclocal: not found

Some part of the preparation process failed.
Please refer to INSTALL for details.
-

And in INSTALL and INSTALL.gnu the first step is to do
$ ./configure
but I only have a configure.in and configure.vms -file.
I'm quite confused.
So I installed it from the debian-repositories (for sure without any
context-implementation), but you could just tell me, how I can make your
version work. :-)

 3.) You need to make sure that if you run gnuplot, selecting
 set term context
 works. After then you could also check if
 gnuplot your-document-gnuplot-1.plt
 will generate a tex file.
 
 I suspect that your gnuplot doesn't know about ConTeXt terminal. In
 that case you may complain to the gnuplot mailing list :) :) :)

You're right and I did. :-)

Thanks

Xenia
___
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] gnuplot

2011-08-18 Thread Xenia
Hi list,

I'm having some problems with gnuplot.
I installed it as an extra module (means I guess, it is already
installed via --modules=all).

Now, I want to use it directly in my ConTeXt-document, without
compiling/preprocessing it first.

In the gnuplot documentation I just found, how to create a pdf-document
(nothing about implementation in context).

I tried the minimal example from http://wiki.contextgarden.net/Gnuplot ,
but I recieve just a .plt-file.

I hope some of you do also use gnuplot and can help me easily.

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

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