Re: [NTG-context] Lucida fonts with ConTeXt

2014-01-30 Thread Fabrice

If you have the type1 fonts

How do we know?
Sorry, but I'm not at all an expert font !
___
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] Testpage with extras

2014-01-30 Thread H. Özoguz

Hi there,

I asked a similar question before, but I try it again (in a bit 
different way):


The command \testpage[n] Paragraph sets the next paragraph on the next 
page, if there are less than n lines left on the current page. I use 
this command very often, but need it with some extension: If \testpage 
is active (meaning, there are indeed less than n lines left), then it 
should not only input an pagebreak, but also some other command.


E.g.: somewhat like \testpage[n,{\noindentation}] should add 
\noindentation before the paragraph, if and only if, there are less 
than n lines left. Or maybe: \testpage[n, {TESTPAGE IS ACTIV} to 
simply add this text infront of the next paragraph (of course the first 
one is more interesting).


At the moment I use \testpage[n]\noindentation but that fails, if the 
document has changed and there are = n lines left = no pagebreak, but 
still \noindentation of course - but they only should act simultaneously.


Is that possible in some way?

Best regards!
Huseyin
___
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] Lucida fonts with ConTeXt

2014-01-30 Thread Hans Hagen

On 1/29/2014 10:23 PM, Fabrice wrote:

If you have the type1 fonts

How do we know?
Sorry, but I'm not at all an expert font !


just buy the open type versions from tug ... less hassle and more complete

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] Problem with setupitemize, columns, and packed?

2014-01-30 Thread Hans Hagen

On 1/30/2014 1:03 AM, Casey Jones wrote:

The following MWE doesn't print item two when using the packed option
with three columns.

\starttext
% correct
\startitemize[columns, three]
\startitem one \stopitem
\startitem two \stopitem
\startitem three \stopitem
\startitem four \stopitem
\startitem five \stopitem
\stopitemize

% item two not printed
\startitemize[columns, three, packed]
\startitem one \stopitem
\startitem two \stopitem
\startitem three \stopitem
\startitem four \stopitem
\startitem five \stopitem
\stopitemize
\stoptext

I'm using ConTeXt  ver: 2014.01.29 23:48 MKIV beta  fmt: 2014.1.29
int: english/english

Is this a bug or do I misunderstand the options for setupitemize?


bug

fixed in next beta

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] Metafun: numeric=color

2014-01-30 Thread Hans Hagen

On 1/29/2014 9:41 PM, Otared Kavian wrote:

Hi,

With the latest beta,

ConTeXt  ver: 2013.06.07 17:34 MKII  fmt: 2014.1.29

in a file typeset with mkii I have a bunch of metapost macros (drawing a logo…) 
which used to typeset correctly until last week, I get an error message saying:

Preloading the plain mem file, version 1.004 for metafun ii  cyan  
(0,1,1) ! Equation cannot be performed (numeric=color).

Unfortunately I cannot reproduce this error message in a minimal example, but 
can anyone tell me whether something has changed in MetaPost?


fixed

-
  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] Testpage with extras

2014-01-30 Thread Hans Hagen

On 1/30/2014 10:37 AM, H. Özoguz wrote:

Hi there,

I asked a similar question before, but I try it again (in a bit
different way):

The command \testpage[n] Paragraph sets the next paragraph on the next
page, if there are less than n lines left on the current page. I use
this command very often, but need it with some extension: If \testpage
is active (meaning, there are indeed less than n lines left), then it
should not only input an pagebreak, but also some other command.

E.g.: somewhat like \testpage[n,{\noindentation}] should add
\noindentation before the paragraph, if and only if, there are less
than n lines left. Or maybe: \testpage[n, {TESTPAGE IS ACTIV} to
simply add this text infront of the next paragraph (of course the first
one is more interesting).

At the moment I use \testpage[n]\noindentation but that fails, if the
document has changed and there are = n lines left = no pagebreak, but
still \noindentation of course - but they only should act simultaneously.

Is that possible in some way?


use case needed

-
  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] Testpage with extras

2014-01-30 Thread H. Özoguz

use case needed


Here two cases to compare:

1.

\setupindenting[yes, 9pt, first]
\starttext
\noindentation\input knuth\\
\input knuth\blank \noindentation
\input knuth
\testpage[35]\noindentation\input knuth
\stoptext

2.

