[NTG-context] Re: distance in \setupinitial

2024-02-09 Thread Henning Hraban Ramm

Am 09.02.24 um 22:06 schrieb Thomas Meyer:

Thank you, Pablo,

next question:
why does it say here
https://wiki.contextgarden.net/Command/setupinitial
default is 0pt?
Why does the information not match?
Crazy!


Either it changed since 2020, or Garulfo just assumed wrongly when they 
wrote it. Anyway, I changed it. You could have done it yourself.


Thank you, Pablo, for looking it up!

Hraban

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: distance in \setupinitial

2024-02-09 Thread Thomas Meyer

Thank you, Pablo,

next question:
why does it say here
https://wiki.contextgarden.net/Command/setupinitial
default is 0pt?
Why does the information not match?
Crazy!


Am 09.02.24 um 20:02 schrieb Pablo Rodriguez via ntg-context:

On 2/9/24 09:53, Thomas Meyer wrote:

Hi folks,

if I understand it correct it is not necessary to set default parameters.
In my example it is a difference to set it or not (distance=0pt should
be default):

Hi Thomas,

the default (as per line 65 in typo-drp.mkxl) is .125\emwidth.

This is the reason why your results differ with distance set to 0pt.

Just in case it helps,

Pablo

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

maillist :ntg-context@ntg.nl  
/https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  :https://www.pragma-ade.nl  /https://context.aanhet.net  (mirror)
archive  :https://github.com/contextgarden/context
wiki :https://wiki.contextgarden.net
___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: OT: interview with John Warnock

2024-02-09 Thread Henning Hraban Ramm

Am 09.02.24 um 20:15 schrieb Pablo Rodriguez via ntg-context:

On 2/6/24 14:04, Henning Hraban Ramm wrote:

Hi, I came across this interview with John Warnock (founder of Adobe and
developer of PostScript):

https://archive.computerhistory.org/resources/access/text/2023/08/102738759-05-01-acc.pdf


Many thanks for the reference, Hraban.

This is the first part of the interview, which has a second part in:

https://archive.computerhistory.org/resources/access/text/2023/08/102738854-05-01-acc.pdf

Videos for both (almost five hours in total) are available at

 https://invidio.us/fB6UvJLKkWI
 https://invidio.us/mNhzjz3PhK4;

Many thanks again,


Thank you! I got the link to the first part on Mastodon and didn’t want 
to read even longer, so I didn’t look for more… ;)


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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Square right aligned

2024-02-09 Thread Wolfgang Schuster

Pablo Rodriguez via ntg-context schrieb am 09.02.2024 um 20:07:

On 2/8/24 22:37, Otared Kavian wrote:

Hi Ursula,

I think you mean the so-called end of the proof sign, or QED (Quod Erat
Demonstrandum). You can use this:

\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED]}}
\starttext
This is the end of our proof. \qed
\stoptext

In principle it is included in ConTeXt, but it seems that in the latest
version I have (2024.01.23), the command \qed is broken.


Hi Otared,

\qed seems to have been disabled (line 988 in strc-con.mklx).



The \qed command works only in a description or enumeration environment.

\definedescription [qedtest] [closesymbol=\symbol{qed}]

\starttext

\startqedtest
\samplefile{lorem}\qed
\stopqedtest

\stoptext

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: OT: interview with John Warnock

2024-02-09 Thread Pablo Rodriguez via ntg-context
On 2/6/24 14:04, Henning Hraban Ramm wrote:
> Hi, I came across this interview with John Warnock (founder of Adobe and
> developer of PostScript):
>
> https://archive.computerhistory.org/resources/access/text/2023/08/102738759-05-01-acc.pdf

Many thanks for the reference, Hraban.

This is the first part of the interview, which has a second part in:

https://archive.computerhistory.org/resources/access/text/2023/08/102738854-05-01-acc.pdf

Videos for both (almost five hours in total) are available at

https://invidio.us/fB6UvJLKkWI
https://invidio.us/mNhzjz3PhK4;

Many thanks again,

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Square right aligned

2024-02-09 Thread Pablo Rodriguez via ntg-context
On 2/8/24 22:37, Otared Kavian wrote:
> Hi Ursula,
>
> I think you mean the so-called end of the proof sign, or QED (Quod Erat
> Demonstrandum). You can use this:
>
> \definesymbol[QED][\mathematics{\square}]
> \def\qed{\wordright{\symbol[QED]}}
> \starttext
> This is the end of our proof. \qed
> \stoptext
>
> In principle it is included in ConTeXt, but it seems that in the latest
> version I have (2024.01.23), the command \qed is broken.

Hi Otared,

\qed seems to have been disabled (line 988 in strc-con.mklx).

Functionality seems to have been enabled in \QED (line 45 in math-mis.mkxl).

Just in case it might help,

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: distance in \setupinitial

2024-02-09 Thread Pablo Rodriguez via ntg-context
On 2/9/24 09:53, Thomas Meyer wrote:
> Hi folks,
>
> if I understand it correct it is not necessary to set default parameters.
> In my example it is a difference to set it or not (distance=0pt should
> be default):

