Re: [NTG-context] korean

2013-11-01 Thread Henning Hraban Ramm
Am 2013-11-01 um 11:51 schrieb Wolfgang Schuster wolfgang.schus...@gmail.com:

 I just modify the buffer because all the characters are appeared as '?' in 
 the mail.
 
 Can you try a different mail client (which doesn’t break threads) because I 
 have no problem with Hans message.

He seems to use Apple Mail like me, and I have no problems with it - seldom 
breaks threads and displays Unicode glyphs correctly.
Ah, but his says Apple Mail (2.1510)“, and the current version is 7.0

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] [luatex-fonts] fontloader/plain format broken in beta

2013-11-01 Thread Hans Hagen

On 10/31/2013 11:37 PM, Philipp Gesang wrote:

Hi Hans,

the fontloader (font-otn.lua, line 191) accesses the table
nodes.disccodes which is not defined in luatex-basics-nod.lua.

If I add that table (as in font-ini.lua), I get a different
error, basically stating that various LM-fonts can’t be found
(even if I put them in the current working directory).


fixed

(tested with mtxrun --script plain [--make] )

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] [luatex-fonts] fontloader/plain format broken in beta

2013-11-01 Thread Philipp Gesang
···date: 2013-11-01, Friday···from: Hans Hagen···

 On 10/31/2013 11:37 PM, Philipp Gesang wrote:
  Hi Hans,
 
  the fontloader (font-otn.lua, line 191) accesses the table
  nodes.disccodes which is not defined in luatex-basics-nod.lua.
 
  If I add that table (as in font-ini.lua), I get a different
  error, basically stating that various LM-fonts can’t be found
  (even if I put them in the current working directory).
 
 fixed
 
 (tested with mtxrun --script plain [--make] )

Thanks for fixing it that quickly!

Best
Philipp



pgpzPWiJbsZii.pgp
Description: PGP signature
___
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] korean

2013-11-01 Thread Jeong Dal
Dear Wolfgang,


Thank you.

Best regards,

Dalyoung


 
 You need a newer version of context, I used the following version which 
 produces colored output.
 
 mtx-context | current version: 2013.10.30 14:53
 
 Wolfgang
 

Dear Wolfgang,

After updating to the current version (mtx-context | current version: 
2013.11.01 12:20), I run ConTeXt again.
But I still don't have the color output.
The addition of the command  \setupcolors[state=start] doesn't do any change.

Would you please give me a tip for fix?

 
 He seems to use Apple Mail like me, and I have no problems with it - seldom 
 breaks threads and displays Unicode glyphs correctly.
 Ah, but his says Apple Mail (2.1510)?, and the current version is 7.0
 
 Greetlings, Hraban

Dear Hraban,

I checked the version of Apple Mail which is 6.6(1510). Isn't it good for now?
I changed the fonts for the text with a hope to solve the problem.

Thanks Wolfgang and Hraban.

Best regards,

Dalyoung

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

2013-11-01 Thread Hans Hagen



After updating to the current version (mtx-context | current version: 
2013.11.01 12:20), I run ConTeXt again.
But I still don't have the color output.


make sure you have input in triplets (no precomposed characters)


The addition of the command  \setupcolors[state=start] doesn't do any change.


colors are always on

- make sure you have the right fonts
- check if there is an hanbatanglvt.lfg file (loaded)

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] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-11-01 Thread Hans Hagen

On 10/29/2013 3:19 PM, Peter Münster wrote:

Hello Hans,

Is it also possible, to break inside the \type{} only at well defined
characters and without hyphenation?

Example:

--8---cut here---start-8---
\definebreakpoint[compound][_]
\setuplayout[width=25mm]
\startsetups Test
   \setbreakpoints[compound]
\stopsetups
\definetype[Test][lines=hyphenated, setups=Test, space=stretch]
\showframe
\starttext
hellohello hellohello % should break like this: hel- lohello (ok)

hellohello \Test{hel_lohello} % should break like this: hel_ lohello (not ok)

hellohello \Test{hellohello} % should not break at all (not ok)
\stoptext
--8---cut here---end---8---

TIA for any help,


\setuplayout
  [width=25mm]

\definebreakpoint
  [compound]
  [_]

\definetype
  [Test]
  [lines=hyphenated,
   setups=Test,
   space=stretch,
   style={\tttf\setbreakpoints[compound]}]

\showframe

\starttext
hellohello hellohello

hellohello \Test{hel_lohello}

hellohello \Test{hellohello}
\stoptext


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


[NTG-context] Fwd: bug in switch.rb

2013-11-01 Thread Hans Hagen

Hi List,

As my macbook is too old to update (according to apple) and will not be 
upgraded soon (if at all) I cannot test the attached issue. So it's up 
to others.


