Re: [NTG-context] A default editor for ConTeXt standalone?

2014-02-05 Thread Keith J. Schultz
Hi,

As nice as it would be to have ConTeXt Standalone offer an editor, I personally
believe that it should not be done.

1) Those that have TeXlive already TeXWorks
 At least it is setup for TeXLive and can be set up to use
 ConTeXt Standalone and other distros at the same time.

2) ConTeXt supports many OSes 
a) adding editor support opens a big can of worms inorder to be
 non-eavsive and not clobber special settings that a user might have 
 in place.

 b) TeXWorks is nice, yet not for everyone. 
  Furthermore on the Mac one has TeXShop, it was the basis for TeXWorks!
  I would suggest TeXShop to Mac Users. 

  c) No offense to power users, emacs Ug!
  Emacs comes with a learning curve!
  Should add something in that beginners and the uninclined might
  consider a recommondation, where they would be better off using a 
  different IDE.

To reinterate, editors and IDEs are a matter of taste.
Depending on the platform one is on there are different choices which are easy
enough to install and use.
It would be to difficult for ConTeXt to avoid ruining someones set up that they 
have.

regards
Keith.

Am 05.02.2014 um 07:41 schrieb Marcin Borkowski mb...@wmi.amu.edu.pl:

 Hi all,
 
 just a thought.  Some time ago wise people decided to include TeXworks
 into TeXlive, so that newbies installing TeXlive can get a
 batteries-included package (not having to choose/install an editor).
 Would it be (a) reasonable and (b) not too much time-consuming to do a
 similar move with ConTeXt standalone?  I'm not saying it would have to
 be TeXworks (or my beloved Emacs, for that matter;)).  I am aware that
 this is an additional work to maintain etc., and I'm probably not
 capable of doing it myself, but...
 
 What do you think?
 
 -- 
 Marcin Borkowski
 http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
 Adam Mickiewicz University
 ___
 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
___


Re: [NTG-context] A default editor for ConTeXt standalone?

2014-02-05 Thread Hans Hagen

On 2/5/2014 7:41 AM, Marcin Borkowski wrote:

Hi all,

just a thought.  Some time ago wise people decided to include TeXworks
into TeXlive, so that newbies installing TeXlive can get a
batteries-included package (not having to choose/install an editor).
Would it be (a) reasonable and (b) not too much time-consuming to do a
similar move with ConTeXt standalone?  I'm not saying it would have to
be TeXworks (or my beloved Emacs, for that matter;)).  I am aware that
this is an additional work to maintain etc., and I'm probably not
capable of doing it myself, but...

What do you think?


FYI: I use SciTE and all files needed to support context in it are in 
the distribution adn kept up to date (including advanced lexers for 
relevant file formats, like tex, lua, xml, pdf, w). I nowadays use 
sumatrapdf for previewing which is supported in a edit-preview cycle.


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 matematics (derivative and brackets combinations) + wrong pagenumbering

2014-02-05 Thread Jaroslav Hajtmar

Thanx Alan for the explanation.
I tried use all of symbols ie U+2032 ′, U+0027 ' , U+2019 ’ and U+02BC ʼ.
Visual results with using of U+2032 ′, U+0027 ' and U+02BC ʼ are the 
same as with symbol apostrophe ' (\prime) ... i.e. bad appearance (very 
low or very high with ^ symbol).

Using of  U+2019 ’ get error.


Jaroslav Hajtmar





Dne 5.2.2014 12:30, Alan BRASLAU napsal(a):

On Wed, 5 Feb 2014 01:58:44 +0100
Jaroslav Hajtmar hajt...@gyza.cz wrote:


I know about ^\prime but this is the same as ^{'}.

Not to be confused with ´ (prime)!
U+2032 ′
U+0027 '
U+2019 ’
U+02BC ʼ
etc.

Windows (Word) is really bad in substituting the right single
quotation mark for the ASCII (typewriter) apostrophe (U+0027).
This is probably because some people in the unicode world decided that
this be the preferred character to use for apostrophe (for some
strange reason).

Alan



___
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] getting text outside cropmarks to work

