[NTG-context] I'd like to add you to my professional network on LinkedIn

2014-08-14 Thread Mohamed Gad
Hi ,

I#39;d like to add you to my professional network on LinkedIn.

- Mohamed

Accept: 
http://www.linkedin.com/blink?simpleRedirect=0Mc38VcjwOcjkQdz8VdzkRc3ARfkh9rCZFt65QqnpKqippdPxWsPxKk3RVpkJApn9xq7cCt7dBtmtvpnhFtCVFfmJB9C5QoORBt6BSrCAJt7dBtmsJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9CYNbmVDr69Mt7BEbj0ScSZIczRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hEmsgID=I7670161467_1markAsRead=


You are receiving Invitation emails. Unsubscribe here: 
http://www.linkedin.com/blink?simpleRedirect=r6V5cylDt6UMd2lQu6lQrCZzbmtQrzRIqm5JpipAs6lBej0Pc6BSojoMrCQZp6Bx9z4Sc30OfmhF9z4JfmhFripLciRKpSNys7hVq2QMdzdLr38Zp6BB9DhPpnlDnSlQqnpKqjRHpipBoCBOoTdytndKtiRBt6BSrCAJt7dBtmsJr6RBfmtKqmJzon9Q9B4ScSh5hSxmhD9JhB51fmVBqSZkp6BJ9DdKtjRQ9CYNbmVDr69Mt7BEbj0ScSZIczRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hEmsgID=I7670161467_1markAsRead=

 Learn why we included this at the following link: 
http://www.linkedin.com/blink?simpleRedirect=3wUdPgZp4BBr6dFt79x9DhPpnlDnSlQqnpKqjRHpipIsBlBoSBSsCljsClJrThPtmcZoipLciRKpSNys7hVq2QMdzdLr38ZpjYOtyZBbSRLoOVKqmhBqSVFr2VTtTsLbPFMt7hEmsgID=I7670161467_1markAsRead=
copy; 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, 
USA___
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] I'd like to add you to my professional network on LinkedIn

2014-08-14 Thread Taco Hoekwater

On 14 Aug 2014, at 08:24, Mohamed Gad mamido...@gmail.com wrote:

 I'd like to add you to my professional network on LinkedIn. 

I unsubscribed you. Please remove the LinkedIn invitation before attempting
to re-subscribe.

Best wishes,
Taco

___
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] Bug with vimtyping: no line numbers

2014-08-14 Thread Günter Kolousek

It works with this workaround. Thanx for the help!

Regards
Günter

Am Wed, 13 Aug 2014 10:39:46 -0400 (EDT)
schrieb Aditya Mahajan adit...@umich.edu:

 On Mon, 11 Aug 2014, Günter Kolousek wrote:
 
 
  I think there is a bug in the (latest) beta that was not there
  earlier this year. In particular, it worked (and still works) in
  the version
 
   current version: 2014.03.19 23:11
 
  but it show *no* line numbers at all in the (latest) beta:
 
   current version: 2014.07.30 10:31
 
  A minimal example follows:
 
  \usemodule[vim]
 
  \setupvimtyping[%
 numbering=yes,%
 numberdistance=2em]
  \definevimtyping[cpp][syntax=cpp]
 
  \starttext
  \startcpp
  #include iostream
 
  int main() {
 std::cout  Hello, world!  std::endl;
  }
  \stopcpp
  \stoptext
 
  Sadly, I'm not a ConTeXt nor a lua expert so maybe anybody can help?
 
 A quick work around is to add
 
numberlocation=left
 
 in your setup. For example:
 
 \usemodule[vim]
 
 \setupvimtyping
[
  numbering=yes,
  numberdistance=1em,
  numberlocation=left,
]
 
 \definevimtyping[cpp][syntax=cpp]
 
 \starttext
 \startcpp
 #include iostream
 
 int main() {
  std::cout  Hello, world!  std::endl;
 }
 \stopcpp
 \stoptext
 
 numberlocation=left is the default anyways, so I don't know why the
 bug occurs.
 
 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
___

[NTG-context] processallactionsinset and default

2014-08-14 Thread Christoph Reller
Hi!

The default value works well for processaction but apparently does not
for processallactionsinset. What am I missing?

Example:

\def\A{A}
\def\XX{}
\def\Un{Un}

\processaction[\A][A=Yeah!,default=Def.,unknown=Huh?]%
\processaction[\XX][A=Yeah!,default=Def.,unknown=Huh?]%
\processaction[\Un][A=Yeah!,default=Def.,unknown=Huh?]

