Re: [NTG-context] ntg-context Digest, Vol 101, Issue 42

2012-11-16 Thread H. Özoguz

Am 15.11.2012 20:32, schrieb ntg-context-requ...@ntg.nl:

2012-11-15 H. ?zoguz:


\setuptolerance[stretch]

Are you sure, you want to use stretch? It will probably product
ugly results.


\tolerance 70

Why 70? I don't understand the use of stretch with such a strict
tolerance. What about using

   \setuptolerance [tolerant] %% or verytolerant

instead of using stretch?


Is it suitable to use tolerance and stretch in this way together?

It will probably work (though I never used it myself), but using the
ConTeXt interface \setuptolerance is the better approach.


Of course I want a nice type area - but for me that means that I definitely
don't want a word written in the margin!

Use a higher tolerance, not a lower one.


(That happens with the default \tolerance 250 (without using stretch).

What version are you using? A current ConTeXt has the \tolerance set to 200.

\starttext\the\tolerance\stoptext



Correct, my version has tolerance=200 as default, too. But in the manuel 
I read 250, so it was my mistake.


My question is: I want to be absolutely sure, that no word is written in 
the margin with my settings. And if I use only


\setuptolerance [tolerant]

it might still happen. The reason for the smal tolerance was, that I want very 
small tolerance (= nice result ?) in most cases, but if a word is written in 
the margin, then it should stretch (word in the margin = worst case for me)


___
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] Annotation Module

2012-11-16 Thread H. Özoguz

Am 15.11.2012 20:32, schrieb ntg-context-requ...@ntg.nl:

Am 13.11.2012 um 07:50 schrieb H. ?zoguzh.oezo...@mmnetz.de:


Am 13.11.2012 07:46, schriebntg-context-requ...@ntg.nl:

\definehighlight
   [emph]
   [style=bolditalic]

Quote: \quotation{He said: \quote{Hello \emph{World!}}}


Marco


I want the complete quotation emphasized- without extra writing \emph.

Take a look at the attachment for a example which use the latest version of the 
annotation module (a module to create customized commands/environments).

Wolfgang


Thanks, that seems to be exactly, what I'm searching for. I use the 
Context Version:


2012.05.30 11:26

Do I have to update to use this annotation module? (It does not work.)

And is it easy to update, if I have no stand-alone version of ConTeXt, 
but a version embedded in TexLive?


Thanks und viele Grüße
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] Epub woes

2012-11-16 Thread Keith J. Schultz
Hi All,

First off, I do not work with ConTexT, but with Lu(La)TeX.
I follow this list looking for pointers.

The way I understand how ConTexT produces output for
epubs is that it just creates HTML.

If ConTexT (or LuaTex) is to produce output for use in epubs
it should map the ConTexT structures to html and the epub format.

That is, it should produce separate files for each chapter.
Furthermore, it should be able to create files for the spine, ncx, css,
and cover page, etc automatically.  This with reduce the amount of 
postprocessing Considerable.

Furthermore, the method could be design to not only epub, but a 
mobi format.

I have just started out on my own ideas for a Lau(La)Tex way of using
it for the creation of ebooks and pdfs from the same source.

Just my two cents, worth. 

Sorry, if I am creating noise here.

regards
Keith.
___
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] Paths for ConTeXt in Texworks

2012-11-16 Thread H. Özoguz

Hello,

I was using the build-in ConTeXt of Texlive 2012 - till now. Now I 
installed the standalone version of ConTeXt (newst version). How to tell 
Texworks to switch to the standalone context? With pathes are relevant? 
I tried many paths, but I get always



resolvers | resolving | using suffix based filetype 'lua'

resolvers | resolving | remembering file 'mtx-contexts.lua'

resolvers | resolving | remembered file 'mtx-context.lua'

resolvers | resolving | using suffix based filetype 'lua'

resolvers | resolving | remembering file 'mtx-t-context.lua'

