Re: [NTG-context] Regular online meet-up

2021-11-04 Thread Clyde Johnston via ntg-context
Last time I was at the ConTeXt conference, a few years back, there was talk 
about "monetization" of ConTeXt.  In other words, using ConTeXt to generate 
revenue.  I was wondering if this is still on the agenda.  Perhaps we could 
have a discussion on how to achieve this.  I have one possible idea but I would 
need some feedback from the more experienced members to ascertain its viability.

Clyde


-Original Message-
From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Henning 
Hraban Ramm via ntg-context
Sent: Tuesday, November 02, 2021 10:41 PM
To: mailing list for ConTeXt users
Cc: Henning Hraban Ramm
Subject: [NTG-context] Regular online meet-up

You’re invited to join next Tuesday, November 9th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans offered to give a Q session again – please announce subjects you’d like 
to discuss ASAP, so that he can prepare.


From my part:

I will show off the novel that I’m sending to the printshop tomorrow. Typeset 
with extreme HZ...
A first run of these 332 pages needed just 33s on my old Mac – ConTeXt LMTX is 
fast! (In comparison: a first latexmk run of my short DTK article about the 
ConTeXt meeting, using the DTK LaTeX class, needed more than a minute. My 
ConTeXt book though, now at 298 pages and using *all* the features, needs ~8 
min for a first run.)

Also, I’m playing with different SyncTeX parsers for a LaTeX project, maybe 
there’s something to show/discuss next week. (SyncTeX *is* convenient with 
bigger projects! Using MuPDF lib, it should even be possible to combine SyncTeX 
information with PDF annotations to get corrections from PDF into ConTeXt 
sources...)


[Howto]
* No special software installation required; most modern browsers should work 
(WebRTC required).
* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
(Some strings might be different, I see the German interface, you should get 
the main language of your browser.)
* Your microphone is muted if you join. Activate microphone and/or camera with 
the buttons at the bottom.
* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make yourself 
the presenter: Click on your user name, change the setting, then you’ll see the 
"screen sharing" button beside the camera button; also there’s now "manage 
presentations" behind the "plus" button. Beware there is only one presenter, so 
don’t kill someone else’s presentation.

[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on your 
side, e.g. with mobile connections.
* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), call 
+49-6151-86275-22 (German landline); then you must enter a PIN that changes 
every time – if you need it, ask me for it via email. Mute/unmute your 
microphone with "0".

[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable with 
anonymous lurkers.
* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

Next time will be December 14th.

See you, Hraban

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

2021-01-25 Thread Clyde Johnston
I can no longer print the footnotes when I using columns in LTMX.  If I
remove the \{start|stop}columns, it works fine.  This works on my old MKIV
2018.07.02 14:39 version.

 

\setupcolumns[n=2,rule=off,balance=no]

 

\starttext

  \startcolumns

  \input ward\footnote{A small footnote here}

  \stopcolumns

\stoptext

 

Context Version: 2021.01.24 16:07

 

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] fancybreak module

2021-01-25 Thread Clyde Johnston
Thank you.  It has been a few years since I have done an installation.  I think 
the old installation instructions either installed the modules by default or 
guided me to do so (as I do not remember installing them) whereas the new one 
does not.

I followed the Module installation instructions of LTMX 
(https://wiki.contextgarden.net/Modules) and it is now working.  The only 
difficulty I had is that Windows does not come with "rsync" so I had to run it 
from Linux and then copy it across manually to my PC before running install.bat.

Thanks,
Clyde

PS: I have a few other backward-compatibility issues but I need to take a 
closer look and build MWE for them.

-Original Message-
From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] 
Sent: Monday, January 25, 2021 9:31 PM
To: mailing list for ConTeXt users
Cc: Clyde Johnston
Subject: Re: [NTG-context] fancybreak module

Clyde Johnston schrieb am 25.01.2021 um 19:48:
> Yes, thanks for taking a look.

The following message in the log file (line12)

modules > 'fancybreak' is not found

tells us ConTeXt isn't able to load/find a module with the requested name.


