Re: [NTG-context] Hebrew vowel placement in ConTeXt.

2014-04-30 Thread Michael Ash
This seems to have broken in my latest upgrade.  The diacriticals (vowels)
are no longer centered under the Hebrew lettes.  They are now misaligned
again.

Also, the script=hebr option in definefontfeature now generates an error
(see the original code in the second message). The following code works but
with misaligned vowels. So the ccmp option doesn't seem to be working
anymore.

\usemodule[simplefonts]
\definefontfeature[hebrew][default][ccmp=yes,mark=yes]
\setmainfont[Ezra SIL][features=hebrew]
\setupalign[r2l]
\starttext
בְרֵאשִ֖ית בָרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָמַ֖יִם וְאֵ֥ת הָאָֽרֶץ
\stoptext


Thank you very much for suggestions.

Best,
Michael




On Mon, Jun 17, 2013 at 2:18 PM, Michael Ash  wrote:

> There is a nice answer from W. Schuster to the vowel placement question in
> the archives at http://www.ntg.nl/pipermail/ntg-context/2011/059969.html (I
> didn't find it because the subject is "Misaligned Marks" rather than
> "Hebrew vowel placement" but it resolves the question.  (Idris's
> suggestions regarding options  to \definefontfeature were right on --
> thanks) and I also learned more about \setupalign
> http://wiki.contextgarden.net/Command/setupalign
>
> "
> *I am trying to set some text in Hebrew with diacritical marks, and
> whenever there is a diacritical that's supposed to come in the middle of a
> letter, all the marks are coming off misaligned, right after the glyph
> rather than in the middle of it (or wherever they're supposed to be)." *
>
> Solution:
>
> \usemodule[simplefonts]
>
> \definefontfeature[hebrew][default][script=hebr,ccmp=yes,mark=yes]
>
> \setmainfont[Ezra SIL][features=hebrew]
>
> \setupalign[r2l]
>
> \starttext
> בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ
> \stoptext
>
>
>
> Thanks all.
>
>
>
>
>
> On Mon, Jun 17, 2013 at 12:31 PM, Michael Ash wrote:
>
>> Thank you. The unicode text looked good (although reversed left-to-right
>> as I sent it) in my sent mail, and it looked perfect (corrected
>> right-to-left) in your response.  But it did not look good in the digest
>> email (all the letters were convered to ?'s).
>>
>> Also it's typesetting fine in ConTeXt except for the vowel placement.
>>  Any suggestions there?  Thank you again.
>>
>> Yours,
>> Michael
>>
>>
>>
>> On Mon, Jun 17, 2013 at 12:22 PM, Idris Samawi Hamid ادريس سماوي حامد <
>> isha...@colostate.edu> wrote:
>>
>>> Greetings, Michael,
>>>
>>>
>>> On Mon, 17 Jun 2013 10:15:11 -0600, Michael Ash 
>>> wrote:
>>>
>>>  Is there a standard way to send unicode text to this list?

>>>
>>> Your Unicode text came through perfectly:
>>>
>>>
>>>  \textdir TRT
 \hebrew
 לָכֵן חַכּוּ־לִי נְאֻם־יְהוָה לְיוֹם קוּמִי לְעַד כִּי מִשְׁפָּטִי
 לֶאֱסֹף גּוֹיִם לְקָבְצִי מַמְלָכוֹת לִשְׁפֹּךְ עֲלֵיהֶם זַעְמִי כֹּל
 חֲרוֹן אַפִּי כִּי בְּאֵשׁ קִנְאָתִי תֵּאָכֵל כָּל־הָאָרֶץ׃
 \stoptext

>>>
>>> Maybe the encoding of your browser/mail-client needs to be set to
>>> "Unicode" ("Automatic" usually works too).
>>>
>>> For high-level text-direction control, you may experiment with
>>>
>>> \righttoleft
>>> \lefttoright
>>>
>>> as well as
>>>
>>> \setupdirections[bidi=global]
>>> \setupdirections[bidi=local]
>>>
>>> Best wishes
>>> Idris
>>> --
>>> Professor Idris Samawi Hamid
>>> Department of Philosophy
>>> Colorado State University
>>> Fort Collins, CO 80523
>>
>>
>>
>>
>> --
>> Michael Ash, Chair, Department of Economics
>> Professor of Economics and Public Policy
>> University of Massachusetts
>> Amherst, MA 01003
>> Email m...@econs.umass.edu
>> Tel +1-413-545-2590 Twitter @michaelaoash
>>
>
>
>
> --
> Michael Ash, Chair, Department of Economics
> Professor of Economics and Public Policy
> University of Massachusetts
> Amherst, MA 01003
> Email m...@econs.umass.edu
> Tel +1-413-545-2590 Twitter @michaelaoash
>



-- 
Michael Ash, Chair, Department of Economics
Professor of Economics and Public Policy
University of Massachusetts Amherst
Amherst, MA 01003
Email m...@econs.umass.edu
Tel +1-413-545-2590 Twitter https://twitter.com/michaelaoash
___
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] too many open files?

2014-04-30 Thread Andrea Valle
Dear,

I’m compiling the new version of my manual on the SuperCollider language, using 
a project structure, and I’m including a lot of pdfs, as I’m automatically 
generating figures containing colorised code that have to included  in the 
book. Btw I’m quite happy of the results! Thanks to devs for your work.

Anyway, I’m stuck at this. I’m getting this error, seems related to the number 
of included pdfs

  Fatal error occurred, no output PDF file produced!

What can I do?

Thanks a lot, Best
-a-


--
Andrea Valle
--
CIRMA - StudiUm
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.fonurgia.unito.it/andrea/
--> http://www.flickr.com/photos/vanderaalle/sets/
--> http://vimeo.com/vanderaalle
--> andrea.va...@unito.it
--

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a 
lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)