\processallactionsinset[\A,\XX,\Un][A=Yeah!,default=Def.,unknown=Huh?]

Output:

Yeah!Def.Huh?
Yeah!Huh?Huh?

Thanks for any help,

Christoph
___
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] processallactionsinset and default

2014-08-14 Thread Wolfgang Schuster

Am 14.08.2014 um 11:38 schrieb Christoph Reller christoph.rel...@gmail.com:

 Hi!
 
 The default value works well for processaction but apparently does not for 
 processallactionsinset. What am I missing?
 
 Example:
 
 \def\A{A}
 \def\XX{}
 \def\Un{Un}
 
 \processaction[\A][A=Yeah!,default=Def.,unknown=Huh?]%
 \processaction[\XX][A=Yeah!,default=Def.,unknown=Huh?]%
 \processaction[\Un][A=Yeah!,default=Def.,unknown=Huh?]
 
 \processallactionsinset[\A,\XX,\Un][A=Yeah!,default=Def.,unknown=Huh?]
 
 Output:
 
 Yeah!Def.Huh?
 Yeah!Huh?Huh?

The default value is only used when there is no argument at all. Your example 
for \processallactionsinset with a list of values where you have empty key 
(A,,Un) is not supported and because the empty is not in the list you get the 
argument for unknown.

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] Bug with vimtyping: no line numbers

2014-08-14 Thread Aditya Mahajan

On Thu, 14 Aug 2014, Günter Kolousek wrote:



It works with this workaround. Thanx for the help!


Note that the bug has been fixed in the latest version of the vim module, 
so the workaround is no longer needed.


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
___

[NTG-context] ANNOUNCEMENT: Arabic-Latin Modern Fixed

2014-08-14 Thread Idris Samawi Hamid ادريس سماوي حامد
[This announcement is dedicated to the 110% recovery and return of our  
visionary and fearless leader Hans Hagen: Three cheers to you, Hans!!!]


Dear gang,

It's my pleasure to announce the release of Arabic-Latin Modern Fixed, a  
monospaced font that extends TeX-Gyre Latin Modern Mono 10 Regular. It has  
been uploaded to CTAN, although I do not know how long it will take for  
the CTAN people to approve and publish it. Eventually it will make it's  
way into the ConTeXt minimals as well. Until then, you may use this  
private link:


https://www.dropbox.com/s/pulgaxshzr5bcmy/almfixed.zip

README.txt is reproduced below. Future plans include both bold and  
proportional versions. Enjoy and


Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523

==README.txt==
Typeface Family: Arabic-Latin Modern
Font: Arabic-Latin Modern Fixed
Style: Regular
Version: 0.92
Author: Idris Samawi Hamid
Date: August 5, 2014

License:

Arabic-Latin Modern Fixed is licensed under the GUST Font License with one  
important adjustment: It is requested, as well as legally *required*, that  
derived works be distributed only after changing the names of the fonts  
comprising this work.


http://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt/view

Contains:

http://www.ctan.org/tex-archive/fonts/doc/almfixed-dtk.pdf
http://www.ctan.org/tex-archive/fonts/ps;
http://www.ctan.org/tex-archive/fonts/tt;

Some notes, in no particular order:

1. For more extensive documentation, examples, and background; see  
almfixed-dtk.pdf.


2. The final version number (per any future fixes, maintenance etc.) is  
intended to be Version 1.10.


3. Arabic-Latin Modern Fixed is an extension of TeX-Gyre Latin Modern Mono  
10 Regular. Every glyph and opentype feature of the Latin Modern Mono has  
been retained, with minor improvements. On the other hand, we have changed  
the vertical metrics of the font. Although the Arabic script is designed  
to use the same x-size as Latin Modern Mono, the former script needs  
greater ascender and descender space. And there are cases (such as certain  
kinds of academic assignment and definitely mixed Latin and Arabic text)  
where Latin can use the extra vertical space as well. Otherwise, only the  
vertical metrics prevents this from being a drop-in replacement for Latin  
Modern Mono . Of course one can always set the vertical metrics in TeX to  
match LM Mono.


4. Every Arabic glyph in each Unicode-code block is supported (up to  
Unicode 7.0): Arabic, Arabic Supplement, Arabic Extended, Arabic  
Presentation-Forms A, and Arabic Presentation-Forms B.