resolvers | resolving | using suffix based filetype 'lua'

resolvers | resolving | remembering file 'mtx-t-contexts.lua'

resolvers | resolving | remembered file 'mtx-t-context.lua'

resolvers | resolving | using suffix based filetype 'lua'

resolvers | resolving | remembering file 'context.lua'

mtxrun | unknown script 'context.lua' or 'mtx-context.lua'


So which paths I have to add to get the standalone version working with 
texworks?


Thanks

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] Paths for ConTeXt in Texworks

2012-11-16 Thread Rogers, Michael K
On Nov 16, 2012, at 5:25 AM, H. Özoguz h.oezo...@mmnetz.de  wrote:

 So which paths I have to add to get the standalone version working with 
 texworks?


Have you tried the procedure in 
http://wiki.contextgarden.net/Setting_up_TeXworks ?

Michael



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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] Changing the font in quotation

2012-11-16 Thread H. Özoguz

I use \startquotation \stopquotation for longer quotations.

I want to globally change the font in this quotations (f.e. to garamond 
or helvetica - my default is times new roman). How to make this?


Thanks
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] Annotation Module

2012-11-16 Thread Wolfgang Schuster

Am 16.11.2012 um 10:13 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Am 15.11.2012 20:32, schrieb ntg-context-requ...@ntg.nl:
 Am 13.11.2012 um 07:50 schrieb H. ?zoguzh.oezo...@mmnetz.de:
 
 Am 13.11.2012 07:46, schriebntg-context-requ...@ntg.nl:
 \definehighlight
[emph]
[style=bolditalic]
 
 Quote: \quotation{He said: \quote{Hello \emph{World!}}}
 
 
 Marco
 
 I want the complete quotation emphasized- without extra writing \emph.
 Take a look at the attachment for a example which use the latest version of 
 the annotation module (a module to create customized commands/environments).
 
 Wolfgang
 
 Thanks, that seems to be exactly, what I'm searching for. I use the Context 
 Version:
 
 2012.05.30 11:26
 
 Do I have to update to use this annotation module? (It does not work.)
 
 And is it easy to update, if I have no stand-alone version of ConTeXt, but a 
 version embedded in TexLive?

The annotation module doesn’t ship with texlive. The reason for this is that
I use context macros which are only available in the current beta version but
not in stable version used by texlive.

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] Changing the font in quotation

2012-11-16 Thread Marco Patzer
2012-11-16 H. Özoguz:

 I use \startquotation \stopquotation for longer quotations.
 
 I want to globally change the font in this quotations (f.e. to garamond 
 or helvetica - my default is times new roman). How to make this?

Quotations are defined as delimited text, see

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

That means, you can use the style key as follows:

\setupdelimitedtext
  [quotation]
  [style=sans]

If you defined sans to be Helvetica, that's all you need, but this
depends on you document setup. You can also use \switchtobodyfont.

\setupdelimitedtext
  [quotation]
  [style={\switchtobodyfont[helvetica]}]


Marco

___
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] Epub woes

2012-11-16 Thread Bill Meahan

On 11/15/2012 11:17 PM, Aditya Mahajan wrote:


Pandoc does generate ConTeXt output as well, which you can then 
process the usual way to generate pdf.


The advantage of pandoc is that **in addition** to latex/context 
output, you can generate docbook/epub/html/doc/troff/ and other output 
formats as well.


Aditya


I'm installing pandoc now. Looks pretty interesting. I suppose it's time 
I learned (extended) Markdown anyway. Thank goodness emacs has a mode 
for that. :)


Thanks for the info!

--
Bill Meahan
Westland, Michigan 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] Epub woes

2012-11-16 Thread Aditya Mahajan

On Fri, 16 Nov 2012, Bill Meahan wrote:


On 11/15/2012 11:17 PM, Aditya Mahajan wrote:


Pandoc does generate ConTeXt output as well, which you can then process the 
usual way to generate pdf.


The advantage of pandoc is that **in addition** to latex/context output, 
you can generate docbook/epub/html/doc/troff/ and other output formats as 
well.


Aditya


I'm installing pandoc now. Looks pretty interesting. I suppose it's time I 
learned (extended) Markdown anyway. Thank goodness emacs has a mode for 
that. :)


If you are using emacs, keep an eye for the org mode reader in pandoc.
https://github.com/jgm/pandoc/issues/476

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] simpleslides placeTitle undefined control sequence

2012-11-16 Thread Ondřej Hošek
Hi,

I've encountered another simpleslides problem, which can probably be
chalked up to mkiv's moving target status.

Minimal example:

\usemodule[simpleslides]
\setupTitle[title=Hi]
\starttext
\placeTitle
\stoptext

Error with mkiv, ConTeXt 2012.11.14 11:37:

! Undefined control sequence.
{snip}
argument \??vars 
   :simpleslides:title:
\dousestylehashparameter #1#2-\ifcsname #1
   #2\endcsname \expandafter
\douses...
\dostartattributes ...estylehashparameter {#1}{#2}

\dousecolorhashparameter {...
\placeTitle ...pleslides:title:}\c!style \c!color 

\simpleslidestitlecomponen...
l.4 \placeTitle

Cheers,
~~ Ondra

___
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] Paths for ConTeXt in Texworks

2012-11-16 Thread Mojca Miklavec
On Fri, Nov 16, 2012 at 11:25 AM, H. Özoguz wrote:
 Hello,

 I was using the build-in ConTeXt of Texlive 2012 - till now. Now I installed
 the standalone version of ConTeXt (newst version). How to tell Texworks to
 switch to the standalone context? With pathes are relevant? I tried many
 paths, but I get always

 
 resolvers | resolving | using suffix based filetype 'lua'

 resolvers | resolving | remembering file 'mtx-contexts.lua'

 resolvers | resolving | remembered file 'mtx-context.lua'

 resolvers | resolving | using suffix based filetype 'lua'

 resolvers | resolving | remembering file 'mtx-t-context.lua'

 resolvers | resolving | using suffix based filetype 'lua'

 resolvers | resolving | remembering file 'mtx-t-contexts.lua'

 resolvers | resolving | remembered file 'mtx-t-context.lua'

 resolvers | resolving | using suffix based filetype 'lua'

 resolvers | resolving | remembering file 'context.lua'

 mtxrun | unknown script 'context.lua' or 'mtx-context.lua'


 So which paths I have to add to get the standalone version working with
 texworks?

Just /path/to/your/context/tex/texmf-arch/bin should in principle
suffice. But maybe you should somehow run mtxrun --generate before
anything else. I'm not sure what exactly is going on in the log above.

Mojca
___
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] \startitemize[columns] once again...