2014-02-05 Thread Lars Huttar
Hello,

Under mkii we used to have a running footer that appeared below the crop
marks. Under mkiv I can't get that to work.

The MWE I'm trying (with ConTeXt mkiv from the TeXLive 2013 CD):

\def\TopText { Top Text }

\def\BottomText { Bottom Text }

\def\pagecutmarksymbol {\the\realpageno}

\def\pagecutmarklength {.5cm}

\let\pagecutmarktoptext \TopText

\let\pagecutmarkbottomtext \BottomText

\setuplayout[marking=text]

%\setuplayout[marking=on]

\starttext

\input knuth

\stoptext


Code like this used to work for us in mkii.


I tried it with both marking=text and marking=on, but in either case, I
get neither crop marks nor the text.
(In our real document, I was able to get crop marks with [marking=on].
But not text. And haven't figured out how to get crop marks in a MWE.)


Relevant guidance I've been trying to follow:
http://wiki.contextgarden.net/Imposition#Cut_marks
http://context.markmail.org/thread/kpayudrtabsti76i

Thanks for any help on how to get text (pagecutmarkbottomtext) to appear
outside the crop marks.

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] getting text outside cropmarks to work

2014-02-05 Thread Wolfgang Schuster

Am 05.02.2014 um 16:45 schrieb Lars Huttar lars_hut...@sil.org:

 Hello,
 
 Under mkii we used to have a running footer that appeared below the crop
 marks. Under mkiv I can't get that to work.
 
 The MWE I'm trying (with ConTeXt mkiv from the TeXLive 2013 CD):
 
 \def\TopText { Top Text }
 
 \def\BottomText { Bottom Text }
 
 \def\pagecutmarksymbol {\the\realpageno}
 
 \def\pagecutmarklength {.5cm}
 
 \let\pagecutmarktoptext \TopText
 
 \let\pagecutmarkbottomtext \BottomText
 
 \setuplayout[marking=text]
 
 %\setuplayout[marking=on]
 
 \starttext
 
 \input knuth
 
 \stoptext
 
 Code like this used to work for us in mkii.

Redefining internal commands isn’t a good solution, what you can do is to use a 
layer to place your texts.

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] getting text outside cropmarks to work

2014-02-05 Thread Lars Huttar
On 2/5/2014 11:03 AM, Wolfgang Schuster wrote:
 Am 05.02.2014 um 16:45 schrieb Lars Huttar lars_hut...@sil.org:

 Hello,

 Under mkii we used to have a running footer that appeared below the crop
 marks. Under mkiv I can't get that to work.

 The MWE I'm trying (with ConTeXt mkiv from the TeXLive 2013 CD):

 \def\TopText { Top Text }

 \def\BottomText { Bottom Text }

 \def\pagecutmarksymbol {\the\realpageno}

 \def\pagecutmarklength {.5cm}

 \let\pagecutmarktoptext \TopText

 \let\pagecutmarkbottomtext \BottomText

 \setuplayout[marking=text]

 %\setuplayout[marking=on]

 \starttext

 \input knuth

 \stoptext

 Code like this used to work for us in mkii.
 Redefining internal commands isn’t a good solution, what you can do is to use 
 a layer to place your texts.


Thanks for your reply.

When you say redefining internal commands, is that referring to
statements like

  \let\pagecutmarktoptext \TopText

?