\setupindenting[yes, 9pt, first]
\starttext
\noindentation\input knuth\\
\input knuth\blank \noindentation
\input knuth
\testpage[10]\noindentation\input knuth
\stoptext

In the second case the testpage is not active, but the noindentation 
(the one right after it) still is (correct bahavior of course). But I 
want to link this testpage and this noindentation with each other, 
s.t. both are active, if the line-criterion is true, and both are not 
acting, if not. That is, what I meant with \testpage[n,noindentation].


Could I make it clear now?

Huseyin
___
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] Ubuntu Light font

2014-01-30 Thread Wolfgang Schuster

Am 29.01.2014 um 09:04 schrieb Flavien Lambert petit.lep...@gmail.com:

 Hi all,
 back to the ubuntu font again, I realized that ligatures are not used. I 
 thought it was automatic with OTF type fonts. Is there anything special to 
 add to get the ligatures?

Ligatures are used for the font but the difference between the characters 
without ligatures is minimal. When you process the following document you can 
see the difference between the f-combinations without (top picture) and with 
(bottom picture) ligatures.

\define[2]\Test
  {\startTEXpage[offset=1ex]
 \vbox\bgroup \offinterlineskip
   \ruledhbox{\definedfont[file:#1*nonesa 10]#2}
   \ruledhbox{\definedfont[file:#1*default sa 10]#2}
 \egroup
   \stopTEXpage}

\starttext

% TeX Gyre Termes Regular

%\Test{texgyretermesregular}{fi}

% Ubuntu Regular

\Test{ubuntur}{ff}
\Test{ubuntur}{fi}
\Test{ubuntur}{fl}
\Test{ubuntur}{ffi}
\Test{ubuntur}{ffl}

% Ubuntu Light

\Test{ubuntul}{ff}
\Test{ubuntul}{fi}
\Test{ubuntul}{fl}
\Test{ubuntul}{ffi}
\Test{ubuntul}{ffl}

\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] Lucida fonts with ConTeXt

2014-01-30 Thread Fabrice Couvreur
Hi,
Thank you to you for your answers. As I have to write text with math
formulas, I'll probably buy them.
Fabrice


2014-01-30 Hans Hagen pra...@wxs.nl

 On 1/29/2014 10:23 PM, Fabrice wrote:

 If you have the type1 fonts

 How do we know?
 Sorry, but I'm not at all an expert font !


 just buy the open type versions from tug ... less hassle and more complete

 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
 
 ___

___
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] Alignment for narrower text

2014-01-30 Thread Jan Tosovsky
Dear All,

how can I specify the alignment of narrower text, 'hanging' in my case?

\definefontfamily[palatino][rm][Palatino Linotype][features={default,
quality}]
\setupbodyfont[palatino]
\setupalign[hz, hanging]
\setupindenting[medium, yes]

\starttext
\input{tufte}
\setupnarrower[left=0cm] % surprisingly it is narrower
\startnarrower[left]
\setupalign[hz, hanging] % setting this again here has no effect
\it
this is,\par
just sample.\par
\stopnarrower
\input{tufte}
\stoptext

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
___


Re: [NTG-context] Alignment for narrower text

2014-01-30 Thread Wolfgang Schuster

Am 30.01.2014 um 20:08 schrieb Jan Tosovsky j.tosov...@email.cz:

 Dear All,
 
 how can I specify the alignment of narrower text, 'hanging' in my case?

What do you expect from the output?

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] Alignment for narrower text

2014-01-30 Thread Jan Tosovsky
On 2014-01-30 Wolfgang Schuster wrote:
 Am 30.01.2014 um 20:08 schrieb Jan Tosovsky j.tosov...@email.cz:
 
  how can I specify the alignment of narrower text, 'hanging' in my
  case?
 
 What do you expect from the output?
 

I'd expect that starting french quote sign outside the left text edge -
similarly like it is aligned the main flow when the hanging feature is
enabled.

Now I've found it works as expected when the indenting is disabled:

\definefontfamily[palatino][rm][Palatino Linotype][features={default,
quality}]
\setupbodyfont[palatino]
\setupalign[hz, hanging]
%\setupindenting[medium, yes]  % this helped

\starttext
\input{tufte}
\setupnarrower[left=1cm]
\startnarrower[left]
\it
this is,\par
just sample.\par
\stopnarrower
\input{tufte}
\stoptext

Can I have both the main flow indentation and the proper alignment of the
narrow text block?

Thanks for any hint,

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
___


[NTG-context] ToC like entry list

2014-01-30 Thread Jan Tosovsky
Dear All,

I am trying to typeset a quite complex list of accounting entries.
http://drifted.in/other/045.jpg

It is like Table of Contents, but without page numbers. I have no idea what
commands to use for this. There is no need to have it exactly the same, just
roughly.

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
___


Re: [NTG-context] Testpage with extras

2014-01-30 Thread Hans Hagen

On 1/30/2014 12:34 PM, H. Özoguz wrote:

use case needed


Here two cases to compare:

1.

\setupindenting[yes, 9pt, first]
\starttext
\noindentation\input knuth\\
\input knuth\blank \noindentation
\input knuth
\testpage[35]\noindentation\input knuth
\stoptext

2.

\setupindenting[yes, 9pt, first]
\starttext
\noindentation\input knuth\\
\input knuth\blank \noindentation
\input knuth
\testpage[10]\noindentation\input knuth
\stoptext

In the second case the testpage is not active, but the noindentation
(the one right after it) still is (correct bahavior of course). But I
want to link this testpage and this noindentation with each other,
s.t. both are active, if the line-criterion is true, and both are not
acting, if not. That is, what I meant with \testpage[n,noindentation].

Could I make it clear now?


new in beta  please wikify ...

\definepagechecker
  [whatever]
  [lines=35,
   voffset=10pt,
   before={\vfill\wordright{(see next page)}\par},
   after=\noindentation]

\setupindenting[yes,9pt,first]

\starttext
\noindentation
\input knuth\par
\input knuth\par
\noindentation
\input knuth\par
\checkpage[whatever]
\input knuth\par
\input knuth\par
\stoptext

... i assume that others (read: Wolfgang) will check if the old testpage 
is compatible -)


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
___