2012-11-16 Thread Marcin Borkowski
Dnia 2012-11-14, o godz. 11:38:48
Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de napisał(a):

 ···date: 2012-11-14, Wednesday···from: Marcin Borkowski···
 
  Dnia 2012-11-10, o godz. 03:23:11
  Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):
  
   This minimal example behaves in a strange way:
   
   \starttext
 Some text
 \startitemize[columns,two,joinedup]
 \item abc% $\frac{x^2-x+3}{x^2+x-3}$;
 \item xyz% $\frac{x^5-3}{x^3+x-2}$.
 \stopitemize
   \stoptext
   
   If we remove the percentage signs in the items, an additional
   vertical skip appears.  Is it a feature or a bug?
  
  Hi, could anybody look into it?  I tried also \smash-ing the
  formulae - with no luck.
 
 Hi Marcin, appears like the vertical spacing is extended when
 content of the item exceeds the line height. The behavior is not
 restricted to math mode, though I can’t say if there is an
 official way to prevent or customize it. If you are desperate to
 get around it, maybe put the content in a box of fixed height.
 
 ·· demo ·
 \defineframed[crampy][height=\ht\strutbox,frame=off]
 \starttext
   before
   \thinrule
   \startitemize[columns,two,joinedup]
   \item abc \mathematics{\frac{x^2-x+3}{x^2+x-3}};
   \item xyz \mathematics{\frac{x^5-3}{x^3+x-2}}.
   \stopitemize
   \thinrule
   after
 
   before
   \thinrule
   \startitemize[columns,two,joinedup]
   \item abc \crampy[frame=on]{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
   \item xyz \crampy[frame=on]{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
   \stopitemize
   \thinrule
   after
 
   before
   \thinrule
   \startitemize[columns,two,joinedup]
   \item abc \crampy{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
   \item xyz \crampy{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
   \stopitemize
   \thinrule
   after
 \stoptext
 ·
 
 Hth, Philipp

Yes it does, thanks!  (It helps in some other strange cases, too.)
What is especially interesting, is that \strut\smash{...} didn't help.

Best,

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

[NTG-context] [mtx-patterns] fix function name

2012-11-16 Thread Philipp Gesang
Typo in mtx-patterns.lua, line 487.

Philipp


--- /home/phg/context/tex/texmf-context/scripts/context/lua/mtx-patterns.lua
2012-05-29 00:12:07.0 +0200
+++ mtx-patterns.lua2012-11-16 21:49:20.331369947 +0100
@@ -484,7 +484,7 @@
 else
 local destination = environment.argument(destination) or .
 if path == destination then
-resport(source path and destination path should differ (use 
--path and/or --destination))
+report(source path and destination path should differ (use --path 
and/or --destination))
 else
 local files = environment.files
 local only  = false


pgp0cO2pSG8Ct.pgp
Description: PGP signature
___
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] [mtx-patterns] run --convert on individual file

2012-11-16 Thread Philipp Gesang
Hi Hans, and others!

I’d like to test these hyphenation patterns:

  http://www.ponomar.net/files/cuhyph.tex

At the moment, the names of the imported pattern sources are
hardcoded in mtx-patterns.lua. Could the script be extended to
allow for converting individual files?

Thanks a lot
Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpDsFahFE6Yb.pgp
Description: PGP signature
___
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] Missing file.tuc with setuparranging[2SIDE]

2012-11-16 Thread Hans Hagen

On 11/15/2012 7:35 PM, Jean-Philippe Rey wrote:

Hi,

Le 15 nov. 2012 à 17:56, Romain Diss a écrit :


Hi
Le jeudi 15 novembre 2012, Wolfgang Schuster a écrit :

Am 15.11.2012 um 01:28 schrieb Romain Diss romain.d...@yahoo.fr:

I found a strange problem using \setuparranging[2SIDE] : the .tuc file is
not created anymore and this lead to a missing section number (for the
first section only). How can I remedy to that ? Any idea ?


Use “context --arrange filename”.

Thank you, it seems trivial but it works well.

Do the use of \setuparranging should always be accompanied by context --
arrange filename or are there specific cases?



I don't know the official answer but I can tell you that I have been using 
--arrange systematically, whether or not my tex files contain \setuparranging, 
and I didn't notice a problem in two years. On the contrary forgetting 
--arrange led to problems in page numbers, references, running headers, etc.


--arrange will

(1) do an normal run and signal context to ignore \setuparranging
(2) do a final run with arranging enabled but no tuc file being written

That way the used tuc file is the right one, and not the one resulting 
from the reshuffling (a different order of flushing gives also different 
references, list ordering etc)


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] [mtx-patterns] run --convert on individual file

2012-11-16 Thread Hans Hagen

On 11/16/2012 10:05 PM, Philipp Gesang wrote:

Hi Hans, and others!

I’d like to test these hyphenation patterns:

   http://www.ponomar.net/files/cuhyph.tex

At the moment, the names of the imported pattern sources are
hardcoded in mtx-patterns.lua. Could the script be extended to
allow for converting individual files?


I'll add support for

--specification=cu,lang-cu,seeme

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] Latex to ConTeXt