5. This is a totally original design, using the Knuthian letters as  
inspiration. Indeed, virtually all Arabic characters were developed on the  
foundation of a study of the Latin Modern Mono letters 'l', 'r', and 'c'.  
In other words, this is a genuine extension of the original Knuthian  
design to an authentic and culturally authentic Arabic typing font.


6. There are two versions of the font: ps and tt. The Type~1 version is  
for print applications (and usually the default for TeX). The TrueType  
version is for on-screen applications such as text editors. Hinting in the  
tt version is much better for on-screen, at least on Microsoft Windows.


7. The most unique feature of Arabic-Latin Modern is in its treatment of  
vowels and diacritics. Each vowel and diacritic (ALM Fixed contains a  
total of 68 such glyphs) can now be edited horizontally within any text  
editor or processor. I believe this is the very first opentype Arabic font  
ever to have this capability. Editing complex Arabic texts will now be  
much easier to input and to proofread.


8. At least 12 additional format characters are included; see  
almfixed-dtk.pdf for details. Also designed a glyph representation for  
U+00A0 (no-break space), as well as U+25CC (dotted circle).


9. Arabic-Latin Modern Mono will be a boon to scholars, academics, coder  
editors, and anyone who wants to manage the entry of the wide array of  
Unicode Arabic text for editing, verbatim, or other purposes.

==
___
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] \resetsetups

2014-08-14 Thread Rik Kabel

On 2014-08-14 00:26, Wolfgang Schuster wrote:


Am 13.08.2014 um 20:56 schrieb Rik Kabel cont...@rik.users.panix.com 
mailto:cont...@rik.users.panix.com:



Dear list,

In a number of notes (recent and in the list archive) I have seen 
\resetsetups, used (always) as in a block of code like this from 
Gerben Wierde:


\startsetups chapter:before
   \page[left]
   \noheaderandfooterlines
   \startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
   \stopalignment
   \resetsetups[quote:text]
   \page[right]
   \noheaderandfooterlines
   \blank[force,2*big]
\stopsetups


What is the purpose of \resetsetups in this code? I see no different 
result without it, and all I can determine from list and document 
searches is that this is a vestigal command from x-fo processing.


With the \resetsetups command you can remove a previously created 
setups environment. As you can see from the following example 
“mysetups” doesn’t exist anymore after the \resetsetups command.


\startsetups[mysetups]
  Dummy text.
\stopsetups

\starttext

\doifsetupselse{mysetups}{YES}{NO}

\resetsetups[mysetups]

\doifsetupselse{mysetups}{YES}{NO}

\stoptext

Wolfgang


Thank you again, Wolfgang.

I notice that, while the _contents_ of the setup are removed, and using 
the reset setup introduces nothing into the text, there is no error or 
warning generated. (This is also the case, I learned, with an undefined 
buffer.) I can see that this can be very useful in a number of situations.


Can \resetsetups reset more than one setup in a single execution? When I 
try \resetsetups[setupA,setupB] it appears to reset neither. I only ask 
because of the plural name. It does not appear to be a burden to use 
multiple \resetsetups commands.


Are there equivalent commands to \resetsetups and \doifsetupelse for 
buffers? I could find nothing obvious.


The following example shows what I mean by the above statements. My 
examples are often clearer than my descriptions.


   \starttext

   \subject{test 1}

   \startsetups[mysetups]
  YES
   \stopsetups

   1. \doifsetupselse{mysetups}{\setup[mysetups]}{NO}

   \resetsetups[mysetups]

   2. \doifsetupselse{mysetups}{\setup[mysetups]}{NO}

   \startsetups[mysetups]
  yes
   \stopsetups

   3. \doifsetupselse{mysetups}{\setup[mysetups]}{NO}

   \subject{test 2}

   \startsetups[mysetups]
  YES
  \resetsetups[mysetups]
   \stopsetups

   1. \doifsetupselse{mysetups}{\setup[mysetups]}{NO}

   2. \doifsetupselse{mysetups}{\setup[mysetups]}{NO}

   \startsetups[mysetups]
  yes
  \resetsetups[mysetups]
   \stopsetups

   3. \doifsetupselse{mysetups}{\setup[mysetups]}{NO}

   \subject{test 3}

   \startsetups[mysetups]
  YES
   \stopsetups

   1. ¦\setup[mysetups]¦

  \resetsetups[mysetups]

   2. ¦\setup[mysetups]¦

   \startsetups[mysetups]
  yes
   \stopsetups

   3. ¦\setup[mysetups]¦

   \subject{test 4}

   \startsetups[mysetups]
  YES
  \resetsetups[mysetups]
   \stopsetups

   1. ¦\setup[mysetups]¦

   2. ¦\setup[mysetups]¦

   \startsetups[mysetups]
  yes
  \resetsetups[mysetups]
   \stopsetups

   3. ¦\setup[mysetups]¦

   \subject{test 5}

   1. ¦\setup[neverdefined]¦

   2.  ¦\getbuffer[neverdefined]¦

   \subject{test 6}

   \startsetups[mysetupstwo]
  , SIR!
   \stopsetups

   \startsetups[mysetups]
  YES
   \stopsetups

   1. ¦\setup[mysetups]\setup[mysetupstwo]¦

  \resetsetups[mysetups,mysetupstwo]

   2. ¦\setup[mysetups]\setup[mysetupstwo]¦

   \stoptext

