Re: [NTG-context] Registers with distinguishable entries.

2012-04-27 Thread S Barmeier
On 04/26/2012 10:14 PM, Alan BRASLAU wrote:
 On Thu, 26 Apr 2012 19:18:55 +0900
 S Barmeier severinbarme...@googlemail.com wrote:
 
 \defineregister[Music][Musics]
 
 Musics?
 
 Alan

Hey, that wasn't me... It was like that when I got it =)
___
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 or alternative

2012-04-27 Thread Henning Hraban Ramm

Hi Wolfgang and others,

I had in my book:
\usemodule[fancybreak] % https://bitbucket.org/wolfs/fancybreak/
\setupfancybreak[indentnext=no]
\def\Space{\fancybreak{\strut}} % i.e. just an empty line


But at least with my current version of ConTeXt (i.e. from 2010-11-29)  
I get:

---
! Undefined control sequence.

system   tex  error on line 9 in file prd_feenbuch.tex:  
Undefined control sequence ...


\dododowithnextbox ...\usefancybreakstyleandcolor
  \c!style \c!color  
\aftergr...

\Space -\fancybreak {
\strut }
l.9 \Space
---

I don’t really need the fancybreak module, just an interspace without  
indent after it. \noindent doesn’t work. How to?



Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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

2012-04-27 Thread Wolfgang Schuster

Am 27.04.2012 um 19:51 schrieb Henning Hraban Ramm:

 Hi Wolfgang and others,
 
 I had in my book:
 \usemodule[fancybreak] % https://bitbucket.org/wolfs/fancybreak/
 \setupfancybreak[indentnext=no]
 \def\Space{\fancybreak{\strut}} % i.e. just an empty line

Why so complicated, use \fancybreak without any argument and you get a blank 
line (unless you have set a symbol).

\usemodule[fancybreak]
\starttext
line 1
\fancybreak
line 2
\fancybreak[2*line]
line 3
\stoptext

 But at least with my current version of ConTeXt (i.e. from 2010-11-29) I get:
 ---
 ! Undefined control sequence.
 
 system   tex  error on line 9 in file prd_feenbuch.tex: Undefined 
 control sequence ...
 
 \dododowithnextbox ...\usefancybreakstyleandcolor
  \c!style \c!color \aftergr...
 \Space -\fancybreak {
\strut }
 l.9 \Space
 ---
 
 I don’t really need the fancybreak module, just an interspace without indent 
 after it. \noindent doesn’t work. How to?

A few internal command names have changed over the time and you need either a 
older version of the module or you use this simple definition for the \Space 
command.

\def\Space{\blank\noindentation}

\setupindenting[yes,medium]

\starttext

\input ward

\blank

\input ward

\Space

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


[NTG-context] \phantom{\item ... }

2012-04-27 Thread Troy Henderson
Using \phantom to hide an itemized item does not reserve the
(vertical) space for the item as I expect.  That is, in the following
example

\starttext
   \startitemize
  \item Foo
  \phantom{\item Bar}
  \item Boo
   \stopitemize
\stoptext

the second item is hidden, but in fact, the space for that item has
not been allocated at all.  Why is this, and more importantly to me,
how can I get the space allocated without using hackish transparent
colors?

Thanks in advance,

Troy Henderson
___
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 or alternative

2012-04-27 Thread Henning Hraban Ramm

Am 2012-04-27 um 20:15 schrieb Wolfgang Schuster:


\usemodule[fancybreak] % https://bitbucket.org/wolfs/fancybreak/
\setupfancybreak[indentnext=no]
\def\Space{\fancybreak{\strut}} % i.e. just an empty line


Why so complicated, use \fancybreak without any argument and you get  
a blank line (unless you have set a symbol).


But I also get the same error.

I don’t really need the fancybreak module, just an interspace  
without indent after it. \noindent doesn’t work. How to?


A few internal command names have changed over the time and you need  
either a older version of the module


I thought I tried an older version, but perhaps not hard enough...


or you use this simple definition for the \Space command.

\def\Space{\blank\noindentation}



Thank you! Seems I was looking for \noindentation instead of \noindent
I can use that in other places, too.




Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] \phantom{\item ... }

2012-04-27 Thread Peter Münster
On Fri, Apr 27 2012, Troy Henderson wrote:

 the second item is hidden, but in fact, the space for that item has
 not been allocated at all.