AFAICT this is the recommended solution, both on the current wiki 
(http://wiki.contextgarden.net/Imposition#Cut_marks) and by Hans 
(http://context.markmail.org/thread/kpayudrtabsti76i) albeit several years ago; 
the current ref man (section 3.4 Page design / page composition) also lists 
marking=TEXT as an option for \setuplayout. If this is correct, how is one 
supposed to specify the text to display?

Am I misunderstanding the documentation, or is it just obsolete?

If we need to implement this using layers, does anyone have a recent
example of using a layer to place a running footer outside the crop marks?

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
___


[NTG-context] Hat with \widehat is not satisfactory

2014-02-05 Thread Fabrice Couvreur
Dear list,
I think the symbol of the angles is too close to the letters.
Is it possible to change this ?

\enablemode[pxmath]
\setupbodyfont[palatino,12pt]
\starttext
\startformula
\sin\widehat{PAM}
=\frac{AM}{PA}=\frac{\frac{\sqrt{2}}{4}}{\frac{\sqrt{6}}{2}}=\frac{\sqrt{2}}{4}\times\frac{2}{\sqrt{6}}=\frac{\sqrt{2}}{2}\times\frac{1}{\sqrt{6}}=\frac{\sqrt{3}}{2}.
\stopformula
\stoptext

Thank you.
___
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] Appendix Page Numbering

2014-02-05 Thread Troy Henderson
I use

\definestructureconversionset [frontpart:pagenumber][][romannumerals]

to make sure the numbering of my pages in frontmatter use Roman numerals.
Not only are the pages numbered with Roman numerals, but the PDF index
links and PDF page numbers use this as well.  I would like to do something
similar for the backmatter, but I would like both the page numbers and the
PDF index links and PDF page numbers look like A1, A2, ... (for appendix).

How can this be done?

Thanks,

Troy Henderson
___
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] another question on simplefonts

2014-02-05 Thread Pablo Rodriguez
On 02/05/2014 12:39 AM, Wolfgang Schuster wrote:
 Am 04.02.2014 um 21:19 schrieb Pablo Rodriguez oi...@gmx.es:
 [...]
 But I don’t know how to define slantedfont={* Regular} with the new
 syntax. sl=style:tf or sl=style:regular don’t work (the italic font
 is the slanted one).
 Which is the right way to do it in the new version of simplefonts?
 
 \definefontfamily[mainface][serif][TeX Gyre 
 Pagella][sl={style:regular,features:{default,fakeslanted}}]

Many thanks for your reply, Wolfgang.

It works fine.

 How about a new range preset for Hebrew?
 
 What is needed for this preset?

I’m afraid all information I have on this topic comes from the list.
Typesetting Hebrew is only a request from another ConTeXt newbie, who
asked me.

range={hebrew,alphabeticpresentationforms} seems to be the range.

Many thanks again for your help,


Pablo
-- 
http://www.ousia.tk
___
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] suggestion on [option=TEX]

2014-02-05 Thread Pablo Rodriguez
Hi Hans,

I have the following sample:

\setuptyping[option=TEX]
\starttext
\starttyping
\input zapf % knuth
\stoptyping
\stoptext

The percent character is in bold font and gray color, but the rest of
the commented text isn’t.

My suggestion would be to apply the same color and font of the percent
character to the rest of the comment. So it is easier to see that the
text is a comment. And I think coloring the whole commented text (not
only the percent character) is the normal practice in all text editors
(if comments are colored at all).

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] suggestion on [option=TEX]

2014-02-05 Thread Wolfgang Schuster

Am 05.02.2014 um 19:50 schrieb Pablo Rodriguez oi...@gmx.es:

 Hi Hans,
 
 I have the following sample:
 
 \setuptyping[option=TEX]
 \starttext
 \starttyping
 \input zapf % knuth
 \stoptyping
 \stoptext
 
 The percent character is in bold font and gray color, but the rest of
 the commented text isn’t.
 
 My suggestion would be to apply the same color and font of the percent
 character to the rest of the comment. So it is easier to see that the
 text is a comment. And I think coloring the whole commented text (not
 only the percent character) is the normal practice in all text editors
 (if comments are colored at all).


http://pragma-ade.com/general/magazines/mag-1102.pdf

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
___