Re: [NTG-context] Feedback wanted on a ConTeXt tutorial

2013-09-30 Thread Keith J. Schultz
Hi Mari,

As some already mentioned In OS is not correct either use 
OS or On!

In section 1.1.1 the last sentence is:
TeXLive comes with a quite nice editor, TeXShop, that works well with 
ConTEXt 

   1) Missing period
   2) TeXShop is Mac only. You probably meant to to say TeXWorks!
  TeXWorks is based on TeXShop. I do not know if it runs on Windows.

In section 1.1.2 in the last sentence you write:
 […] and (abt 40 euros; a non-commercial licence is cheaper) […]

1) I do not get this? Where do you buy it? Never new you could buy it!
2) On can install the ConTeXt Standalone and download TeXShop,
   very little effort is needed to direct TeXShop to the standalone
   version. Switching between TeXLive and Standalone is then easy.
3) I could write up a tutorial for installing and TeXlive and Standalone 
   if you care for one. 

Furthermore, Mac OS is a Unix system, though most do not realize this.
Also, It might be best to point to the wiki for installing ConTeXt.

In section 2.2 you talk about command, yet you forget to mention that commands
can have a setup-command. I believe it is important to mention this as
it is a integral part of ConTeXt and very important when using it as you example
commands show. 

In general I would say your general way of going about things are O.K.
Yet, I have one problem.  I personally believe you should go into more
detail about the relationship between typesetting, layout and ConTeXt.
It depends if you are writing a getting started manual or want to write
a comprehensive tutorial. 

I myself started on a tutorial as I find the contextref not comprehensive
enough and it really does not go into the caveats and use of all the options
of the commands therein. My idea was to divide the section into basics and
explanation of the options and advanced usage. 

Hope this helps.

Keep up the good work.

reagrds
Keith. 

Am 29.09.2013 um 17:22 schrieb Mari Voipio mari.voi...@iki.fi:

 Hello!
 
 Inspired by some informal discussions at the recent ConTeXt meeting I
 started to write a *really* basic ConTeXt tutorial. However, before I
 get further than the first six chapters, I'd like to get feedback on
 it, especially on the content, but also on the layout. The file is (at
 least temporarily) available at
 http://www.lucet.fi/pdfs/ctxbasics.pdf.
 
 I know already that there are a few things missing in the existing
 chapters, but I'd like to know if the document is any good and if the
 style is suitable for such a document. I've planned and written it out
 of my own experiences with ConTeXt, so maybe this document could
 become a My Way doc when it is finished (something public domain
 anyway).

___
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] fake feature “extend” behaving weirdly

2013-09-30 Thread Hans Hagen

On 9/29/2013 11:55 PM, Philipp Gesang wrote:

Hi Hans,

this got posted on the DANTE list today.

   \definefontfeature [quite_wide] [extend=1.5]
   \definefont [mainfont] [file:Iwona-Regular.otf]
   \definefont [widefont] [file:Iwona-Regular.otf*quite_wide]

   \starttext
 \mainfont
 {\widefont foo} %% comment this line and “bar” is fine
 bar
 {\widefont baz}
   \stoptext

The example defines two fonts with the same base font. If the
scaled variant is used before the regular one then the latter
will appear scaled as well and the spacing (bboxes?) gets messed
up.

I suspect a relation to this old issue:

   http://tracker.luatex.org/view.php?id=829

but if I substitute “slant” for “extend” the behavior is
different.


indeed a known bug in the backend that will be resolved once that part 
of the code has been cleaned up (extend etc is a seldom used hack so has 
a low priority)


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] ConTeXt Meetings come and go

2013-09-30 Thread Taco Hoekwater

Hi all,

We just finished the ConTeXt meeting in Brejlov. Once again,
it was a great pleasure to meet in person. A big thank you!
to Jano Kula is in order for organizing yet another flawless
meeting!



Now looking forward; at the annual members meeting of the ConTeXt Group
in Brejlov, the location for the next meeting (the eight one already)
was decided, we will go back to the same place we were at in 2011.

't Sjetootje in Bassenge-Boirs, Belgium.

Good food, nice beers, a quirky location and a very friendly host
should make for a perfect return visit in 2014!

Registration is not open yet as I have to figure out the correct pricing
levels first and that will take a few months, but the date is firmly
set already:

  Monday evening September 8 -- Saturday morning September 13, 2014

More news will be posted once it becomes available.

Best wishes,
Taco

http://meeting.contextgarden.net/2014
http://group.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
___


Re: [NTG-context] Feedback wanted on a ConTeXt tutorial

2013-09-30 Thread Lars Huttar
On 9/29/2013 1:05 PM, Marco Patzer wrote:
 Some thoughts:

   1.1.1
   Unfortunately there’s no really easy way to install ConTEXt on Windows.

 I never installed ConTeXt on Windows, but if this is true this
 should definitely be fixed. According to

   http://wiki.contextgarden.net/ConTeXt_Standalone#Command_line_method
 ...

