Re: [NTG-context] tagging heads and empty output

2015-03-28 Thread Hans Hagen

On 3/28/2015 10:12 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:

On Sat, 28 Mar 2015 07:34:32 -0600, Idris Samawi Hamid ادريس سماوي حامد
isha...@colostate.edu wrote:


Dear gang,
Two issues:

1. What is the proper way to tag heads in itemize? I do


the next beta will provide

item head=yes


-
  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] undefined \sethyphenationfeatures?

2015-03-28 Thread Hans Hagen



On 3/28/2015 7:29 PM, Pablo Rodriguez wrote:

Hans,

I”m afraid that beta from 2015.03.28 16:30 removes \sethyphenationfeatures:

 \setuphyphenation[method=traditional]
 \sethyphenationfeatures[strict]
 \starttext
 \input zapf
 \stoptext

Is this really intended?


typo in

\unexpanded\def\sethyphenationfeatures[#1]%
  {\clf_sethyphenationfeatures{#1}}
___
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] extra space in footnotes (XML)

2015-03-28 Thread Pablo Rodriguez
Hi Hans,

the issue I described in a previous message with extra space with
footnote is related to XML handling:

\startbuffer[demo]
doc
 pText
 a href=#fn1 class=footnoteRef id=fnref1sup1/sup/a and
 a href=#fn2 class=footnoteRef id=fnref2sup2/sup/a
 /p
 div class=footnotes
 hr /
 ol
 li id=fn1pthis is a footnote/p
pthis is a footnote/p
pthis is a footnote/p
a class=footnoteBack href=#fnref1↩/a/li
 li id=fn2pA second footnote.a class=footnoteBack
href=#fnref2↩/a/p/li
 /ol
 /div
/doc
\stopbuffer

\starttext

\startxmlsetups xml:initialize
 \xmlsetsetup{#1}{doc|p}{xml:*}
\xmlsetsetup{\xmldocument}{a[@class='footnoteRef']}{xml:footnote:ref}
\xmlsetsetup{\xmldocument}{div[@class='footnotes']}{}
\xmlsetsetup{\xmldocument}{a[@class='uri']}{xml:autolink}
\xmlsetsetup{\xmldocument}{a[@class='footnoteBack']}{}
\xmlsetsetup{\xmldocument}{a[text()='↩']}{}
\stopxmlsetups

\xmlregistersetup{xml:initialize}

\startxmlsetups xml:doc
 \setuppapersize[A8]
 \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:p
\xmldoifnotselfempty {#1} {
\dontleavehmode
\ignorespaces
\xmlflush{#1}
\removeunwantedspaces
}
\par
\stopxmlsetups
\startxmlsetups xml:footnote:set
 \startfootnote
 \xmlflush{#1}
 \stopfootnote
\stopxmlsetups

\startluacode
 local gsub = string.gsub
 function xml.expressions.idstring(str)
 return type(str) == string and gsub(str,^#,) or 
 end
\stopluacode

\startxmlsetups xml:footnote:ref

\xmlfilter{main}{div[@class='footnotes']/ol/li[@id=idstring('\xmlatt{#1}{href}')]/command(xml:footnote:set)}
\stopxmlsetups

\xmlprocessbuffer{main}{demo}{}

\stoptext

Beta from 2015.03.28 16:30 adds an unwanted empty paragraph after each
footnote. Previous beta from 2015.03.25 22:13 added no extra space.

Is this a bug or how should I change my definition of xml:p?

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] extra space in footnotes (XML)

2015-03-28 Thread Hans Hagen

On 3/28/2015 9:50 PM, Pablo Rodriguez wrote:

Hi Hans,

the issue I described in a previous message with extra space with
footnote is related to XML handling:


more to the \par which also affected tex input .. fixed

-
  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] undefined \sethyphenationfeatures?

2015-03-28 Thread Pablo Rodriguez
On 03/28/2015 07:53 PM, Hans Hagen wrote:
 On 3/28/2015 7:29 PM, Pablo Rodriguez wrote:
 Hans,

 I”m afraid that beta from 2015.03.28 16:30 removes \sethyphenationfeatures:
 [...]
 Is this really intended?
 
 typo in
 
 \unexpanded\def\sethyphenationfeatures[#1]%
{\clf_sethyphenationfeatures{#1}}

Many thanks for the fast fix, Wolfgang and Hans.


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] Bug in the latest beta: \frac

2015-03-28 Thread Otared Kavian
Hi Hans,

I just tried the new beta (ConTeXt  ver: 2015.03.28 16:30 MKIV beta  fmt: 
2015.3.28  int: english/english)
It gives an error with the following minimal example:

\starttext
\startformula
\frac{2}{4}
\stopformula
\stoptext

The error message is:
\math_frac_command -\cclf_mathfraction 
{\mathfractionparameter \c!rule }\nu...
\math_fraction_inner_normal ...\math_frac_command 
  {\usemathstyleparameter \m...
l.3 \frac{2}{4}


However using \over works fine, as in the following example:

\starttext
\startformula
{1 \over 2}
\stopformula
\stoptext

Best regards: OK

___
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] Figure references seem broken in latest beta

2015-03-28 Thread Robin.Kirkham
 Am 28.03.2015 um 11:09 schrieb robin.kirk...@csiro.au:
 
 Since the latest beta (2015.03.26 22:52 MKIV beta  fmt: 2015.3.28), no 
 figure numbers are being output by at least \in and also 
 \placelistoffigures, although page references seem ok.
 
 Works here.
 
 mtx-context | current version: 2015.03.28 10:30
 
 Wolfgang

Yes, once version 2015.03.28 16:30 arrived here, it came good — Thanks, Robin

Are the version timestamps local time or Dutch time?

___
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] tagging heads and empty output

2015-03-28 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 28 Mar 2015 07:34:32 -0600, Idris Samawi Hamid ادريس سماوي حامد  
isha...@colostate.edu wrote:



Dear gang,
Two issues:

1. What is the proper way to tag heads in itemize? I do

==
\startitemize[n]
\starthead {Head 1}

Test 1
\stophead
\starthead {Head 2}

Test 2
\stophead
\stopitemize
==

but {Head 1} and {Head 2} are not tagged in the output *div.html. Is  
there

a special tagging command for the heads?

2. In a browser, everything within a div class=itemgroup itemize  
level-1

symbol-n etc is ignored (tried different browers); nothing shows up at
all, so nothing to tweak in css.

==
  div class=itemgroup itemize level-1 symbol-n
   div class=item
div class=itemtag1./div
div class=itemcontentHead 1 div
class=break!--empty--/div
Test 1/div
   /div
   div class=item
div class=itemtag2./div
div class=itemcontentHead 2 div
class=break!--empty--/div
Test 2/div
   /div
  /div
==

Is there something wrong with context's xhtml output? test files attached


Ok, I figured it out. Attached are working files for the record, as well  
as sources below.


Also, it seems there is no tagging for the first argument to  
\start-stophead. A simple


\definestartstop[heading][style=]

does the trick, and may be worth adding to the distribution.

Best wishes
Idris

=
\setupexport[cssfile=itemize.css]
\setupbackend[export=yes]

\setupitemize[each][headstyle=bold]
\definestartstop[heading][style=]

\starttext
Text

\startitemize[n]
\starthead {\startheading Head 1 \stopheading}

Test 1
\stophead
\starthead {\startheading Head 2 \stopheading}

Test 2
\stophead
\stopitemize

\startitemize[n]
\startitem[] Text \stopitem
\startitem[] Text \stopitem
\stopitemize

\startitemize
\starthead {\startheading Head 1 \stopheading}

Test 3
\stophead
\starthead {\startheading Head 2 \stopheading}

Test 4
\stophead
\stopitemize
\stoptext
=
.itemgroup.itemize.level-1.symbol-n {
display   : block ;
margin-bottom : 0.5em ;
margin-top: 0.5em ;
}

.itemgroup.itemize.level-1.symbol-n  .item{
display   : block ;
}

.itemgroup.itemize.level-1.symbol-n  .item  .itemtag {
display   : inline ;
font-weight : normal ;
margin-right: 1em ;
}

.itemgroup.itemize.level-1.symbol-1  .item{
display   : block ;
}

.itemgroup.itemize.level-1.symbol-1  .item  .itemtag {
display   : inline ;
font-weight : normal ;
margin-right: 1em ;
}

.itemgroup.itemize.level-1.symbol-1  .item  .itemcontent {
display   : inline ;
}

.construct.heading {
display   : inline ;
font-weight : bold ;
}

.itemgroup.itemize.level-1.symbol-n  .item  .itemcontent {
display   : inline ;
}
=

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

test-itemize-export.tex
Description: TeX document


test-itemize-export.pdf
Description: Adobe PDF document


test-itemize-export-div.xhtml
Description: application/xhtml
/*

	author: Idris Samawi Hamid (derived from Hans Hagen's example-export.css)
	copyright : 
	license   : 
	comment   : 

*/

/* ignore  : mixed   */
/* metadata: display */



body {
	font-family: TeXGyreSchola, DejaVu Serif, Lucida Bright, serif ;
}


.itemgroup.itemize.level-1.symbol-n {
	display   : block ;
	margin-bottom : 0.5em ;
	margin-top: 0.5em ;
}

.itemgroup.itemize.level-1.symbol-n  .item{
	display   : block ;
}

.itemgroup.itemize.level-1.symbol-n  .item  .itemtag {
	display   : inline ;
	font-weight : normal ;
	margin-right: 1em ;
}

.itemgroup.itemize.level-1.symbol-1  .item{
	display   : block ;
}

.itemgroup.itemize.level-1.symbol-1  .item  .itemtag {
	display   : inline ;
	font-weight : normal ;
	margin-right: 1em ;
}

.itemgroup.itemize.level-1.symbol-1  .item  .itemcontent {
	display   : inline ;
}

.construct.heading {
	display   : inline ;
	font-weight : bold ;
}

.itemgroup.itemize.level-1.symbol-n  .item  .itemcontent {
	display   : inline ;
}

.m:math {
	display: inline ;
}

.m:mo {
	display: inline ;
}
 ___
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] Frame and rulethickness

2015-03-28 Thread Fabrice Couvreur
Hi,
Is it possible to have a different line thickness right and bottom ?
Best regards,
Fabrice


\defineframed
  [ACFRAME]
  [topframe=off,
   bottomframe=on,
   rightframe=off,
   leftframe=on,
   framecolor=green,
   rulethickness=2pt,
   width=fit,
   align=flushleft,
   location=low,
   background=color,
   backgroundcolor=lightgray]

\defineenumeration
  [exemple]
  [text={Exemple},
   headstyle={\bf\feature[+][f:smallcaps]},
   headcommand=\ACFRAME,
   numberconversionset=ACCONVERSION,
   inbetween={\blank[big]},
   ]

\starttext
\startexemple
\dorecurse{10}{blabla}
\stopexemple
\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] Frame and rulethickness

2015-03-28 Thread Wolfgang Schuster

 Am 28.03.2015 um 12:06 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com:
 
 Hi,
 Is it possible to have a different line thickness right and bottom ?
 Best regards,
 Fabrice
 
 
 \defineframed
   [ACFRAME]
   [topframe=off,
bottomframe=on,
rightframe=off,
leftframe=on,
framecolor=green,
rulethickness=2pt,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray]
 
 \defineenumeration
   [exemple]
   [text={Exemple},
headstyle={\bf\feature[+][f:smallcaps]},
headcommand=\ACFRAME,
numberconversionset=ACCONVERSION,
inbetween={\blank[big]},
]
 
 \starttext
 \startexemple
 \dorecurse{10}{blabla}
 \stopexemple
 \stoptext

Use MetaPost.

\startuseMPgraphic{ACFRAME}
fill OverlayBox withcolor \MPcolor{lightgray} ;
draw leftboundary   OverlayBox withpen pencircle scaled 2pt withcolor 
\MPcolor{green} ;
draw rightboundary  OverlayBox withpen pencircle scaled 3pt withcolor 
\MPcolor{green} ;
draw bottomboundary OverlayBox withpen pencircle scaled 1pt withcolor 
\MPcolor{green} ;
clip currentpicture to OverlayBox leftenlarged 1pt rightenlarged 1.5pt 
bottomenlarged 0.5pt ;
\stopuseMPgraphic

\defineoverlay[ACFRAME][\useMPgraphic{ACFRAME}]

\defineframed
  [ACFRAME]
  [frame=off,
   background=ACFRAME]

\starttext
\ACFRAME{ Example }
\stoptext

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
___

[NTG-context] tagging heads and empty output

2015-03-28 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear gang,
Two issues:

1. What is the proper way to tag heads in itemize? I do

==
\startitemize[n]
\starthead {Head 1}

Test 1
\stophead
\starthead {Head 2}

Test 2
\stophead
\stopitemize
==

but {Head 1} and {Head 2} are not tagged in the output *div.html. Is there  
a special tagging command for the heads?


2. In a browser, everything within a div class=itemgroup itemize level-1  
symbol-n etc is ignored (tried different browers); nothing shows up at  
all, so nothing to tweak in css.


==
 div class=itemgroup itemize level-1 symbol-n
  div class=item
   div class=itemtag1./div
   div class=itemcontentHead 1 div  
class=break!--empty--/div

Test 1/div
  /div
  div class=item
   div class=itemtag2./div
   div class=itemcontentHead 2 div  
class=break!--empty--/div

Test 2/div
  /div
 /div
==

Is there something wrong with context's xhtml output? test files attached  
and


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

test-itemize-export-div.xhtml
Description: application/xhtml


test-itemize-export.tex
Description: TeX document
/*

	author: Idris Samawi Hamid (derived from Hans Hagen's example-export.css)
	copyright : 
	license   : 
	comment   : 

*/

/* ignore  : mixed   */
/* metadata: display */



body {
	font-family: TeXGyreSchola, DejaVu Serif, Lucida Bright, serif ;
}



 ___
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] tagging a startstop

2015-03-28 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear syndicate,

We have \definehighlight[tagged][style=] so that

\tagged{arg}

tags the argument. Analogously: Is there a general facility to tag  
startstops? I played around with \dostarttagged etc but could not get it  
to work (too low-level for me I guess). What would be nice is to be able  
to say, e.g.


\definestartstop[TAG][tag=div] % or tag=construct etc.

so that my startstop also generates tags in the xhtml. Is there already a  
way to do this?


Thanks and Best Wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] tagging a startstop

2015-03-28 Thread Wolfgang Schuster

 Am 28.03.2015 um 19:18 schrieb Idris Samawi Hamid ادريس سماوي حامد 
 isha...@colostate.edu:
 
 Dear syndicate,
 
 We have \definehighlight[tagged][style=] so that
 
 \tagged{arg}
 
 tags the argument. Analogously: Is there a general facility to tag 
 startstops? I played around with \dostarttagged etc but could not get it to 
 work (too low-level for me I guess). What would be nice is to be able to say, 
 e.g.
 
 \definestartstop[TAG][tag=div] % or tag=construct etc.
 
 so that my startstop also generates tags in the xhtml. Is there already a way 
 to do this?

Commands created with \definestartstop already add tags, is there something 
wrong with them?

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
___

[NTG-context] undefined \sethyphenationfeatures?

2015-03-28 Thread Pablo Rodriguez
Hans,

I”m afraid that beta from 2015.03.28 16:30 removes \sethyphenationfeatures:

\setuphyphenation[method=traditional]
\sethyphenationfeatures[strict]
\starttext
\input zapf
\stoptext

Is this really intended?

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] footnotes broken in latest beta?

