Re: [NTG-context] Footnotes in xtables

2019-04-30 Thread Clyde Johnston
I think I can live with this solution.  Thanks very much.

-Original Message-
From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Otared Kavian
Sent: Tuesday, April 30, 2019 10:46 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Footnotes in xtables

Hi Clyde,

In order to use footnotes in tables, you can use localfootnotes as in the 
following:

\startlocalfootnotes
\startxtable
\startxrow
\startxcell Alpha \stopxcell
\startxcell Beta\footnote{Footnote Here} \stopxcell
\stopxrow
\startxrow
\startxcell Beta \stopxcell
\startxcell Alpha\stopxcell
\stopxrow
\stopxtable
\placelocalfootnotes
\stoplocalfootnotes

Then the footnotes appear below the table.

However it seems that the localfootnotes mechanism is conflicting with 
\startpalectable...\stoplacetable.

Best regards: OK

> On 30 Apr 2019, at 08:33, Clyde Johnston  wrote:
> 
> How do you get footnotes to work in xtables?  I get the superscript next to 
> the text but the footnote does not appear at the bottom of the page.
>  
> Thanks, Clyde
>  
> MWE:
>  
> \starttext
> \startxtable
> \startxrow
> \startxcell Alpha \stopxcell
> \startxcell Beta\footnote{Footnote Here} \stopxcell
> \stopxrow
> \startxrow
> \startxcell Beta \stopxcell
> \startxcell Alpha\stopxcell
> \stopxrow
> \stopxtable
> \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://context.aanhet.net 
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net archive  : 
https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Footnotes in xtables

2019-04-30 Thread Clyde Johnston
How do you get footnotes to work in xtables?  I get the superscript next to
the text but the footnote does not appear at the bottom of the page.

 

Thanks, Clyde

 

MWE:

 

\starttext

\startxtable

\startxrow

\startxcell Alpha \stopxcell

\startxcell Beta\footnote{Footnote Here} \stopxcell

\stopxrow

\startxrow

\startxcell Beta \stopxcell

\startxcell Alpha\stopxcell

\stopxrow

\stopxtable

\stoptext



mwe.pdf
Description: Adobe PDF document
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
Thanks Wolfgang.  This is exactly what I was looking for and thanks for the
explanatory notes on the inter-column width.  New knowledge is always good!
:-D

I put braces around the contents of the items to make them consistent with
\starthead command which does not seem to contain the headstyle setting in
\startitemize to the head block.

Do I need braces for \starthead but not for \startitem?

\showframe

\starttext
\startitemize[n,3*broad,repeat][headstyle={\bf}]
\starthead A header \stophead
\startitemize[n,3*broad]
\startitem
\input ward
\starttabulate[|cp(.25\localhsize)|cp|]
\HL
\NC Column A \NC Column B \NC \NR
\HL
\NC 1 \NC 2 \NC \NR
\NC 2 \NC 3 \NC \NR
\NC 3 \NC 4 \NC \NR
\NC 4 \NC 5 \NC \NR
\NC 5 \NC 6 \NC \NR
\BL
\stoptabulate
\input ward
\stopitem
\startitemize[n,3*broad]
\stopitemize
\stoptext



-Original Message-
From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] 
Sent: Thursday, February 28, 2019 12:13 AM
To: mailing list for ConTeXt users; Clyde Johnston
Subject: Re: [NTG-context] Setting tabulate table width with \textwidth
inside an item group