Are you sure the module is installed on your system? Is it possible your 
previous example works because the module is in the same folder as the file for 
the document.

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
___


Re: [NTG-context] fancybreak module

2021-01-25 Thread Clyde Johnston
Yes, thanks for taking a look.

Clyde

-Original Message-
From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang 
Schuster
Sent: Monday, January 25, 2021 8:27 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] fancybreak module

Clyde Johnston schrieb am 25.01.2021 um 18:44:
> Hmm... That did not work for me.  The example on the garden
> (https://wiki.contextgarden.net/Command/setupfancybreak) is not working
> either.  I get a "tex error   > tex error on line 2 in file ./mwe.tex:
> Undefined control sequence" on \setupfancybreak.

Can you show your log-file because the fancybreak module on the wiki provides 
the \setupfancybreak command.

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
___


mwe.log
Description: Binary data


mwe-error.log
Description: Binary data
___
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] fancybreak module

2021-01-25 Thread Clyde Johnston
Hmm... That did not work for me.  The example on the garden
(https://wiki.contextgarden.net/Command/setupfancybreak) is not working
either.  I get a "tex error   > tex error on line 2 in file ./mwe.tex:
Undefined control sequence" on \setupfancybreak.

\usemodule[fancybreak]
\setupfancybreak[symbol=star]

\starttext
  Paragraph
  \fancybreak
  Paragraph
\stoptext

Thanks,
Clyde


-Original Message-
From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] 
Sent: Monday, January 25, 2021 7:22 PM
To: mailing list for ConTeXt users
Cc: Clyde Johnston
Subject: Re: [NTG-context] fancybreak module



Clyde Johnston schrieb am 25.01.2021 um 17:55:
> I just realized that \starbreak was one of my own macros (defined ages 
> ago) so the MWE should be:
> 
> \usemodule[fancybreak]
> 
> \define\starbreak{
>      \fancybreak{
>
\strut\hfill\hfill\symbol[star]\hfill\symbol[star]\hfill\symbol[star]\hfill\
hfill\strut
>      }}

\definesymbol
   [starbreak]
   [\maxaligned\bgroup
  \hfill\hfill
  \strut\symbol{star}\hfill\symbol{star}\hfill\symbol{star}%
  \hfill\hfill
\egroup]

\definefancybreak [starbreak] [symbol=starbreak]

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
___


Re: [NTG-context] fancybreak module

2021-01-25 Thread Clyde Johnston
I just realized that \starbreak was one of my own macros (defined ages ago)
so the MWE should be:

 

\usemodule[fancybreak]

 

\define\starbreak{

\fancybreak{

 
\strut\hfill\hfill\symbol[star]\hfill\symbol[star]\hfill\symbol[star]\hfill\
hfill\strut

}}

 

\starttext

\input ward

\starbreak

\input ward

\stoptext

 

Sorry for the confusion.

 

Clyde

 

 

From: Clyde Johnston [mailto:cl...@johnston.name] 
Sent: Monday, January 25, 2021 6:46 PM
To: mailing list for ConTeXt users (ntg-context@ntg.nl)
Subject: fancybreak module

 

I have finally gotten around to upgrading my ConTeXt installation to LTMX
and found that the \starbreak command in the "fancybreak" module no longer
works.

 

\usemodule[fancybreak]

\starttext

   \input ward

   \starbreak

   \input ward

\stoptext

 

Have I missed something about the LTMX changes?  I was working in version
2018.07.02 14:39 but not in 2021.01.24 16:07.

 

Regards,

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
___


[NTG-context] fancybreak module

2021-01-25 Thread Clyde Johnston
I have finally gotten around to upgrading my ConTeXt installation to LTMX
and found that the \starbreak command in the "fancybreak" module no longer
works.

 

\usemodule[fancybreak]

\starttext

   \input ward

   \starbreak

   \input ward

\stoptext

 

Have I missed something about the LTMX changes?  I was working in version
2018.07.02 14:39 but not in 2021.01.24 16:07.

 

Regards,

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