[NTG-context] Aditya filter module: ignore ``` in my case

2014-03-31 Thread Xan
Hi,

I have a problem: why this

\usemodule[filter]
\defineexternalfilter
[markdown]
[filtercommand={pandoc -f markdown+multiline_tables+table_captions -t 
context -o \externalfilteroutputfile\space \externalfilterinputfile}]


\starttext
 \startmarkdown
   Decideix l'esquema de particions que *tendré*
```
| Partició | Espai | Muntatge |
| sda1 | | /var/log % |
PROVA
%=Regime
\enableregime[utf]

%=Choose a language, and associated hyphenation rules.
\mainlanguage[ca]

%= Colors
\setupcolors[state=start]
\definecolor[headingcolor][c=1,m=0.5431,y=0,k=0.5451]
\definecolor[steelblue][h=4682B4]
\definecolor[griscodi][h=F5F5F5]
```


 \stopmarkdown
 \stoptext

does not process the code block (inside ```)?

I just wonder why?

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


Re: [NTG-context] Aditya filter module: ignore ``` in my case

2014-03-31 Thread Xan
Mmm... identation seems the guilty thing ;-)
Decideix  is good (without spaces at beginning)

Xan.

On Mon, 31 Mar 2014 14:17:47 +0200
Xan dxpubl...@telefonica.net ha escrit:

 Hi,
 
 I have a problem: why this
 
 \usemodule[filter]
 \defineexternalfilter
 [markdown]
 [filtercommand={pandoc -f markdown+multiline_tables+table_captions -t 
 context -o \externalfilteroutputfile\space \externalfilterinputfile}]
 
 
 \starttext
  \startmarkdown
Decideix l'esquema de particions que *tendré*
 ```
 | Partició | Espai | Muntatge |
 | sda1 | | /var/log % |
 PROVA
 %=Regime
 \enableregime[utf]
 
 %=Choose a language, and associated hyphenation rules.
 \mainlanguage[ca]
 
 %= Colors
 \setupcolors[state=start]
 \definecolor[headingcolor][c=1,m=0.5431,y=0,k=0.5451]
 \definecolor[steelblue][h=4682B4]
 \definecolor[griscodi][h=F5F5F5]
 ```
 
   
  \stopmarkdown
  \stoptext
 
 does not process the code block (inside ```)?
 
 I just wonder why?
 
 Thanks,
 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] \definelabel

2014-03-31 Thread Herbert Voss

Hi all,

this worked some time ago:

\definelabel[video][text=Video,location=inmargin]

\starttext
\video foo
\nextvideo bar
\currentvideo[video1] baz
\page
see \at[video1].
\incrementvideo
\video foobar
\resetvideo
\video foobarbaz
\stoptext

now \currentvideo and \incrementvideo are undefined

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