Clyde Johnston schrieb am 27.02.19 um 22:49:
> Dear List:
> 
> I have a tabulate table inside an indented item group and I would like 
> to set the width of the table to the \hbox size of the surrounding 
> text.  If I use \textwidth as a width parameter, the table spills into 
> the right margin (see attached).
> 
> What is the correct parameter to use to set the width of the table to 
> the width of the text in the item group?
> 
> _MWE_
> 
> \starttext
> 
> \showframe
> 
> \startitemize[n,3*broad]
> 
>      \startitem{%
> 
>      \input ward
> 
>      \starttabulate[|cp(.25\textwidth)|cp(.75\textwidth)|]
> 
>      \HL
> 
>      \NC Column A \NC Column B \NC \NR
> 
>      \HL
> 
>      \NC 1 \NC 2 \NC \NR
> 
>      \NC 2 \NC 3 \NC \NR
> 
>      \NC 3 \NC 4 \NC \NR
> 
>      \NC 4 \NC 5 \NC \NR
> 
>      \NC 5 \NC 6 \NC \NR
> 
>      \BL
> 
>      \stoptabulate
> 
>      \input ward
> 
>      }
> 
>      \stopitem
> 
> \stopitemize
> 
> \stoptext


1. There is a space between the columns which has to taken into account when
you set the width of the columns, in your example your tables has a width of
textwidth plus the distance between the columns.

2. \textwidth doesn’t in the argument for the items but you can use the
\localhsize length to get the current width of the text block.

3. You can let ConTeXt calculate the width of the second column which saves
you from guessing the needed value for the column width.

4. You don’t need braces around the content for the items.

\showframe

\starttext

\startitemize[n,3*broad]
 \startitem
 \input ward
 \starttabulate[|cp(.25\localhsize)|cp|]
 \FL
 \NC Column A \NC Column B \NC \NR
 \ML
 \NC 1 \NC 2 \NC \NR
 \NC 2 \NC 3 \NC \NR
 \NC 3 \NC 4 \NC \NR
 \NC 4 \NC 5 \NC \NR
 \NC 5 \NC 6 \NC \NR
 \LL
 \stoptabulate
 \input ward
 \stopitem
\stopitemize

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
Dear List:

 

I have a tabulate table inside an indented item group and I would like to
set the width of the table to the \hbox size of the surrounding text.  If I
use \textwidth as a width parameter, the table spills into the right margin
(see attached).

 

What is the correct parameter to use to set the width of the table to the
width of the text in the item group?

 

MWE

 

\starttext

\showframe

\startitemize[n,3*broad]

\startitem{%

\input ward

\starttabulate[|cp(.25\textwidth)|cp(.75\textwidth)|]

\HL

\NC Column A \NC Column B \NC \NR

\HL

\NC 1 \NC 2 \NC \NR

\NC 2 \NC 3 \NC \NR

\NC 3 \NC 4 \NC \NR

\NC 4 \NC 5 \NC \NR

\NC 5 \NC 6 \NC \NR

\BL

\stoptabulate

\input ward

}

\stopitem

\stopitemize

\stoptext

 

Thanks,

Clyde

 



mwe.pdf
Description: Adobe PDF document
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Headings vs. enumerations

2019-02-01 Thread Clyde Johnston
Thanks Wolfgang.  The problem I had with using headers was maintaining the
numbers for the headings and clauses.  I was able to solve this with the
[prefix=yes] option for the itemizegroup.

Here is a solution (for anyone else) that achieves what I want:

\starttext
\placecontent[alternative=c]

\chapter{A heading}

\startitemize[n,repeat,2*broad][prefix=yes]
\starthead{A sub-heading}\stophead
Optional intro text here:
\startitemize[n,repeat,3*broad][prefix=yes]
\item \input knuth
\item \input tufte
\stopitemize
\starthead{Another sub-heading}\stophead
\startitemize[n,repeat,3*broad][prefix=yes]
\item A short clause
\stopitemize
\stopitemize

\chapter {A new heading}

\startitemize[n,repeat,2*broad][prefix=yes]
\starthead{A sub-heading}\stophead
\startitemize[n,repeat,3*broad][prefix=yes]
\item \input knuth
\stopitemize
\stopitemize

\stoptext

I suppose I could make the sub-heading a \section too.  I just need to check
my document that all level two items are heading.

Thanks,
Clyde


-Original Message-
From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] 
Sent: Friday, February 01, 2019 12:14 AM
To: mailing list for ConTeXt users; Clyde Johnston
Subject: Re: [NTG-context] Headings vs. enumerations

