[NTG-context] Another problem in Markdown processing

2013-11-12 Thread Xan
Descriptions fail:

Term 1
  ~ Definition 1
Term 2
  ~ Definition 2a
  ~ Definition 2b

gives you a 

! Undefined control sequence.

system   tex  error on line 19 in file 98-realitat.md.tex: Undefined 
control sequence ...

 9 
10 : Domino gratacels \letterbar{} funció exponencial \letterbar{} anglès
11 \letterbar{} complicat de calcular (per tempteig). no me surt la
12 resposta teòria de 29
13 
14 
\useURL[url3][http://mrmeyer.com/threeacts/shrinkingdollar/][][DM-35]\from[url3]
15 
16 : Encollir un dòlar \letterbar{} funció exponencial \letterbar{} cap
17 \letterbar{} \letterbar{}
18 
19   \startdescription{Term 1}
20   Definition 1
21 \stopdescription
22 
23 \startdescription{Term 2}
24   Definition 2a
25 
26   Definition 2b
27 \stopdescription
28 
29 \section[gràfica-duna-funció]{Gràfica d'una funció}

l.19 \startdescription
{Term 1}
? x



I think it's a bug of pandoc that does not include necessary definitions.

@Aditya, can you confirm that?

Xan
___
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] widowpenalty in mixedcolumns

2013-11-12 Thread Joshua Krämer
Dear list,

while \widowpenalty is respected in conventional columns, inside or 
outside \startmixedcolumns and \stopmixedcolumns, it is ignored.  How can 
I make ConTeXt avoid widows in mixedcolumns?

(I can't use conventional columns, some things like distance=... don't 
work there.)

Thank you,
Joshua Krämer

MWE:

\starttext

\startmixedcolumns
%\startcolumns

\widowpenalty1

\dorecurse{290}{word }

\dorecurse{250}{second }

\stopmixedcolumns
%\stopcolumns

\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] widowpenalty in mixedcolumns

2013-11-12 Thread Wolfgang Schuster
On 12. November 2013 at 18:36:49, Joshua Krämer (joshua.krae...@gmail.com) 
wrote:
Dear list,

while \widowpenalty is respected in conventional columns, inside or 
outside \startmixedcolumns and \stopmixedcolumns, it is ignored. How can 
I make ConTeXt avoid widows in mixedcolumns?

(I can't use conventional columns, some things like distance=... don't 
work there.)

Thank you,
Joshua Krämer

MWE:

\starttext

\startmixedcolumns
%\startcolumns

\widowpenalty1

\dorecurse{290}{word }

\dorecurse{250}{second }

\stopmixedcolumns
%\stopcolumns

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



\startcolumns

\input knuth

\stopcolumns



\startcolumns[distance=4cm]

\input knuth

\stopcolumns



\stoptext

-- 
Wolfgang Schuster___
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] widowpenalty in mixedcolumns

2013-11-12 Thread Joshua Krämer
Dear Wolfgang,

thanks for your answer.  Please compare:

\starttext

\startcolumns[distance=5pt]
\input knuth
\stopcolumns

\startmixedcolumns[distance=5pt]
\input knuth
\stopmixedcolumns

\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] widowpenalty in mixedcolumns

2013-11-12 Thread Wolfgang Schuster


On 12. November 2013 at 18:45:55, Joshua Krämer (joshua.krae...@gmail.com) 
wrote:

Dear Wolfgang, 

thanks for your answer. Please compare: 

\starttext 

\startcolumns[distance=5pt] 
\input knuth 
\stopcolumns 

\startmixedcolumns[distance=5pt] 
\input knuth 
\stopmixedcolumns 

\stoptext
You have to set the values of the offset key to 0pt to use only the values for 
distance:

\starttext

\startcolumns[distance=5pt,offset=0pt]
\input knuth 
\stopcolumns 

\startmixedcolumns[distance=5pt]
\input knuth 
\stopmixedcolumns 

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

Re: [NTG-context] widowpenalty in mixedcolumns

2013-11-12 Thread Joshua Krämer
Am Tue, 12 Nov 2013 19:00:52 +0100 schrieb Wolfgang Schuster:

 \stoptext You have to set the values of the offset key to 0pt to use
 only the values for distance:

Thanks, that did the trick.  However, I still wonder why \widowpenalty 
doesn't work in mixedcolumns.  This should be revised.  Maybe penalty 
keys for \setupmixedcolumns and \startmixedcolumns would be even better.

Kind regards,
Joshua Krämer

___
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] hanging on fonts

2013-11-12 Thread H. van der Meer
Context hangs with this in the console:

fontsnames  identifying system font files with suffix 'otf'
fontsnames  'OSFONTDIR' specifies path 
'/Users/hansm/Library/Fonts'
fontsnames  'OSFONTDIR' specifies path '/Library/Fonts'
fontsnames  'OSFONTDIR' specifies path '/System/Library/Fonts'
fontsnames  globbing path '/Users/hansm/Library/Fonts/**.otf'
fontsnames  globbing path '/Library/Fonts/**.otf'

ConTeXt  ver: 2013.10.15 13:52 MKIV beta  fmt: 2013.10.20  int: english/english

Putting OSFONTDIR=“” export OSFONTDIR did not help, ConTeXt keeps using the 
MacOSX libraries. How to kill these? Without a solution I cannot typeset.