[NTG-context] [OT] [fred.w...@free.fr: Thank you]

2014-01-30 Thread Khaled Hosny
- Forwarded message from Frédéric WANG fred.w...@free.fr -

From: Frédéric WANG fred.w...@free.fr
To: www-m...@w3.org www-m...@w3.org, LaTeXML project 
project-late...@lists.jacobs-university.de
Subject: Thank you

Dear all,

Two months ago, I started a fundraising campaign to help MathML developments
in Gecko/WebKit as well as producing some sample EPUB documents for science. I
was not sure at all whether it would work, but thanks to your support I have
finally been able to gather enough money to focus on this MathML project in
the upcoming months. I'd like to thank again everybody who contributed to that
project. I hope this will encourage other companies, organizations and
developers to get involved and see how we can think together of a long-term
funding plan for MathML.

Frédéric Wang

PS: There is still one day to contribute for those who have not already:
http://www.ulule.com/mathematics-ebooks/. You can also repost and forward this
message or link.

- End forwarded message -
___
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] Fundraising for MathML in Gecko/WebKit and EPUB (less than one day left)

2014-01-30 Thread Mojca Miklavec
Khaled,

thanks a lot for sharing this, but I believe it deserves a more
descriptive title than just fw: Thank you.

Can you please also send this to other TeX mailing lists? In
particular the Unicode Math (but XeTeX and TeX Live should be fine as
well). It's not off-topic at all, I believe many people would be glad
to see this work being done.

Mojca


On Fri, Jan 31, 2014 at 12:33 AM, Khaled Hosny wrote:
 - Forwarded message from Frédéric WANG fred.w...@free.fr -

 From: Frédéric WANG fred.w...@free.fr
 To: www-m...@w3.org www-m...@w3.org, LaTeXML project 
 project-late...@lists.jacobs-university.de
 Subject: Thank you

 Dear all,

 Two months ago, I started a fundraising campaign to help MathML developments
 in Gecko/WebKit as well as producing some sample EPUB documents for science. I
 was not sure at all whether it would work, but thanks to your support I have
 finally been able to gather enough money to focus on this MathML project in
 the upcoming months. I'd like to thank again everybody who contributed to that
 project. I hope this will encourage other companies, organizations and
 developers to get involved and see how we can think together of a long-term
 funding plan for MathML.

 Frédéric Wang

 PS: There is still one day to contribute for those who have not already:
 http://www.ulule.com/mathematics-ebooks/. You can also repost and forward this
 message or link.

 - End forwarded message -
___
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
___