Clyde Johnston schrieb am 31.01.19 um 21:07:
>
> I have a document that contains a numbered enumeration that spans 107 
> pages – it’s a legal document where \items are clauses.  I would like 
> to put level one of the enumeration in a table of contents.
>
> I have read the available documentation but I am not clear whether I 
> should make level one headers, whether I can utilise the \starthead in 
> \startitemize or whether I can create a list from the level one 
> headings to create the table of contents.
>
> How is best to tackle this problem?
>

The best solution is to use real headers and drop the enumerations.

You can hide disable parts (e.g. the chapter number) of the section counter
to get the same results as you have with your current solution.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Headings vs. enumerations

2019-01-31 Thread Clyde Johnston
I have a document that contains a numbered enumeration that spans 107 pages
- it's a legal document where \items are clauses.  I would like to put level
one of the enumeration in a table of contents.

 

I have read the available documentation but I am not clear whether I should
make level one headers, whether I can utilise the \starthead in
\startitemize or whether I can create a list from the level one headings to
create the table of contents.

 

How is best to tackle this problem?

 

Thanks,

Clyde

 

MWE #1:

 

\starttext

\placecontent[alternative=c]

 

\startitemize[n,repeat]

\starthead{A heading}\stophead

 

\startitemize[n,repeat,2*broad]

\starthead{A sub-heading}\stophead

\startitemize[n,repeat,3*broad]

\item \input knuth

\stopitemize

\stopitemize

\stoptext

 

MWE #2:

 

\starttext

\placecontent[alternative=c]

 

\chapter{A heading}

 

\startitemize[n,repeat,2*broad]

\starthead{A sub-heading}\stophead

\startitemize[n,repeat,3*broad]

\item \input knuth

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Automatic thousands separation in \unit

2019-01-31 Thread Clyde Johnston
Maybe this should be a language specific parameter.  How would you achieve a
similar result with the Indian numbering system
 , for instance?

 

Also, decimal and thousands separators vary from country to country.  In
France, for example, they use the comma for the decimal separator, and space
for the thousand separator.

 

Clyde

 

 

From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Otared
Kavian
Sent: Thursday, January 31, 2019 2:43 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Automatic thousands separation in \unit

 

Hi Marco,

 

Can this give what you wish?

 