Did you try the methods here:
http://wiki.contextgarden.net/Hiding_Content ?


 Why is this, and more importantly to me, how can I get the space
 allocated without using hackish transparent colors?

Or hackish white...

-- 
   Peter
___
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] Referncing the Bibliography Appendix

2012-04-27 Thread Kip Warner
On Thu, 2012-04-26 at 09:24 +0200, Philipp Gesang wrote:
 This listing assumes you use only one bibliography on chapter
 level.

Thanks Philipp. That worked.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Referncing the Bibliography Appendix

2012-04-27 Thread Kip Warner
On Thu, 2012-04-26 at 09:14 +0200, Mojca Miklavec wrote:
 Not tested, but I think that you could use a normal title (something
 like \section[references]{References}) and then \placepublications
 instead of \completepublications (if I didn't make a typo). 

Thanks Mojca.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] LuaTeX error after update to ubuntu 12.04

2012-04-27 Thread S Barmeier
After updating to ubuntu 12.04, my shouts of joy were smothered by the
following

!LuaTeX error: cannot find OpenType font file for reading ()
 == Fatal error occurred, no output PDF file produced!

mtx-context | fatal error: return code: 70

I ran mtxrun --script fonts --reload, updated to the latest context
version, ran luatools --generate and context --make and still am
presented with the above error message after 10-15 minutes of paralysing
processing.

The compiling seems to run as always, until it reaches the last page, at
which point the computer freezes and takes about 10 minutes to present
me with the error. The following is another snapshot of the output which
I noticed for the first time:

system   logs  lua: compiling
/home/user/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/andika-r.tma
into
/home/user/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/andika-r.tmc

fontsotf loading  preprocessing and caching took
73.009 seconds

Any ideas where to start?

Many thanks,
Severin
___
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] LuaTeX error after update to ubuntu 12.04

2012-04-27 Thread Kip Warner
On Sat, 2012-04-28 at 13:25 +0900, S Barmeier wrote:
 After updating to ubuntu 12.04, my shouts of joy were smothered by the
 following
 
 !LuaTeX error: cannot find OpenType font file for reading ()
  == Fatal error occurred, no output PDF file produced!

Fuuck...and here I was planning on upgrading tomorrow morning.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] LuaTeX error after update to ubuntu 12.04

2012-04-27 Thread Khaled Hosny
On Sat, Apr 28, 2012 at 01:25:03PM +0900, S Barmeier wrote:
 After updating to ubuntu 12.04, my shouts of joy were smothered by the
 following
 
 !LuaTeX error: cannot find OpenType font file for reading ()
  == Fatal error occurred, no output PDF file produced!
 
 mtx-context | fatal error: return code: 70

This usually indicates that ConTeXt is a passing a file name to the
backend that does not exist on the disk, usually because the cache is
outdated.

 I ran mtxrun --script fonts --reload, updated to the latest context
 version, ran luatools --generate and context --make and still am
 presented with the above error message after 10-15 minutes of paralysing
 processing.

Since all of this does not work, I'd delete the cache completely and try
again (the /home/user/texmf-cache/luatex-cache/context/*).

Regards,
 Khaled
___
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] LuaTeX error after update to ubuntu 12.04

2012-04-27 Thread S Barmeier
Deleting the cache worked, thank you! The first run on my book
successfully compiled after 7 mins., subsequent ones now take 15
seconds (which used to be a stable 25 sec before the upgrade).

In ubuntu 12.04 all font packages are renamed to fonts-*, rather than
ttf-* or otf-* etc.

I thought that running mtxrun --script fonts --reload would fix lookup
problems, but it seems that you might want to clear the cache completely.

Still, esp. with the added speed benefit, there is no reason to hold
back the upgrade (from my point of view).

Thanks,
Severin


On 04/28/2012 01:30 PM, Kip Warner wrote:
 On Sat, 2012-04-28 at 13:25 +0900, S Barmeier wrote:
 After updating to ubuntu 12.04, my shouts of joy were smothered
 by the following
 
 !LuaTeX error: cannot find OpenType font file for reading () ==
 Fatal error occurred, no output PDF file produced!
 
 Fuuck...and here I was planning on upgrading tomorrow morning.
 

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