(My ipad is also too old so it seems I'm stuck with less and less 
useable apple hardware even if it's not yet broken down.)


Hans


 Original Message 

Subject:bug in switch.rb
Date:   Sat, 26 Oct 2013 17:07:47 +0100
From:   Ian Spackman ian.spack...@virginmedia.com



Since upgrading to Mac OS X.9 I haven't been able to use ConTeXt/XeTex:
on even a minimal file I get the message

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in 


'require':
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/base/switch.rb:501:
invalid multibyte escape: /\xFF/ (SyntaxError) from
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in 


'require' from
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:11:in `'

which refers to this method

 def cleanvalue(value)
 if value then
 # value.sub(/^([\\'])(.*?)\1$/) { $2.gsub(/\xFF/o, ' ') }
 value.gsub(/\xFF/o, ' ')
 else
 ''
 end
 end

in
# module: base/switch
# copyright : PRAGMA Advanced Document Engineering
# version   : 2002-2005
# author: Hans Hagen

XeTeX 3.1415926-2.5-0..3-2013052718 (TeX Live 2013)
mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file:
/usr/local/texlive/2013/texmf-dist/tex/context/base/context.mkiv
mtx-context | current version: 2013.04.20 01:15
TeX 3.1415926 (TeX Live 2013)


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

2013-11-01 Thread Vyatcheslav Y.
Hi,

Please, help me with SimpleSlides module (Swoosh style), my old
presentation which I'm trying to update isn't working.

-- Minimal example is: --

\usemodule[simpleslides]

[font=Gothic,

style=Swoosh]


\setupTitle

[ title={\\ Title},

author={Author},

date={}]


\starttext


\placeTitle


\stoptext


-- Result: --

simpleslides  loading Swoosh style

system  command '\NormalHeight' is already defined

system  command '\NormalWidth' is already defined

system  command '\PictureFrameHeight' is already defined

system  command '\PictureFrameWidth' is already defined

! LuaTeX error [string \directlua ]:1: invalid escape sequence near '\S'.


system  tex  error on line 150 in file
C:/contextminimal/texmf-modules/tex/context/third/simpleslides/simpleslides-s-Swoosh.tex:
LuaTeX error ...


140 \define\SScolorscontrastb{r=.1,g=.1,b=.4}

141

142 %D I'm still trying to implement a color mechanism that can be set by
the users

143 %D in their files.

144

145 \def\setupSimpleSlideColors[#1]%

146 {\getparameters[SScolors][#1]}

147

148 % \setupSimpleSlideColors[background={r=1,g=0,b=0}]

149

150  \definecolor [simpleslides:backgroundcolor] [\SScolorsbackground]

151 \definecolor [simpleslides:contrastcolor] [\SScolorscontrasta]

152 \definecolor [simpleslides:altcontrastcolor] [\SScolorscontrastb]

153 \definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]

154 \definecolor [simpleslides:textcolor] [simpleslides:altcontrastcolor]

155

156 \setupcolors[textcolor=simpleslides:textcolor]

157

158 %D We use \METAPOST\ to draw backgrounds.

159

160 \startuseMPgraphic{simpleslides:MP:horizontal}



\ctxcommand #1^^@-\directlua {commands.#1}

 \colo_basics_define ...lse,\v_colo_freeze_state )}

\unexpanded \setvalue {#1}...

l.150 ...:backgroundcolor] [\SScolorsbackground]

 ?

Regards,

Vyatcheslav
___
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] ntg-context Digest, Vol 113, Issue 2

2013-11-01 Thread Jeong Dal
Dear Hans,

 
 After updating to the current version (mtx-context | current version: 
 2013.11.01 12:20), I run ConTeXt again.
 But I still don't have the color output.
 
 make sure you have input in triplets (no precomposed characters)
 

What do you mean input in triplets (no precomposed characters)?
We type the first consonant, second vowel, and third consonant in order, then 
computer show one character for these input. 

 - make sure you have the right fonts
 - check if there is an hanbatanglvt.lfg file (loaded)
 

Yes, there is an hanbatanglvt.lfg file.
ConTeXt/tex/texmf-context/tex/context/fonts/hanbatanglvt.lfg
But the installed font's name is HANBatang-LVT.ttf. 
So I changed the font name in your file from hanbatanglvt to HANBatang-LVT, 
also I copied the above lfg file as HANBatang-LVT.lfg in the same folder. 
Is it OK to use another Korean font?

Thank you.

Best regards,

Dalyoung

___
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] ntg-context Digest, Vol 113, Issue 2

2013-11-01 Thread Wolfgang Schuster

Am 01.11.2013 um 16:01 schrieb Jeong Dal hak...@mac.com:

 Yes, there is an hanbatanglvt.lfg file.
   ConTeXt/tex/texmf-context/tex/context/fonts/hanbatanglvt.lfg
 But the installed font's name is HANBatang-LVT.ttf. 
 So I changed the font name in your file from hanbatanglvt to 
 HANBatang-LVT, also I copied the above lfg file as HANBatang-LVT.lfg in 
 the same folder. 

This change isn’t necessary, context refers from the normalized font name 
(lowercase and without hyphens etc.) to the real font with a table entry in the 
font database.

 Is it OK to use another Korean font?

This shouldn’t be a problem, Hans needed for his example only a font which is 
available for all system.

Attached is also Hans original example, this should allow you to test the 
feature.

Wolfgang


koreandemo.tex
Description: Binary data
___
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] Preventing caption stoppers from appearing in references

2013-11-01 Thread Géry Ogam
Hello Hans,

I would like to prevent caption stoppers from appearing in references in
ConTeXt.

Here is a minimal example:

\starttext
\setupcaptions[numberstopper=.~---~, distance=0em]
\placefigure[][cow]{A Cow}{\externalfigure[cow]}
\in{Figure}[cow] shows a cow.
\stoptext

Aditya suggested that I use suffix instead of numberstopper, which works
very well, but Wolgang said:

‘I’m sorry to disappoint you but there is no official solution to achieve
this.

There are ways to change the stopper for section numbers in the heading and
the text but not for the other counters (floats, descriptions etc.).

The solution you got from Aditya at stackexchange works but it’s more a hack
because suffixes are used when you use a splitted float (e.g. a table which
spans
multiple pages) where you get 1.a., 1.b etc. (the a and b are suffixes) as
numbers.’

So since numberstoppers — of any kinds (for floats, sections, descriptions)
— are supposed to separate numbers from titles, it would be logical that
they don’t appear in references because references don’ have titles, only
numbers, so no separation sign (numberstopper) is needed. Could you change
that behaviour Hans, or add a command for setting the layout of the numbers
in references (separators, counter conversion, etc.)? There is already such
a command for section numbers and you only have to add another one for
other counters.

Best regards.
___
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
___