\define[2]\myunit{\spaceddigits{#1}\unit{#2}}

\starttext 

\myunit{123456789}{volt}

\stoptext

 





On 31 Jan 2019, at 13:28, Marco Patzer  wrote:

 

Hi!

I'm wondering if there's a way to have automatic thousands separation in the
\unit command? \spaceddigits does that, but it doesn't work inside \unit.
And
using both would be quite verbose to write. Example:

\starttext
 %% no thousands separation
 \unit{123456789 volt}

 %% manual thousands separation works
 \unit{123,456,789 volt}

 %% automatic thousands separation, but not using \unit
 \let\spaceddigitsseparator,
 \spaceddigits{123456789}\,V

 %% fails, no output
 \unit{\spaceddigits{123456789} volt}
\stoptext

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] New logo proposal

2019-01-29 Thread Clyde Johnston
The design is new, interesting and refreshing but being a traditionalist, I 
can't help think that it steps a little too far away from its TeX roots.  
ConTeXt is a derivation of TeX, a creation of Donald Knuth.  Here is what he 
said about the logo for TeX:

  "English words like 'technology' stem from a Greek root beginning with the 
letters τεχ...; and this same Greek word means art as well as technology.  
Hence the name TeX, which is an uppercase for of τεχ."

And:

  "... it's important to notice another thing about TeX's name: The 'E' is out 
of kilter. This displaced 'E' is a reminder that TeX is about typesetting, and 
it distinguishes TeX from other system names."

The new design loses this characteristic and therefore does not distinguish it 
"from other system names".  The same could be said for the unofficial logo on 
wiki.

Personally, I think the ConTeXt logo should maintain the link with TeX and its 
design principles.  After all, that is how ConTeXt derived its name and 
functionality.  But this is just my opinion!

Clyde


-Original Message-
From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Paul Schalck
Sent: Tuesday, January 29, 2019 1:18 AM
To: ntg-context@ntg.nl
Subject: [NTG-context] New logo proposal

Dear ConTeXt users and developers,

I want to submit a new ConTeXt logo to you (link to GitLab project):

https://gitlab.com/schickele/new-context-logo

I made this logo in February 2018. At the time, I was planning to do some video 
tutorials on ConTeXt (still work in progress), and I wanted a nice looking 
visual clue for the thumbnails. Recently, I made a few minor tweaks and thought 
it would be the right time to put it out there.

The logo comes in two different layouts (hexagonal and horizontal), and each 
layout comes in two color variations (multicolored and blue).

The hexagonal layout is borrowed from the unofficial ConTeXt logo that has been 
around for some time. I like the idea of a clean geometrical form, and the 
hexagon reminds me of chemistry formulas -- one of the many application fields 
of ConTeXt.

The seven colors have mainly an esthetic purpose. They also denote the 
flexibility of ConTeXt. I've added a monochromatic blue version because shiny, 
saturated colors are not suitable for every case, and blue is strongly 
associated with ConTeXt to me. Blue is also a reminder of Mark IV and LuaTeX.

The letters are set in Din17 EF, which I've licensed. I like its simple shapes 
combined with a round and soft touch. It avoids consciously the very connoted 
Computer Modern and can be seen as a modernized and also Europeanized 
interpretation of the TeX tradition.

This logo is just a humble proposal. Perhaps it is of some use to someone. It 
could also make someone else want to create and share his or her logo -- that 
would be great.

I'm using ConTeXt since 2006/07 for almost everything that contains text: 
letters, presentations, invitations, résumés, certificates, manuals, reports, 
flyers, university papers, book typesetting, exercise sheets, song sheets, and 
I'm still amazed by how powerful, flexible and reliable it is. Thanks to the 
whole community -- and particularly to the Dutch wizard -- for making this 
possible!

Greetings from Leimen, Germany

Paul Schalck
___
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://context.aanhet.net archive  : 
https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Installation on a PC

2018-11-28 Thread Clyde Johnston
I am planning to update the installation instructions on the ConTeXt 
Garden Wiki.  The short answer is: no, not yet.  Are you planning a 
single-user or system-wide installation?  Do you plan to use SciTE or 
some other editor?  Are you using CygWin?  Send me the errors and some 
more details on you installation. I might be able to help.



On 28/11/2018 13:01, Nigel King wrote:

Dear Group,
I am a Mac user and have had many happy years using ConTeXt. I now 
need to install ConTeXt on a PC (Windows) and this has been 
troublesome. Is anybody able to point me to a foolproof method?


(I started this mail with all of our errors but reasoned that somebody 
might know the answer to the more simple question.)


Thanks in advance.
—
Nigel
ni...@nigelking.me.uk 

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] spacing

2018-11-09 Thread Clyde Johnston
> Clearly you haven't understood the meaning of “beta”.
> If you don't want your documents to break, don't update.

Does ConTeXt have an LTS (long-term stable) release?


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typesetting abbreviations

2018-10-28 Thread Clyde Johnston
This is very insightful.  I am not a professional typographer but to my eye,
the problem is really with the period.  It should really be treated as a
modification to the previous character rather than a separate full-stop
character.  This way the spacing would work as designed.

 

\setuppapersize[A8]

 

\starttext

 

Mr. \vrule John Doe

 

Mr\kern-.1em.~\vrule John Doe

 

\setuplanguage [en] [spacing=packed]

 

Mr. \vrule John Doe

 

Mr\kern-.1em.~\vrule John Doe

\stoptext

 

Maybe this would be better handled with a macro.

 

Clyde

 

From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] 
Sent: Sunday, October 28, 2018 11:54 AM
To: mailing list for ConTeXt users; Clyde Johnston
Subject: Re: [NTG-context] Typesetting abbreviations

 

You can disable the bigger space at the end of a sentence with the spacing
key from \setuplanguage but as you can see from the example below ~ creates
a normal space.

\setuppapersize[A8]

