Re: [NTG-context] Intsalling modules - once more

2014-08-19 Thread Werner Hintze
I made a new step: I found out how to change the script in Texnicle. It 
was for MKII, now I changed it to MKIV. It works well now. The problem 
is just the module fancybreak. When I try to use it, I get the message 
»Undefined control sequence«. Some lines before I find: »resolvers
modules  'fancybreak' is already loaded«.


This doesn’t happen with the stand alone. What is wrong here?

On 18 Aug 2014, at 19:40, Wolfgang Schuster wrote:


Am 18.08.2014 um 19:03 schrieb Werner Hintze w.hin...@posteo.eu:


On 18 Aug 2014, at 18:17, Aditya Mahajan wrote:

MkIV will not load .mkii files. What is the exact command that you 
use to run context?


Aha! You found the point! I use Texnicle as editor and the context 
engine Texnicle provides. It calls texexec... But it’s not enough 
to put here context. The problem remains, that I get the message, 
that fancy break is undefined.


What happens when you process this example with Texnicle:

\usemodule[fancybreak]

\starttext

\input knuth

\fancybreak{$***$}

\input ward

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

___
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] contextref.pdf unsearchable? (OT)

2014-08-19 Thread Keith Schultz
Hi Gerben,

You do not need to use Preview. If you move your cursor to bottom middle of the 
PDF in Safari among otherthings a save button shows up! If you click it,
your PDF is saved to the standard download location.
If you want to save the PDF somewhere else then you can do it from the page
where the link is and right-click it to get a pop up menu and you can the
download the pdf to where you want it and even rename it.

regards
Keith.

Am 18.08.2014 um 10:43 schrieb Gerben Wierda gerben.wie...@rna.nl:

 It turns out my version of Mac OS X is to blame. When you open a PDF in 
 Safari and you want to save it, you need to open it in Preview first. But 
 when you then save it somewhere from Preview, searching and other stuff is 
 damaged. It apparently is not saved ‘as is’.
 
 G
 
 On 17 Aug 2014, at 22:15, Gerben Wierda gerben.wie...@rna.nl wrote:
 
 I don’t know where I got it but the one I had (MacTeX?) was unsearchable and 
 had not working links. But yours is OK. Thanks.
 
 G
 
 On 17 Aug 2014, at 20:57, Mikael P. Sundqvist mic...@gmail.com wrote:
 
 On Sun, Aug 17, 2014 at 8:46 PM, Gerben Wierda gerben.wie...@rna.nl wrote:
 On 17 Aug 2014, at 20:44, Mikael P. Sundqvist mic...@gmail.com wrote:
 
 On Sun, Aug 17, 2014 at 8:33 PM, Gerben Wierda gerben.wie...@rna.nl 
 wrote:
 I have two  manuals, cont-enp.pdf (2001) and contextref.pdf (2013). I 
 often have to go to cont-enp.pdf because contextref.pdf is unsearchable. 
 Is it indeed unsearchable? Or is something wrong at my end?
 
 G
 
 contextref.pdf is searchable here.
 
 Where did you download your version? I'd like to test with exactly the 
 same.
 
 Google gave me (among the first hits):
 
 http://staff.science.uva.nl/~hansm/docs/context/contextref.pdf
 and
 http://pmrb.free.fr/contextref.pdf
 
 Both searchable.
 
 /Mikael
 ___
 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
 ___
 
 ___
 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] Distances between chapter and section titles and text

2014-08-19 Thread Robert Blackstone

On 18 Aug 2014, at 10:43 ,  Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:
wrote:
 
 Am 18.08.2014 um 09:29 schrieb Robert Blackstone 
 blackstone.rob...@gmail.com:
 
 
 On 17 aug. 2014, at 20:06, joshua.krae...@gmail.com wrot
 
 On 2014-08-15, 19:56, Robert Blackstone wrote:
 
 A few days ago I posted this question. There were no reactions, but
 it is not an urgent matter for me anymore since I found an effective
 work-around. (Although I still wonder whether or not this possibility
 exists in mkiv,)
 
 I have not seen the issue you have described myself.  The attached
 example works for me.  You have to prepare a minimal working example
 that shows the problem.  Maybe then somebody can identify the reason
 for your issue.
 
 
 But I have realized now, a bit late, that for real control over these 
 distances one also needs to setup the section-head in a similar manner, 
 additionally specifying the distance before.
 The presence or absence of Frontmatter does not influence results.
 I think there must have been a setup command somewhere in my setups that I 
 had forgotten about.
 
 You?re forgetting that \section insert also a space before the text is 
 placed. In a case where two commands insert a space at the same position like 
 here the larger value is used which comes in the second chapter from the 
 \section command.
 
 Wolfgang