2012-11-16 Thread Hans Hagen

On 11/15/2012 9:20 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

On Thu, 15 Nov 2012 09:07:55 +0100, MANUEL GONZALEZ SUAREZ
gonzalezsman...@uniovi.es wrote:



Hello.

I wish someone would help me translate this code LaTeX to ConTeXt.
It is a
command to do word by word translations, so that a word appears under
another.

Here's the code:

\newcommand\dos[2]{\begin{tabular}{@{}c}{\textDidot{\footnotesize#1}}\\{\scriptsize\em#2}\end{tabular}}



A picture of the result would be nice - we probably won't know what to
reach.




Thanks


Something like this?


%
\newcommand\dos[2]{\begin{tabular}{@{}c}{\textDidot{\footnotesize#1}}\\{\scriptsize\em#2}\end{tabular}}


\define[2]\dos{%
   \bTABLE
 \setupTABLE[align=middle]
 \setupTABLE[r][1][style=\small]
 \setupTABLE[r][2][style={\small\small\em}]
 \bTR\bTD#1\eTD\eTR
 \bTR\bTD#2\eTD\eTR
   \eTABLE
}

\starttext
   Some text \dos{Abc}{Def}
\stoptext


more efficient:

\unexpanded\def\dos#1#2%
  {\dontleavehmode
   \begingroup
   \setbox0\struttedbox{#1}%
   \setbox2\struttedbox{#2}%
   \ifdim\wd0\wd2
 \setbox2\hbox to \wd0{\hss\box2\hss}%
   \else
 \setbox0\hbox to \wd2{\hss\box0\hss}%
   \fi
   \box0
   \kern-\wd2
   \raise\lineheight\box2
   \endgroup}



--

-
  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] [mtx-patterns] run --convert on individual file

2012-11-16 Thread Philipp Gesang
···date: 2012-11-16, Friday···from: Hans Hagen···

 On 11/16/2012 10:05 PM, Philipp Gesang wrote:
 Hi Hans, and others!
 
 I’d like to test these hyphenation patterns:
 
http://www.ponomar.net/files/cuhyph.tex
 
 At the moment, the names of the imported pattern sources are
 hardcoded in mtx-patterns.lua. Could the script be extended to
 allow for converting individual files?
 
 I'll add support for
 
 --specification=cu,lang-cu,seeme

Great, thanks! /Philipp




pgppZ5jXoiGAf.pgp
Description: PGP signature
___
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] Epub woes

2012-11-16 Thread Zenlima

 Is there any reader able to read mathml ?

Try lucifox (is a part of lucifox addon for firefox)

___
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] Epub woes

2012-11-16 Thread Zenlima
 Try lucifox (is a part of lucifox addon for firefox)

arg.. to late.. try lucidor as a part of lucifox... :-D
___
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] Epub woes

2012-11-16 Thread Bill Meahan

On 11/16/2012 02:13 AM, luigi scarso wrote:


I just started working on the epub output of my lecture notes
again, since there were no readers able to output math until 2
weeks ago.

Is there any reader able to read mathml ?

--
luigi




If you use Google Chrome (Chromium), you can get Readium from the Google 
Web Store. It's the IPDF's reference implementation of the epub3 
standard including MathML


--
Bill Meahan
Westland, Michigan 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
___


[NTG-context] vertical alignment problem in column items

2012-11-16 Thread Jeong Dal
Dear all,

In the following example, the vertical alignment of items looks strange.

I wonder it is my only problem.
Is there anything what I have to do to correct it?

Thank you.

Best regards,

Dalyoung

% sample code

\starttext
\startitemize

\item Find a well-ordered set.

\startitemize[n, columns, four][stopper=,left=(, right=)]
\item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$
\item $[0, 1)$
\item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$
\item $ \reals$
\stopitemize
\stopitemize
\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
___


Re: [NTG-context] vertical alignment problem in column items

2012-11-16 Thread Otared Kavian
Hi Dalyoung,

I think that there must be a small bug in mkiv regarding itemize in columns, 
but at the same time I think that the problem comes from the fact that in your 
example you use inline maths and fractions: this perturbs the way the 
horizontal and vertical distances are calculated by mkiv. It seems that mkiv 
considers there is not enough horizontal space to put the four items in a row.
If you use two columns the problem is solved, as you can see in the following 
examples (please typest it both with mkii and mkiv to see the differences).
Best regards: OK
%%% begin itemize-dist-bug.tex
\starttext

\setupitemize[1][n] % first level itemize

\setupitemize[2][a,paragraph,columns][stopper=)] % second level itemize
%If you want more than two columns by default add n=x

\startitemize
\item Item one
\item Find a well-ordered set:
\startitemize[n=4] % --- gives correct output both in mkii and mkiv
\item sub-one
\item sub-two
\item sub-three
\item sub-four
\stopitemize
\hairline
\startitemize[n=4] % --- gives correct output in mkii, but not in mkiv
\item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$
\item $[0, 1)$
\item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$
\item $ \reals$
\stopitemize
\hairline
\startitemize[n=4] % --- gives incorrect output both in mkii and mkiv
\item $\{ 2 + n^{-1}, n \in\naturalnumbers\}$
\item $[0, 1)$
\item $\{3 - 2n^{-1}, n \in \naturalnumbers\}$
\item $ \reals$
\stopitemize
\hairline
\startitemize[n=2] % --- gives correct output both in mkii and mkiv
\item sub-one
\item sub-two
\item sub-three
\item sub-four
\stopitemize

\hairline
\startitemize[n=2] % --- gives correct output both in mkii and in mkiv
\item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$
\item $[0, 1)$
\item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$
\item $ \reals$
\stopitemize

\hairline
\startitemize[n=2] % --- gives correct output both in mkii and mkiv
\item $\{ 2 + n^{-1}, n \in\naturalnumbers\}$
\item $[0, 1)$
\item $\{3 - 2n^{-1}, n \in \naturalnumbers\}$
\item $ \reals$
\stopitemize
\hairline

\stoptext
%%% end itemize-dist-bug.tex

Best regards: OK

On 17 nov. 2012, at 05:03, Jeong Dal hak...@me.com wrote:

 Dear all,
 
 In the following example, the vertical alignment of items looks strange.
 
 I wonder it is my only problem.
 Is there anything what I have to do to correct it?
 
 Thank you.
 
 Best regards,
 
 Dalyoung
 
 % sample code
 
 \starttext
 \startitemize
 
 \item Find a well-ordered set.
 
 \startitemize[n, columns, four][stopper=,left=(, right=)]
 \item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$
 \item $[0, 1)$
 \item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$
 \item $ \reals$
 \stopitemize
 \stopitemize
 \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
 ___

___
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] Epub woes

2012-11-16 Thread luigi scarso
On Sat, Nov 17, 2012 at 12:41 AM, Bill Meahan
subscribed_li...@meahan.netwrote:

 On 11/16/2012 02:13 AM, luigi scarso wrote:


 I just started working on the epub output of my lecture notes
 again, since there were no readers able to output math until 2
 weeks ago.

 Is there any reader able to read mathml ?

 --
 luigi



 If you use Google Chrome (Chromium), you can get Readium from the Google
 Web Store. It's the IPDF's reference implementation of the epub3 standard
 including MathML

 IDPF'reference
( IPDF is the output of the new iTEX from Knuth, see
http://tug.org/TUGboat/tb31-2/tb98knut.pdf)
___
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
___