Hi Thomas,

the default (as per line 65 in typo-drp.mkxl) is .125\emwidth.

This is the reason why your results differ with distance set to 0pt.

Just in case it helps,

Pablo

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: How to print the book title and section title where \reference is located?

2024-02-09 Thread Bruce Horrocks


> On 7 Feb 2024, at 03:47, Joel via ntg-context  wrote:
> 
> I have an extensive multi-book project. Each book has a nickname, like TB for 
> "Textbook", "WB 1" for the "Workbook, Vol. 1":
> 
> TB -- 01_textbook.tex
> WB 1 -- 03_workbook.tex
> WB 2 -- 04_workbook.tex
> WB 3 -- 05_workbook.tex
> WB 4 -- 06_workbook.tex
> TG -- 08_teachersguide.tex
> 
> I have to prove to a government agency that the content meets several 
> requirements, so I'm giving them a simple file that says something like 
> "Requirement A is met in TB, "Cats", p. 11" basically letting the reader know 
> its in the textbook, section called "Cats", on p. 11. To mark the pages, I'm 
> simply dropping in macros called "\requirementA" "\requirementB" on whichever 
> page of whichever book demonstrates it meets the requirement, then the file 
> will aquatically list the book, section, and page number by searching for 
> that macro.

[snip]

> Here is a sample message what the output should give:
> 
> "Requirement A is met in WB 3, "Bears", p. 33."

Taking you literally in that you want a *file* listing the occurences and not a 
typeset page listing the occurrences then you could try using the following in 
your document at the places where you currently put \requirementA etc:

\writestatus{RequirementMet}{Requirement A is met in section 
\fetchmark[section][current], p. \pagenumber}

This will write the current section title and page number to the console 
listing, prefixed by the word "RequirementMet". To produce the file for your 
customer all you have to do is filter these lines out of the .log file that is 
produced when you compile your book. In Unix-like systems that is a simple: 
grep RequirementMet file.log

Regards,
—
Bruce Horrocks
Hampshire, UK

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: \startcolumns and \startcolumnset

2024-02-09 Thread Jeong Dal via ntg-context
Dear Otared,

Thank you for testing.

I run the sample after changing the column command to ‘\startsimplecolumns … 
\stopsimplecolumns’.

I got the same result as  your output. And it is same as the result using 
\startcolumns … \stopcolumns.

If ‘\vfill’ works, then it is OK for me, but it isn’t.

It works under the command “\startcolumnset … \stopcolumnset”.
But there are another problem under the ‘columnist’ command.

I’ll read the manual of columnset carefully.

Best regards,

Dalyoung


> 2024. 2. 9. 오후 1:37, Otared Kavian  작성:
> 
> Dear Dalyoung,
> 
> Have you tried 
> \startsimplecolumns
> 
> \stopsimplecolumns
>  instead of the columnset mechanism?
> 
> In your example I put the above commands and I got the attached PDF: is this 
> what you want to obtain?
> 
> Best regards: Otared
> 
> 
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] distance in \setupinitial

2024-02-09 Thread Thomas Meyer

Hi folks,

if I understand it correct it is not necessary to set default parameters.
In my example it is a difference to set it or not (distance=0pt should 
be default):


\setupinitial%[distance=0pt]

\starttext
\placeinitial
\input knuth
\stoptext

Why?

Greetings
Thomas

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Square right aligned

2024-02-09 Thread Ursula Hermann
Dear Otared and Dear Hraban,

So this is my little example: works perfect, after our correspondence.

\starttext
\startalignment[normal]
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
machen \par Sie sich die Bedeutung der beiden Aussagen klar.}\wordright{\square}
\stopalignment
\stoptext

Many thanks
Uschi



Von: Ursula Hermann 
Gesendet: Freitag, 9. Februar 2024 08:39:10
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re: Square right aligned


Dear Hraban,  Dear Otared!


Many Thanks,


Hraban: Because of \wordright: I took a look at wordright at the wiki, works 
perfect.


Otared, many thanks too. It also works perfect with your example


Uschi




Von: Otared Kavian 
Gesendet: Donnerstag, 8. Februar 2024 22:37:08
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re: Square right aligned

Hi Ursula,

I think you mean the so-called end of the proof sign, or QED (Quod Erat 
Demonstrandum). You can use this:

\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED]}}
\starttext
This is the end of our proof. \qed
\stoptext

In principle it is included in ConTeXt, but it seems that in the latest version 
I have (2024.01.23), the command \qed is broken.

Best regards: Otared

On 8 Feb 2024, at 12:23, Ursula Hermann 
mailto:ursula.herm...@univie.ac.at>> wrote:

Dear List,

I am at Home  and have the following example.:


\starttext
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
machen Sie sich die Bedeutung der beiden Aussagen 
klar.\startalignment[right]\square\stopalignment}\stoptext}


There should be a sign like this □ at the end of the proof.

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / 
https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___

Otared Kavian
e-mail: ota...@gmail.com
Phone: +33 6 88 26 70 95




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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___