___
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] Force two figures to appear on the same page

2014-04-30 Thread Andres Conrado
I forgot to include a MWE:

%%

\starttext

\setupexternalfigures[location={local, default}]

\startcombination[1*3]

{\externalfigure[cow][height=1cm]} {d}

{\externalfigure[cow][height=1cm]} {e}

{\externalfigure[cow][height=1cm]} {f}

\stopcombination

\stoptext

%


Andres
___
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] Force two figures to appear on the same page

2014-04-30 Thread Andres Conrado
Maybe combinations is what you are looking for? It works very well for me.
http://wiki.contextgarden.net/Command/startcombination

Andres
___
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] joinedup in itemize changed?

2014-04-30 Thread Mikael P. Sundqvist
Hi,

has joinedup changed? At the moment it gives no white space before
first item and last item _and_ pack it. See example.

Best regards, Mikael

\starttext
Bla
\startitemize[3]%OK
\item One
\item Two
\item Three
\stopitemize
Bla
\startitemize[3,joinedup]% Not as expected
\item One
\item Two
\item Three
\stopitemize
Bla
\startitemize[3,packed]%OK
\item One
\item Two
\item Three
\stopitemize
Bla
\startitemize[3,packed,joinedup]%OK
\item One
\item Two
\item Three
\stopitemize
Bla
\stoptext
___
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] Empty heads after leading whitespace

2014-04-30 Thread Maggyero
Hello,


Here after is my problem:


\setuphead[section][%
placehead=empty,
before=,
after=]
\setuphead[subsection][%
placehead=yes,
before={\blank[line]},
after={\blank[line]}]
\setupheadertexts[section]

\starttext
\showframe
\section{My section}
\subsection{My subsection (whitespace before: )} % Here is my problem.
\page
\subsection{My subsection (NO whitespace before)}
\stoptext


The mechanism that automatically removes the leading whitespace at the top
of a page doesn't work if there is an EMPTY head followed by another head
(of a different level). How can I remove that whitespace?


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
___

Re: [NTG-context] Position of integral limits

2014-04-30 Thread Darksair
Thanks, exactly what I need :)

On Wed, Apr 30, 2014 at 02:39:20PM +0800, Zhichu Chen wrote:
> \setupmathematics[integral=nolimits]
> 
> 
> On Wed, Apr 30, 2014 at 12:54 PM, Darksair  wrote:
> 
> > Hi,
> >
> > I notice today that in display math, \int_a^b places a and b completely
> > below and above the integral symbol, rather than offsets them to the
> > right at the bottom and top as LaTeX does by default.  I also notice
> > that I can use \int\nolimits to achieve the LaTeX result.
> >
> > Is this the supposed behavior of ConTeXt?  Because I remember this was
> > not the case 2 years ago.  Also can I somehow let ConTeXt use that
> > \nolimits by default?
> >
> > Thanks.
> >
> > --
> > Fear is the path to the dark side.
> > Fear leads to anger,
> > Anger leads to hate,
> > Hate leads to suffering
> >
> > ___
> > 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
> >
> > ___
> >
> 
> 
> 
> -- 
> Best Regards
> Chen

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


-- 
Fear is the path to the dark side.
Fear leads to anger,
Anger leads to hate,
Hate leads to suffering
___
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] A new question on \definefallbackfamily

2014-04-30 Thread Mikael P. Sundqvist
Hi, here is an update:

It seems this does not have to do with the font Frutiger to do.
Compiling the file

%%%
\definefontfamily [lundface] [rm] [TeX Gyre Pagella][opticalsize=yes]
\definefontfamily [lundface] [ss] [TeX Gyre Scholar][opticalsize=yes]
\definefontfamily [lundface] [math] [TeX Gyre Pagella Math][default]