Hans van der Meer



___
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] hanging on fonts

2013-11-12 Thread Aditya Mahajan

On Tue, 12 Nov 2013, H. van der Meer wrote:


Context hangs with this in the console:

fontsnames  identifying system font files with suffix 'otf'
fontsnames  'OSFONTDIR' specifies path 
'/Users/hansm/Library/Fonts'
fontsnames  'OSFONTDIR' specifies path '/Library/Fonts'
fontsnames  'OSFONTDIR' specifies path '/System/Library/Fonts'
fontsnames  globbing path '/Users/hansm/Library/Fonts/**.otf'
fontsnames  globbing path '/Library/Fonts/**.otf'

ConTeXt  ver: 2013.10.15 13:52 MKIV beta  fmt: 2013.10.20  int: english/english

Putting OSFONTDIR=“” export OSFONTDIR did not help, ConTeXt keeps using the 
MacOSX libraries. How to kill these? Without a solution I cannot typeset.


See http://tex.stackexchange.com/a/136073/323

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
___

Re: [NTG-context] hanging on fonts

2013-11-12 Thread Otared Kavian
Hi,

According to Wolfgang Schuster and some others removing the file Skia.ttf may 
solve the problem. 
Please see the thread

http://www.ntg.nl/pipermail/ntg-context/2013/075689.html

and more precisely

http://www.ntg.nl/pipermail/ntg-context/2013/075701.html

Best regards: OK

On 12 nov. 2013, at 20:02, H. van der Meer h.vanderm...@uva.nl wrote:

 Context hangs with this in the console:
 
 fontsnames  identifying system font files with suffix 'otf'
 fontsnames  'OSFONTDIR' specifies path 
 '/Users/hansm/Library/Fonts'
 fontsnames  'OSFONTDIR' specifies path '/Library/Fonts'
 fontsnames  'OSFONTDIR' specifies path '/System/Library/Fonts'
 fontsnames  globbing path '/Users/hansm/Library/Fonts/**.otf'
 fontsnames  globbing path '/Library/Fonts/**.otf'
 
 ConTeXt  ver: 2013.10.15 13:52 MKIV beta  fmt: 2013.10.20  int: 
 english/english
 
 Putting OSFONTDIR=“” export OSFONTDIR did not help, ConTeXt keeps using the 
 MacOSX libraries. How to kill these? Without a solution I cannot typeset.
 
 Hans van der Meer
 
 
 
 ___
 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] hanging on fonts

2013-11-12 Thread H. van der Meer
Indeed, pointing OSFONTDIR to some dummy directory works here (MACOSX 10.9) 
latest beta.
Perhaps superfluous but users of TeXShop should make that assignment in their 
engine files. If there is a more general way to put this environment variable 
in TeXShop in will be glad to hear.

Thanks.

Hans van der Meer



On 12 nov. 2013, at 20:06, Aditya Mahajan adit...@umich.edu wrote:

 On Tue, 12 Nov 2013, H. van der Meer wrote:
 
 Context hangs with this in the console:
 
 fontsnames  identifying system font files with suffix 'otf'
 fontsnames  'OSFONTDIR' specifies path 
 '/Users/hansm/Library/Fonts'
 fontsnames  'OSFONTDIR' specifies path '/Library/Fonts'
 fontsnames  'OSFONTDIR' specifies path '/System/Library/Fonts'
 fontsnames  globbing path '/Users/hansm/Library/Fonts/**.otf'
 fontsnames  globbing path '/Library/Fonts/**.otf'
 
 ConTeXt  ver: 2013.10.15 13:52 MKIV beta  fmt: 2013.10.20  int: 
 english/english
 
 Putting OSFONTDIR=“” export OSFONTDIR did not help, ConTeXt keeps using the 
 MacOSX libraries. How to kill these? Without a solution I cannot typeset.
 
 See http://tex.stackexchange.com/a/136073/323
 
 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
 ___

___
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] Index - ranges

2013-11-12 Thread honyk
On 2013-11-07 honyk wrote:
 
 1) when a range for my subject index entry is specified and the text
 between doesn't overflow to the next page, even in this case 
 the range of pages 1-1 is created. Is there any option to normalize 
 it to a single page number?
 
 \startregister[index][range_01]{primary}
 Dummy text.
 \stopregister[index][range_01]
 
 ...
 3) when several single index entries are used on consecutive pages, the
 result 1,2,3,4,5 is produced. Is there any option to create a range
 from this?

(A)
I've found a promising option compress=no|yes|all in an experimental test
case located in the strc-reg.mkiv file. The corresponding lua code seems to
be performing some cleanup of page ranges, but when I define it same way,
there is no difference in my output (still 1-1):

\startregister[index][range_01]{primary}
Dummy text.
\stopregister[index][range_01]
\placeregister[index][compress=yes]

Is it necessary to switch it on somehow? 

(B)
I've also found a special syntax for collapsing pages in
http://wiki.contextgarden.net/Registers
[[Command/{{{1}}}|\{{{1}}}]] - but I have no idea how to appply it. 

I already use the 'command' parameter to switch the index group letter to
upper case: \setupregister[index][n=2,command=\Word,style=normal]

Can these commands be combined together somehow? Or is it obsolete in favor
of (A)?

Thanks, Jan

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