Thank you, Wolfgang. I was not forgetting what you describe. Worse, I had not 
taken any notice, just accepting the default distances as they appeared, which 
generally seemed OK.
I hope to be a bit ConTeXt-wiser now.

Kind regards,
Robert Blackstone
___
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] contextref.pdf unsearchable? (OT)

2014-08-19 Thread Gerben Wierda
On 18 Aug 2014, at 20:03, Keith Schultz keithjschu...@icloud.com wrote:

 If you want to save the PDF somewhere else then you can do it from the page
 where the link is and right-click it to get a pop up menu and you can the
 download the pdf to where you want it and even rename it.

Yes, that is what I did. But that only works for links where the parent dir 
actually lets you right click on the link. Doesn’t work (for instance) for a 
link like http://pmrb.free.fr/contextref.pdf received in the mail, as 
http://pmrb.free.fr/ does not contain a link to the file.

G

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

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

[NTG-context] itemize: how to get the first level items indented?

2014-08-19 Thread Gerben Wierda
I’d like to get \startitemize\stopitemize to indent the first level items 
already with the equal amount of indentation as the start of a paragraph (which 
is indented). Is there a way to do that?

mkii

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

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


Re: [NTG-context] itemize: how to get the first level items indented?

2014-08-19 Thread Wolfgang Schuster

Am 19.08.2014 um 16:27 schrieb Gerben Wierda gerben.wie...@rna.nl:

 I’d like to get \startitemize\stopitemize to indent the first level items 
 already with the equal amount of indentation as the start of a paragraph 
 (which is indented). Is there a way to do that?

\setupindenting[yes,medium]

\starttext

\input knuth

\startitemize[margin=standard]
\item \input ward
\stopitemize

\input tufte

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


[NTG-context] Fancybreak - no hope?

2014-08-19 Thread Werner Hintze
Hi Wolfgang, I forgot to tell, what happes, when I try to compile your 
example. It’s just the same: There is a message in the log file: 
»Module already loaded« and the next one about fancybreak is 
»undefined control sequence«.


What can this mean?

Here is the log:

open source  1  1  
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv


ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2014.8.19  int: 
english/english


system   'cont-new.mkiv' loaded
open source  2  2  
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
close source 2  2  
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
system   files  jobname 'Untitled', input './Untitled', result 
'Untitled'

fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
open source  2  3  /Users/whintze/Desktop/LatexTests/Untitled.tex
resolversmodules  'fancybreak' is already loaded
fontspreloading latin modern fonts (second stage)
fonts'fallback modern-designsize rm 12pt' is loaded
open source  3  4  
/usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex
close source 3  4  
/usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex


tex errorerror on line 7 in file 
/Users/whintze/Desktop/LatexTests/Untitled.tex: ! Undefined control 
sequence


l.7 \fancybreak
 {$***$}

 1 \usemodule[fancybreak]
 2
 3 \starttext
 4
 5 \input knuth
 6
 7   \fancybreak{$***$}
 8
 9 \input ward
10
11 \stoptext


?

tex errorerror on line 7 in file 
/Users/whintze/Desktop/LatexTests/Untitled.tex: ! Emergency stop

___
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] Fancybreak - no hope?

2014-08-19 Thread Werner Hintze
Something I want to add: Now the problem has no more to do with 
Tdexnicle. I corected the script, and it works well now. When I don't 
use it, but make in the termini  context filename.tex, I get the same 
error message.


On 19 Aug 2014, at 16:52, Werner Hintze wrote:

Hi Wolfgang, I forgot to tell, what happes, when I try to compile your 
example. It’s just the same: There is a message in the log file: 
»Module already loaded« and the next one about fancybreak is 
»undefined control sequence«.


What can this mean?

Here is the log:

open source  1  1  
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv


ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2014.8.19  int: 
english/english


system   'cont-new.mkiv' loaded
open source  2  2  
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
close source 2  2  
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
system   files  jobname 'Untitled', input './Untitled', 
result 'Untitled'

fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
open source  2  3  
/Users/whintze/Desktop/LatexTests/Untitled.tex

resolversmodules  'fancybreak' is already loaded
fontspreloading latin modern fonts (second stage)
fonts'fallback modern-designsize rm 12pt' is loaded
open source  3  4  
/usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex
close source 3  4  
/usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex


tex errorerror on line 7 in file 
/Users/whintze/Desktop/LatexTests/Untitled.tex: ! Undefined control 
sequence


l.7 \fancybreak
  {$***$}

1 \usemodule[fancybreak]
2
3 \starttext
4
5 \input knuth
6
7   \fancybreak{$***$}
8
9 \input ward
10
11 \stoptext


?

tex errorerror on line 7 in file 
/Users/whintze/Desktop/LatexTests/Untitled.tex: ! Emergency stop

___
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] Fancybreak - no hope?

2014-08-19 Thread Hans Hagen