\starttext

Mr. \vrule John Doe

Mr.~\vrule John Doe

Mr.\nobreakspace\vrule John Doe

Mr.\ \vrule John Doe

Mr.\narrownobreakspace\vrule John Doe

\blank

Mr. \vrule John Doe

\setuplanguage [en] [spacing=packed]

Mr. \vrule John Doe

\stoptext

Wolfgang


Clyde Johnston schrieb am 27.10.18 um 23:04:



What is the correct way to typeset an abbreviation in ConTeXt?  The space
after the full stop seems too big and if I use \thinspace, I cannot use
ties.

 

No command - space is too big

\starttext

Mr. John Doe

\stoptext

 

With tie - space is too big

\starttext

Mr.~John Doe

\stoptext

 

With \thinspace - looks right except at an end of line

\starttext

Mr.\thinspace John Doe

\stoptext

 

Any suggestions are welcome!

 

Thanks,

Clyde







___
If your question is of interest to others as well, please add an entry to
the Wiki!
 
maillist :  <mailto:ntg-context@ntg.nl> ntg-context@ntg.nl /
<http://www.ntg.nl/mailman/listinfo/ntg-context>
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  :  <http://www.pragma-ade.nl> http://www.pragma-ade.nl /
<http://context.aanhet.net> http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Typesetting abbreviations

2018-10-27 Thread Clyde Johnston
What is the correct way to typeset an abbreviation in ConTeXt?  The space
after the full stop seems too big and if I use \thinspace, I cannot use
ties.

 

No command - space is too big

\starttext

Mr. John Doe

\stoptext

 

With tie - space is too big

\starttext

Mr.~John Doe

\stoptext

 

With \thinspace - looks right except at an end of line

\starttext

Mr.\thinspace John Doe

\stoptext

 

Any suggestions are welcome!

 

Thanks,

Clyde

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] wiki issue

2018-09-27 Thread Clyde Johnston
You may also want to check the links to h2o-books.com under "Physical Books".  
I notice they are returning "URL not found" errors.

-Original Message-
From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Taco 
Hoekwater
Sent: Thursday, September 27, 2018 10:13 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] wiki issue

Hi,

> On 25 Sep 2018, at 21:21, Floris van Manen  wrote:
> 
> got an error while searching for a keyword
> 
> https://wiki.contextgarden.net/index.php?title=Special%3ASearch
> =placebuffer=Go
> 
> [966e839e01d0a232c888254a] 
> /index.php?title=Special%3ASearch=placebuffer=Go 
> Wikimedia\Rdbms\DBQueryError from line 1457 of 
> /var/www/contextgarden.net/newwiki/htdocs/includes/libs/rdbms/database/Database.php:
>  A database query error has occurred. Did you forget to run your 
> application's database schema updater after upgrading?
> Query: SHOW GLOBAL VARIABLES LIKE 'ft\_min\_word\_len'
> Function: SearchMySQL::minSearchLength
> Error: 1682 Native table 'performance_schema'.'global_variables' has 
> the wrong structure (localhost)

I am investigating this error. Seems there was a problem upgrading the 
databases.


Best wishes,
Taco


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net archive  : 
https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Estonian language support

2018-09-11 Thread Clyde Johnston
I am clear whether Estonian (language code: et) is supported in ConTeXt.
According to the manual ("languages-mkiv.pdf"), I should be able to see the
installed languages using \showinstalledlanguages.  Unfortunately, it does
not seem to produce the desired table.

 

However, a scan through the source code shows existence of
'./texmf-context/tex/context/patterns/mkiv/lang-et.lua' file.  It looks like
much of the work, such as hyphenation, has been already done.

 

MWE 1:

\usemodule[languages-system]

\loadinstalledlanguages

\showinstalledlanguages

 

MWE 2:

\starttext

\language[et]

\currentlanguage

\stoptext

 

I suppose my question is more general: what information does the user need
to provide in order for a language to get support in ConTeXt?  The manual
states "More languages can be defined. It is up to users to provide the
information."

 

Thanks,

Clyde

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___