--
Rik Kabel
___
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] \resetsetups

2014-08-14 Thread Wolfgang Schuster

Am 14.08.2014 um 20:23 schrieb Rik Kabel cont...@rik.users.panix.com:

 I notice that, while the _contents_ of the setup are removed, and using the 
 reset setup introduces nothing into the text, there is no error or warning 
 generated. (This is also the case, I learned, with an undefined buffer.) I 
 can see that this can be very useful in a number of situations.
 
 Can \resetsetups reset more than one setup in a single execution? When I try 
 \resetsetups[setupA,setupB] it appears to reset neither. I only ask because 
 of the plural name. It does not appear to be a burden to use multiple 
 \resetsetups commands.

No, you can only reset a single environment with the command.

 Are there equivalent commands to \resetsetups and \doifsetupelse for buffers? 
 I could find nothing obvious.

\resetbuffer[name] and \doifelsebuffer{name}{…}{…}

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] \resetsetups

2014-08-14 Thread Rik

On 2014-08-14 14:35, Wolfgang Schuster wrote:

Am 14.08.2014 um 20:23 schrieb Rik Kabel cont...@rik.users.panix.com:


I notice that, while the _contents_ of the setup are removed, and using the 
reset setup introduces nothing into the text, there is no error or warning 
generated. (This is also the case, I learned, with an undefined buffer.) I can 
see that this can be very useful in a number of situations.

Can \resetsetups reset more than one setup in a single execution? When I try 
\resetsetups[setupA,setupB] it appears to reset neither. I only ask because of 
the plural name. It does not appear to be a burden to use multiple \resetsetups 
commands.

No, you can only reset a single environment with the command.


Are there equivalent commands to \resetsetups and \doifsetupelse for buffers? I 
could find nothing obvious.

\resetbuffer[name] and \doifelsebuffer{name}{…}{…}

Wolfgang

Thank you again.

I was looking for \doifbufferelse and \resetbuffers as analogous to the 
setups commands. While such consistency is nice, it is rare to find.


While I appreciate learning about these from the list, I must echo 
recent comments about the state of documentation. If these are user 
commands, as these appear to be, one should be able to find them in at 
least the advanced documents.


--
Rik
___
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] \resetsetups

2014-08-14 Thread Aditya Mahajan

On Thu, 14 Aug 2014, Rik wrote:

While I appreciate learning about these from the list, I must echo recent 
comments about the state of documentation. If these are user commands, as 
these appear to be, one should be able to find them in at least the advanced 
documents.


Please add the relavant information to the wiki, and then one will be able 
to find them in the advanced documents :-)


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
___


Re: [NTG-context] \resetsetups

2014-08-14 Thread Rik Kabel

On 2014-08-14 15:10, Aditya Mahajan wrote:

On Thu, 14 Aug 2014, Rik wrote:

While I appreciate learning about these from the list, I must echo 
recent comments about the state of documentation. If these are user 
commands, as these appear to be, one should be able to find them in 
at least the advanced documents.


Please add the relavant information to the wiki, and then one will be 
able to find them in the advanced documents :-)


Aditya


When I understand a command enough to wikify it, or note an issue that 
might be problematic for somebody else, I have done just that. I do not 
know the syntax of these commands enough to do that now, and cannot be 
sure from the code just what it is.


Providing incomplete or inaccurate documentation does not benefit anyone.

--
Rik
___
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] advanced documents (was: \resetsetups)

2014-08-14 Thread Peter Münster
On Thu, Aug 14 2014, Aditya Mahajan wrote:

 Please add the relavant information to the wiki, and then one will be able to
 find them in the advanced documents :-)

You can also send patches for the ConTeXt Manual:
https://foundry.supelec.fr/svn/contextman/context-reference/

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