On 8/19/2014 5:05 PM, Werner Hintze wrote:

Something I want to add: Now the problem has no more to do with
Tdexnicle. I corected the script, and it works well now. When I don't
use it, but make in the termini  context filename.tex, I get the same
error message.

On 19 Aug 2014, at 16:52, Werner Hintze wrote:


Hi Wolfgang, I forgot to tell, what happes, when I try to compile your
example. It’s just the same: There is a message in the log file:
»Module already loaded« and the next one about fancybreak is
»undefined control sequence«.

What can this mean?

Here is the log:

open source  1  1 
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2014.8.19  int:
english/english

system   'cont-new.mkiv' loaded
open source  2  2 
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
close source 2  2 
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
system   files  jobname 'Untitled', input './Untitled',
result 'Untitled'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
open source  2  3  /Users/whintze/Desktop/LatexTests/Untitled.tex
resolversmodules  'fancybreak' is already loaded


I see no message that the module is loaded which is weird. But your 
format is from may, so are you sure you use the latest versions of all?


Can you try the version from the contextgarden?

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Fancybreak - no hope?

2014-08-19 Thread Wolfgang Schuster

Am 19.08.2014 um 19:02 schrieb Hans Hagen pra...@wxs.nl:

 On 8/19/2014 5:05 PM, Werner Hintze wrote:
 Something I want to add: Now the problem has no more to do with
 Tdexnicle. I corected the script, and it works well now. When I don't
 use it, but make in the termini  context filename.tex, I get the same
 error message.
 
 On 19 Aug 2014, at 16:52, Werner Hintze wrote:
 
 Hi Wolfgang, I forgot to tell, what happes, when I try to compile your
 example. It’s just the same: There is a message in the log file:
 »Module already loaded« and the next one about fancybreak is
 »undefined control sequence«.
 
 What can this mean?
 
 Here is the log:
 
 open source  1  1 
 /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv
 
 ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2014.8.19  int:
 english/english
 
 system   'cont-new.mkiv' loaded
 open source  2  2 
 /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
 close source 2  2 
 /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
 system   files  jobname 'Untitled', input './Untitled',
 result 'Untitled'
 fontslatin modern fonts are not preloaded
 languageslanguage 'en' is active
 open source  2  3  /Users/whintze/Desktop/LatexTests/Untitled.tex
 resolversmodules  'fancybreak' is already loaded
 
 I see no message that the module is loaded which is weird. But your format is 
 from may, so are you sure you use the latest versions of all?


It’s a bug in the commands.usemodules function in file-mod.lua which sets a 
wrong status value
when you try to load a notexsitend file. Below is a minimal example where you 
get the right message
when you uncomment the \enabledirectives line.

%\enabledirectives[modules.permitunprefixed]

\usemodule[funnyname]

\starttext
\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] Fancybreak - no hope?

2014-08-19 Thread Hans Hagen

On 8/19/2014 7:16 PM, Wolfgang Schuster wrote:


Am 19.08.2014 um 19:02 schrieb Hans Hagen pra...@wxs.nl
mailto:pra...@wxs.nl:


On 8/19/2014 5:05 PM, Werner Hintze wrote:

Something I want to add: Now the problem has no more to do with
Tdexnicle. I corected the script, and it works well now. When I don't
use it, but make in the termini  context filename.tex, I get the same
error message.

On 19 Aug 2014, at 16:52, Werner Hintze wrote:


Hi Wolfgang, I forgot to tell, what happes, when I try to compile your
example. It’s just the same: There is a message in the log file:
»Module already loaded« and the next one about fancybreak is
»undefined control sequence«.

What can this mean?

Here is the log:

open source  1  1 
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2014.8.19  int:
english/english

system   'cont-new.mkiv' loaded
open source  2  2 
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
close source 2  2 
/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv
system   files  jobname 'Untitled', input './Untitled',
result 'Untitled'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
open source  2  3  /Users/whintze/Desktop/LatexTests/Untitled.tex
resolversmodules  'fancybreak' is already loaded


I see no message that the module is loaded which is weird. But your
format is from may, so are you sure you use the latest versions of all?


It’s a bug in the commands.usemodules function in file-mod.lua which
sets a wrong status value
when you try to load a notexsitend file. Below is a minimal example
where you get the right message
when you uncomment the \enabledirectives line.

%\enabledirectives[modules.permitunprefixed]

\usemodule[funnyname]

\starttext
\stoptext


ok, so we should have:

if not status or status == 0 then

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Fancybreak - no hope?

2014-08-19 Thread Wolfgang Schuster