\definebodyfontenvironment[18pt]
\setupbodyfont[lundface,18pt]

\starttext
{3 $3$}

{\bf 3 $3$}
\stoptext
%%%
I get the same behavior. Sometimes, the fourth 3 will become bold.
This happens very randomly (sometimes I have to compile 10 times for
it to happen). I compile with "context test.tex". I can reproduce this
both on my home computer and on my computer at work, both with
late(st) standalone installed.

Best regards, Mikael

On Tue, Apr 29, 2014 at 8:44 PM, Mikael P. Sundqvist  wrote:
> Hi,
>
> With the file below (and the latest Standalone) I get different output
> different times I compile. Sometimes the fourth 3 is bold and
> sometimes it is not (I don't want it to be bold). What is going on? I
> attach also the log files from a successful run (test.log) and a
> failure (test-error.log). Also, the pdf files are attached.
>
> (what I want is to use the light font as default and the regular one as 
> bold...)
>
> Best regards, Mikael
>
> %%% TEST FILE
>
> \definefontfamily [lundfaces] [rm] [Adobe Garamond Pro][opticalsize=yes]
> \definefontfamily [lundfaces] [ss]
> [FrutigerLTstd][opticalsize=yes,tf=style:light,it=style:lightitalic,sl=style:lightitalic,bf=style:normal,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:lowercaseitalic,tf=style:lightitalic,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:lowercasebolditalic,tf=style:italic,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:lowercasenormal,tf=style:light,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:lowercasebold,tf=style:normal,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:uppercaseitalic,tf=style:lightitalic,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:uppercasebolditalic,tf=style:italic,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:uppercasenormal,tf=style:light,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:uppercasebold,tf=style:normal,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:digitsnormal,tf=style:light,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:digitsbold,tf=style:normal,scale=0.92]
>
> \definefontfamily [lundfaces] [math] [TeX Gyre Pagella Math]
>
> \definebodyfontenvironment[18pt]
> \setupbodyfont[lundfaces,ss,18pt]
>
>
> \starttext
>
> {3 $3$}
>
> {\bf 3 $3$}
>
> \stoptext
>
> %%% END TEST FILE
___
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] text with background does not break properly around float

2014-04-30 Thread Thomas Möbius
Dear ConTeXt list,

text that has some background attached to it, does not properly break
if a float appears on the same page. How to work around it?

---minimal example---
\starttext

\chapter {Bsaoteh}

\defineenumeration
[excursion]
[text=Excursion,
listtext={Excursion~},
counter=theorem,
before={\blank\startbackground},
after={\stopbackground\blank}]

\input knuth
\input knuth
\input knuth

\placetable
[here]
[tab:bala]
{Blaoesunthaoeusatoheu saohusaoteh asotehu asoehu aseohu}{
\bTABLE

\setupTABLE[frame=off]
\setupTABLE[r][first][topframe=on,rulethickness=1.3pt]
\setupTABLE[r][2][topframe=on]
\setupTABLE[r][last][bottomframe=on,rulethickness=1.3pt]

\setupTABLE[c][each][align=left]
\setupTABLE[c][1][align=right]
\setupTABLE[c][1][width=.7\textwidth]
\setupTABLE[c][2][width=.2\textwidth]

\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\bTR\bTD something \eTD\bTD 0. \eTD\eTR
\eTABLE}

\excursion \input knuth\input knuth\input knuth
\input knuth

\input knuth \input knuth \input knuth

\stoptext
___
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] Force two figures to appear on the same page

2014-04-30 Thread Thomas Möbius
Dear ConTeXt list,

I have multiple figures appearing in a single chapter which are
roughly half a page in height.  They would fit on top of each other.
It seems as if context is only putting floats on top of each other if
at least 2 lines of text fit underneath them.

How to force two figures which fit on one page to also appear on one page?

As you can see in the example below, the chapter would otherwise end
with a lengthy list of figures.  I'd prefer, if the chapter ends with
text.  If I'd use `force`, text would stop wrapping around the floats.

The cow.png file is a copy of the graphic appearing on

http://wiki.contextgarden.net/Command/externalfigure


---minimal example--
\starttext

\chapter{Aasntheo asoetnh}

\input knuth
\input knuth
\input knuth

\placefigure [here] [fig:experiment:h:box:sd] {Hey}
{\externalfigure[cow.png][height=.45\textheight,frame=on]}

\placefigure [here] [fig:experiment:h:box:sd] {Ho}
{\externalfigure[cow.png][height=.45\textheight,frame=on]}

\placefigure [here] [fig:experiment:h:box:sd] {Ho}
{\externalfigure[cow.png][height=.45\textheight,frame=on]}

\placefigure [here] [fig:experiment:h:box:sd] {Ho}
{\externalfigure[cow.png][height=.45\textheight,frame=on]}

\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\stoptext
___
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
___