For my part ... I recently installed TeXLive 2012 and 2013 on Windows 7,
and it was easy.

I told it to install only the ConTeXt scheme, instead of installing
everything.
Also I had to configure the TeXWorks editor options to use ConTeXt
(LuaTeX) by default instead of pdfLaTeX.
But other than that, unless I'm forgetting something, it worked fine,
out-of-the-box.

Lars

___
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] Find all words set into the margin

2013-09-30 Thread john Culleton
On Mon, 26 Nov 2012 13:52:52 +0100
H. Özoguz h.oezo...@mmnetz.de wrote:

 I use
 
 \definefontfeature[default][default][expansion=quality,protrusion=quality]
 
 \setupalign[hz,hanging]
 
 \usetypescript[times]
 
 \setupbodyfont[times,11pt]
 
 
 \setuptolerance[verystrict]
 
 
 Is there a command or a macro to find all occurences in a file (or 
 projekt), where some word is printed into the margin? (Maybe because
 of bad hyphenation or something else.) - Would be perfect for manual 
 check-up and corrections!
 
 
 Thanks.
 Huseyin
 
 
You could try setting \overfullrule=5pt
This is an original TeX primitive. Plain TeX sets it at 5pt. You can
then scan pages looking for a black rectangle in the right margin. I
cannot determine which code to search for in e.g., grep but perhaps you
can. 

I just tested it and \overfillrule  works with MKIV context if it is
set for some value other than zero. 


-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: Create Book Covers with Scribus
available at http://www.booklocker.com/books/4055.html
___
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] What do \start and \stop mean?

2013-09-30 Thread Lars Huttar
I found \start and \stop referenced in the context reference manual
(e.g. section 5.5).
While \startXYZ - \stopXYZ pairs are discussed earlier, I can't find any
place that \start and \stop (with no suffix) are described.
They seem to be used like \bgroup and \egroup. Is that right?
They are defined in core-sys.mkiv, but I can't figure out from there
what they actually do.

I'll contribute documentation for them if someone can tell me what they
mean.

Thanks,
Lars


___
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] What do \start and \stop mean?

2013-09-30 Thread Aditya Mahajan

On Mon, 30 Sep 2013, Lars Huttar wrote:


I found \start and \stop referenced in the context reference manual
(e.g. section 5.5).
While \startXYZ - \stopXYZ pairs are discussed earlier, I can't find any
place that \start and \stop (with no suffix) are described.
They seem to be used like \bgroup and \egroup. Is that right?
They are defined in core-sys.mkiv, but I can't figure out from there
what they actually do.


(Untested, based on what I remember):

\start = \bgroup
\stop  = \egroup

but \start scans the next argument, so there are situations when 
\start may fail but \bgroup works.


\start[whatever] ... \stop = \startwhatever ... \stopwhatever


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] What do \start and \stop mean?

2013-09-30 Thread luigi scarso
On Mon, Sep 30, 2013 at 5:38 PM, Lars Huttar lars_hut...@sil.org wrote:

 I found \start and \stop referenced in the context reference manual
 (e.g. section 5.5).
 While \startXYZ - \stopXYZ pairs are discussed earlier, I can't find any
 place that \start and \stop (with no suffix) are described.
 They seem to be used like \bgroup and \egroup. Is that right?
 They are defined in core-sys.mkiv, but I can't figure out from there
 what they actually do.

 I'll contribute documentation for them if someone can tell me what they
 mean.

 Thanks,
 Lars





core-sys.mkiv :


\unexpanded\def\start
  {\dosingleempty\syst_start}

\def\syst_start
  {\bgroup
   \iffirstargument
 \expandafter\syst_start_yes
   \else
 \expandafter\syst_start_nop
   \fi}