Am 19.08.2014 um 21:02 schrieb Hans Hagen pra...@wxs.nl:

 I see no message that the module is loaded which is weird. But your
 format is from may, so are you sure you use the latest versions of all?
 
 It’s a bug in the commands.usemodules function in file-mod.lua which
 sets a wrong status value
 when you try to load a notexsitend file. Below is a minimal example
 where you get the right message
 when you uncomment the \enabledirectives line.
 
 %\enabledirectives[modules.permitunprefixed]
 
 \usemodule[funnyname]
 
 \starttext
 \stoptext
 
 ok, so we should have:
 
if not status or status == 0 then


Won’t a change like this make more sense?

Files without a prefix are only loaded when you enable the required directive.

function commands.usemodules(prefix,askedname,truename)
[...]
if status then
-- ok, don't change
elseif find(truename,%-) and usemodule(truename) then
-- assume a user namespace
report_modules(using user prefixed file %a,truename)
status = 1
-   elseif not permit_unprefixed then
-   -- forget about it
-   elseif usemodule(truename) then
+   elseif permit_unprefixed and usemodule(truename) then
report_modules(using unprefixed file %a,truename)
status = 1
else
status = 0
end
[...]
end

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] Fancybreak - no hope?

2014-08-19 Thread Hans Hagen

On 8/19/2014 9:20 PM, Wolfgang Schuster wrote:


Am 19.08.2014 um 21:02 schrieb Hans Hagen pra...@wxs.nl
mailto:pra...@wxs.nl:


I see no message that the module is loaded which is weird. But your
format is from may, so are you sure you use the latest versions of all?


It’s a bug in the commands.usemodules function in file-mod.lua which
sets a wrong status value
when you try to load a notexsitend file. Below is a minimal example
where you get the right message
when you uncomment the \enabledirectives line.

%\enabledirectives[modules.permitunprefixed]

\usemodule[funnyname]

\starttext
\stoptext


ok, so we should have:

   if not status or status == 0 then


Won’t a change like this make more sense?

Files without a prefix are only loaded when you enable the required
directive.

function commands.usemodules(prefix,askedname,truename)
 [...]
 if status then
 -- ok, don't change
 elseif find(truename,%-) and usemodule(truename) then
 -- assume a user namespace
 report_modules(using user prefixed file %a,truename)
 status = 1
-   elseif not permit_unprefixed then
-   -- forget about it
-   elseif usemodule(truename) then
+   elseif permit_unprefixed and usemodule(truename) then
 report_modules(using unprefixed file %a,truename)
 status = 1
 else
 status = 0
 end
 [...]
end


sure, i'd added a status = 0 there but collapsing the else's makes 
more sense indeed


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] itemize: how to get the first level items indented?

2014-08-19 Thread Gerben Wierda
On 19 Aug 2014, at 16:33, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 
 Am 19.08.2014 um 16:27 schrieb Gerben Wierda gerben.wie...@rna.nl:
 
 I’d like to get \startitemize\stopitemize to indent the first level items 
 already with the equal amount of indentation as the start of a paragraph 
 (which is indented). Is there a way to do that?
 
 \setupindenting[yes,medium]
 
 \starttext
 
 \input knuth
 
 \startitemize[margin=standard]

Does the margin thing, but incapacitates packed and joinedup, which are ignored 
if the margin statement is there. So, I get indented items, but at the price of 
losing joinedup and packed.

\setupindenting[yes,medium]

\starttext
Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. 
\startitemize[joinedup,packed]
\item Foo bar
\item Foo bar
\stopitemize
Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. 

Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. 
\startitemize[joinedup,packed,margin=standard]
\item Foo bar
\item Foo bar
\stopitemize
Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. 
\stoptext


G

 \item \input ward
 \stopitemize
 
 \input tufte
 
 \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
 ___

___
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] itemize: how to get the first level items indented?

2014-08-19 Thread Aditya Mahajan



On Wed, 20 Aug 2014, Gerben Wierda wrote:


On 19 Aug 2014, at 16:33, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:



Am 19.08.2014 um 16:27 schrieb Gerben Wierda gerben.wie...@rna.nl:


I’d like to get \startitemize\stopitemize to indent the first level items 
already with the equal amount of indentation as the start of a paragraph (which 
is indented). Is there a way to do that?


\setupindenting[yes,medium]

\starttext

\input knuth

\startitemize[margin=standard]


Does the margin thing, but incapacitates packed and joinedup, which are ignored 
if the margin statement is there. So, I get indented items, but at the price of 
losing joinedup and packed.

\setupindenting[yes,medium]

\starttext
Foo bar bar foo. Foo bar bar foo. Foo bar bar foo.
\startitemize[joinedup,packed]
\item Foo bar
\item Foo bar
\stopitemize
Foo bar bar foo. Foo bar bar foo. Foo bar bar foo.

Foo bar bar foo. Foo bar bar foo. Foo bar bar foo.
\startitemize[joinedup,packed,margin=standard]


You need to separate keywords with assignments:

\startitemize[joinedup, packed][margin=standard]

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
___