2015-03-28 Thread Pablo Rodriguez
On 03/28/2015 10:21 AM, Hans Hagen wrote:
 On 3/28/2015 7:55 AM, Pablo Rodriguez wrote:
 [...]
 What I see in the new beta is that with one of my documents blank
 between footnotes is much higher than in the previous beta from
 2015.03.25 22:13. But I will provide a minimal sample later.

 Since you are changing so many things in notes, I wonder whether this is
 the right time to ask for a feature.
 
 most changes are in the lua-tex interface not in functionality .. if so 
 then there is an issue

Many thanks for your reply, Hans.

I’ll open a new thread for that issue (I need to have the next beta
fixed first).

 Just in case it were, I would suggest the following:
 
 remind me later

How late? In a week?

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] undefined \sethyphenationfeatures?

2015-03-28 Thread Wolfgang Schuster

 Am 28.03.2015 um 19:29 schrieb Pablo Rodriguez oi...@gmx.es:
 
 Hans,
 
 I”m afraid that beta from 2015.03.28 16:30 removes \sethyphenationfeatures:
 
\setuphyphenation[method=traditional]
\sethyphenationfeatures[strict]
\starttext
\input zapf
\stoptext
 
 Is this really intended?

There is a typo in lang-hyp.mkiv, change

\unexpanded\def\sethyphenationfeatures[#1]%
  {\cclf_sethyphenationfeatures{#1}}

to

\unexpanded\def\sethyphenationfeatures[#1]%
  {\clf_sethyphenationfeatures{#1}}

and remake (context --make) the format.

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
___

[NTG-context] Figure references seem broken in latest beta

2015-03-28 Thread Robin.Kirkham
Since the latest beta (2015.03.26 22:52 MKIV beta  fmt: 2015.3.28), no figure 
numbers are being output by at least \in and also \placelistoffigures, although 
page references seem ok.

Robin


\starttext

\startplacefigure[location=bottom,reference=cow]
\externalfigure[cow]
\stopplacefigure

\in{Figure}[cow] on \at{page}[cow] shows a fine cow.

\placelistoffigures[alternative=c]

\stoptext





fignum.pdf
Description: fignum.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
___

Re: [NTG-context] Change behavior for \getbuffer

2015-03-28 Thread Hans Hagen

On 3/28/2015 1:50 AM, Rik Kabel wrote:

The behavior of \getbuffer has changed with the new beta. With the
following sample code, one line of text is produced with the 2015-03-25
beta. Two lines of text are produced with the more recent betas.

\startbuffer
A
\stopbuffer
\starttext
A \getbuffer
\stoptext


fixed

-
  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] Figure references seem broken in latest beta

2015-03-28 Thread Wolfgang Schuster

 Am 28.03.2015 um 11:09 schrieb robin.kirk...@csiro.au:
 
 Since the latest beta (2015.03.26 22:52 MKIV beta  fmt: 2015.3.28), no figure 
 numbers are being output by at least \in and also \placelistoffigures, 
 although page references seem ok.

Works here.

mtx-context | current version: 2015.03.28 10:30

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] footnotes broken in latest beta?

2015-03-28 Thread Pablo Rodriguez
On 03/27/2015 09:37 PM, Hans Hagen wrote:
 On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:
 Hans,

 I’m afraid that footnotes are broken in latest beta from 
 2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

 Both numbers in body and footnote are missing.

 Many thanks for your help,
 
 i uploaded a beta ... with a few more things done in notes (some 1000 
 changes to go)
 
 thanks for testing

Many thanks for the fast fix, Hans.

What I see in the new beta is that with one of my documents blank
between footnotes is much higher than in the previous beta from
2015.03.25 22:13. But I will provide a minimal sample later.

Since you are changing so many things in notes, I wonder whether this is
the right time to ask for a feature.

Just in case it were, I would suggest the following:

\setuplanguage[en][patterns={en,agr}]
\setuppapersize[A5]
\setupbodyfont[dejavu]
\definenote[dict]
\setupnote[dict][n=2,rule=off, split=strict, inbetween=\hskip1.5em]
\setupnotation[dict][number=no]
\starttext
Πρῶτον δεῖ θέσθαι τί ὄνομα\dict{ὄνομα,
-ατος, τό: noun} καὶ τί ῥῆμα\dict{ῥῆμα, -ατος, τό: verb},
ἔπειτα τί ἐστιν
ἀπόφασις\dict{ἀπόφασις, -εως, ἡ: negation}
καὶ κατάφασις\dict{κατάφασις, εως, ἡ:
affirmation} καὶ ἀπόφανσις\dict{ἀπόφανσις,
-εως, ἡ: statement} καὶ λόγος.
\stoptext

Alphabetically sorted notes would be extremely useful for language teaching?

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] Change behavior for \getbuffer

2015-03-28 Thread Alan BRASLAU
On Fri, 27 Mar 2015 20:50:52 -0400
Rik Kabel cont...@rik.users.panix.com wrote:

 The behavior of \getbuffer has changed with the new beta. With the 
 following sample code, one line of text is produced with the
 2015-03-25 beta. Two lines of text are produced with the more recent
 betas.
 
 \startbuffer
 A
 \stopbuffer
 \starttext
 A \getbuffer
 \stoptext
 

I have noticed this, too.

Furthermore,

\startbuffer
B
\stopbuffer

\starttext
A \inlinebuffer
\stoptext

*also* produces

A
B

and

A \quote{\inlinebuffer}

produces

A `
B´


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
___

Re: [NTG-context] footnotes broken in latest beta?

2015-03-28 Thread Hans Hagen

On 3/28/2015 7:55 AM, Pablo Rodriguez wrote:

On 03/27/2015 09:37 PM, Hans Hagen wrote:

On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

Hans,

I’m afraid that footnotes are broken in latest beta from
2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

Both numbers in body and footnote are missing.

Many thanks for your help,


i uploaded a beta ... with a few more things done in notes (some 1000
changes to go)

thanks for testing


Many thanks for the fast fix, Hans.

What I see in the new beta is that with one of my documents blank
between footnotes is much higher than in the previous beta from
2015.03.25 22:13. But I will provide a minimal sample later.

Since you are changing so many things in notes, I wonder whether this is
the right time to ask for a feature.


most changes are in the lua-tex interface not in functionality .. if so 
then there is an issue



Just in case it were, I would suggest the following:


remind me later

-
  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 after updating TeXlive 2014

2015-03-28 Thread Fabrice

Hi Hans,
I use the latest context standalone distribution, and it's ok.
Best regards,
Fabrice


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