\def\syst_start_yes[#1]%
 {\edef\m_syst_start_stop{#1}%
  \ifx\m_syst_start_stop\empty
\let\syst_stop_indeed\donothing
  \else\ifcsname\e!start\m_syst_start_stop\endcsname

\expandafter\let\expandafter\syst_stop_indeed\csname\e!stop\m_syst_start_stop\endcsname

\csname\e!start\m_syst_start_stop\expandafter\expandafter\expandafter\endcsname
  \else
\let\syst_stop_indeed\donothing
  \fi\fi}

\def\syst_start_nop[#1]%
  {\let\syst_stop_indeed\donothing}

\unexpanded\def\stop
  {\syst_stop_indeed
   \egroup}


(it should be \let\donothing\empty)



-- 
luigi
___
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] What do \start and \stop mean?

2013-09-30 Thread luigi scarso
On Mon, Sep 30, 2013 at 6:00 PM, luigi scarso luigi.sca...@gmail.comwrote:




 On Mon, Sep 30, 2013 at 5:38 PM, Lars Huttar lars_hut...@sil.org wrote:

 I found \start and \stop referenced in the context reference manual
 (e.g. section 5.5).
 While \startXYZ - \stopXYZ pairs are discussed earlier, I can't find any
 place that \start and \stop (with no suffix) are described.
 They seem to be used like \bgroup and \egroup. Is that right?
 They are defined in core-sys.mkiv, but I can't figure out from there
 what they actually do.

 I'll contribute documentation for them if someone can tell me what they
 mean.

 Thanks,
 Lars





 core-sys.mkiv :


 \unexpanded\def\start
   {\dosingleempty\syst_start}

 \def\syst_start
   {\bgroup
\iffirstargument
  \expandafter\syst_start_yes
\else
  \expandafter\syst_start_nop
\fi}

 \def\syst_start_yes[#1]%
  {\edef\m_syst_start_stop{#1}%
   \ifx\m_syst_start_stop\empty
 \let\syst_stop_indeed\donothing
   \else\ifcsname\e!start\m_syst_start_stop\endcsname

 \expandafter\let\expandafter\syst_stop_indeed\csname\e!stop\m_syst_start_stop\endcsname

 \csname\e!start\m_syst_start_stop\expandafter\expandafter\expandafter\endcsname
   \else
 \let\syst_stop_indeed\donothing
   \fi\fi}

 \def\syst_start_nop[#1]%
   {\let\syst_stop_indeed\donothing}

 \unexpanded\def\stop
   {\syst_stop_indeed
\egroup}


 (it should be \let\donothing\empty)

 sorry, hit return too early.
\start ... \stop without argument is

\bgroup % from\def\syst_start
\expandafter\syst_start_nop

\syst_start_nop is
{\let\syst_stop_indeed\donothing}

and \stop is hence
\syst_stop_indeed
\egroup
i.e.
\donothing
\egroup


are like \bgroup ... \egroup

It seems that there are no examples of \start[]..\stop .

-- 
luigi
___
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] Feedback wanted on a ConTeXt tutorial

2013-09-30 Thread Mica Semrick
Any chance of getting that tutorial in some sort of version control?
Github/SVN/bitbucket or whatever?!


On Mon, Sep 30, 2013 at 7:06 AM, Lars Huttar lars_hut...@sil.org wrote:

 On 9/29/2013 1:05 PM, Marco Patzer wrote:
  Some thoughts:
 
1.1.1
Unfortunately there’s no really easy way to install ConTEXt on Windows.
 
  I never installed ConTeXt on Windows, but if this is true this
  should definitely be fixed. According to
 
http://wiki.contextgarden.net/ConTeXt_Standalone#Command_line_method
  ...

 For my part ... I recently installed TeXLive 2012 and 2013 on Windows 7,
 and it was easy.

 I told it to install only the ConTeXt scheme, instead of installing
 everything.
 Also I had to configure the TeXWorks editor options to use ConTeXt
 (LuaTeX) by default instead of pdfLaTeX.
 But other than that, unless I'm forgetting something, it worked fine,
 out-of-the-box.

 Lars


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

2013-09-30 Thread Hans Hagen

Hi,

I uploaded a new beta (still catching up from last week). The core now 
has the simplefonts-turned-fontselector code included but only those 
present last week have the edge of knowing how to use it unless WS 
decides to reveal its secrets and/or LS undiscloses it by posting source 
code.


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] question about linespace adjustment

2013-09-30 Thread Lars Huttar
On 9/26/2013 3:47 PM, Wolfgang Schuster wrote:
 You can use \switchtobodyfont to change the size for certain parts of a text
 but it’s best to keep this to a minimum because \tfa etc. are a  lot faster.

 The reason why you don’t need \setupinterlinespace when you use
 \switchtobodyfont is that \setupinterlinespace is already called by
 \switchtobodyfont.

 Another thing which shouldn’t be forgotten is that \switchtobodyfont
 controls and changes the sizes for \tfa etc.

 Wolfgang

To summarize this, and what I've learned from others on this list over
the last week or two, I've updated the wiki page
http://wiki.contextgarden.net/Font_Switching
It's a pretty substantial change, so I hope someone knowledgeable will
look at it and make sure it's right.

I'm trying to find ways to express the fact that, as I understand it,
there are two distinct concepts of current font in effect at any given
time:
1) the bodyfont, which is set by \setupbodyfont or \switchtobodyfont
2) the effective font (is there a more standard term for this?) which
is changed by \tfa, \ss, etc.

\tfa etc. change the effective font based on what the bodyfont is.
Anything that changes the bodyfont, such as \switchtobodyfont, also
affects the linespacing.
Just changing the effective font does not affect the linespacing.
Changing the bodyfont changes the effective font.

Does that give an accurate picture?

Thanks,
Lars




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