Re: [NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread 李延瑞
Gerben Wierda via ntg-context  于2023年5月17日周三 06:42写道:

> I did a simple thing, replace a \framed by \framedtext to get
> \placeinitial working but that doesn't seem to work automatically:
>
> %==
> \starttext
> \setupinitial[n=2,text=Knuth]\placeinitial\input knuth
>
> \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input 
> knuth
> }
>
> \framedtext[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input 
> knuth
> }
>
> \stoptext
> %==
>
>
There is a workaround:

\startframedtext
\starthanging[left,n=2]{\scale[lines=2]{\bf Knuth}}
\input knuth
\stophanging
\stopframedtext

-- 
Best regards,

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

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


[NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread Gerben Wierda via ntg-context
I did a simple thing, replace a \framed by \framedtext to get \placeinitial 
working but that doesn't seem to work automatically:

%==
\starttext
\setupinitial[n=2,text=Knuth]\placeinitial\input knuth

\framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input knuth 
}

\framedtext[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input 
knuth }

\stoptext
%==

Is there a way I can get a working \placeinitial inside a \framed or \frametext?

ConTeXt  ver: 2023.02.23 21:26 LMTX  fmt: 2023.2.25  int: english/english

Gerben Wierda (LinkedIn , Mastodon 
)
R IT Strategy  (main site)
Book: Chess and the Art of Enterprise Architecture 
Book: Mastering ArchiMate 

> On 15 May 2023, at 18:18, Gerben Wierda via ntg-context  
> wrote:
> 
> I'd like to use a drop cap inside a \framed, but it doesn't work.
> 
> Minimal example:
> 
> %==
> \starttext
> \setupinitial[n=2,text=Knuth]\placeinitial\input knuth
> 
> \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input 
> knuth }
> \stoptext
> %==
> 
> The first drop cap works, the second is empty.
> 
> Gerben Wierda (LinkedIn , Mastodon 
> )
> R IT Strategy  (main site)
> Book: Chess and the Art of Enterprise Architecture 
> 
> Book: Mastering ArchiMate 
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Two columns of footnotes

2023-05-16 Thread lynx--- via ntg-context
Denis: 

Thanks, that is very helpful starting point which proves that it is
possible! 

I have tried the suggestions there, but, so far: 

* I cannot adjust the gap ("distance" or "gutter") between the columns
* It seems impossible to turn-on a column-separating ruled line
* It would be useful to have a method for controlling orphan / widow
behaviour (such that a footnote in the left column doesn't spill-over as
just a single line into the 2nd column).

Any comments or ideas? 

MG 

On 2023-05-16 00:46, Denis Maier via ntg-context wrote:

> Technically it should be possible: 
> 
> https://wiki.contextgarden.net/Footnotes 
> 
> (see under footnote formatting). 
> 
> However, the example is not particularly pretty and the explanatory text 
> states there is a bug. 
> 
> Don't know if that is the current behavior or if this bug has been fixed. 
> 
> Best, 
> 
> Denis 
> 
> VON: ntg-context  IM AUFTRAG VON lynx--- via 
> ntg-context
> GESENDET: Dienstag, 16. Mai 2023 08:37
> AN: ntg-context@ntg.nl
> CC: l...@polarcom.com
> BETREFF: [NTG-context] Two columns of footnotes 
> 
> I own a commercially published book that has makes effective use of footnotes 
> that are arranged in two columns on each page. Does anybody know how this can 
> be set up within ConTeXt? 
> 
> MG 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Two columns of footnotes

2023-05-16 Thread lynx--- via ntg-context
On 2023-05-16 00:46, Denis Maier via ntg-context wrote:

> Technically it should be possible: 
> 
> https://wiki.contextgarden.net/Footnotes 
> 
> (see under footnote formatting). 
> 
> However, the example is not particularly pretty and the explanatory text 
> states there is a bug. 
> 
> Don't know if that is the current behavior or if this bug has been fixed. 
> 
> Best, 
> 
> Denis 
> 
> VON: ntg-context  IM AUFTRAG VON lynx--- via 
> ntg-context
> GESENDET: Dienstag, 16. Mai 2023 08:37
> AN: ntg-context@ntg.nl
> CC: l...@polarcom.com
> BETREFF: [NTG-context] Two columns of footnotes 
> 
> I own a commercially published book that has makes effective use of footnotes 
> that are arranged in two columns on each page. Does anybody know how this can 
> be set up within ConTeXt? 
> 
> MG 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Flushright problems with Japanese

2023-05-16 Thread Wolfgang Schuster via ntg-context

Gerben Wierda via ntg-context schrieb am 16.05.2023 um 09:54:

That does not make a difference.

Output of both lines

\framed[width=\textwidth,frame=off,align=flushright]{作図:A bit of text}
\framed[width=\textwidth,frame=off,align=flushright,broad]{作図:A bit of 
text}


\framed[width=\textwidth,frame=off,align={flushright,broad}]{作図:A bit of 
text}


Put braces {} around the argument of a key when you pass a list.

Wolfgang

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

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


Re: [NTG-context] Flushright problems with Japanese

2023-05-16 Thread Gerben Wierda via ntg-context
That does not make a difference.

Output of both lines

\framed[width=\textwidth,frame=off,align=flushright]{作図:A bit of text}
\framed[width=\textwidth,frame=off,align=flushright,broad]{作図:A bit of text}

is identical.

Gerben 

> On 16 May 2023, at 03:36, Li Yanrui (李延瑞) via ntg-context 
>  wrote:
> 
> 
> 
> Gerben Wierda via ntg-context  > 于2023年5月15日周一 16:43写道:
> When I use flushright, my Japanese characters get widely spaced as if 
> flushing right doesn't work
> 
> Minimal example:
> 
> % ===
>  \definefallbackfamily
>   [archimate]
>   [ss]
>   [Hiragino Sans]
>   [preset=range:japanese,
>tf=style:W3,
>it=style:W3,
>bf=style:W5,
>bi=style:W5,
>force=yes]
> 
> \definefontfamily [archimate] [ss] [Optima]
> 
> \setupbodyfont[archimate]
> 
> \startsetups [japanese]
>   \setscript [nihongo]
> \stopsetups
> \setuplanguage [ja] [setups=japanese]
> \mainlanguage [ja]
> 
> \starttext
> \setupindenting[none]
> \setupindenting[no]
> \framed[width=\textwidth,frame=off,align=flushleft]{作図:A bit of text}
> \framed[width=\textwidth,frame=off,align=flushright]{作図:A bit of text}
> \framed[width=\textwidth,frame=off,align=flushright]{作図: A bit of text}
> \framed[width=\textwidth,frame=off]{作図: A bit of text}
> \stoptext
> % ===
> 
> 
> Hi,
> 
> You can try `align={flushright,broad}'. 
> 
> -- 
> Best regards,
> 
> Li Yanrui
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Two columns of footnotes

2023-05-16 Thread Denis Maier via ntg-context
Technically it should be possible:
https://wiki.contextgarden.net/Footnotes
(see under footnote formatting).
However, the example is not particularly pretty and the explanatory text states 
there is a bug.

Don’t know if that is the current behavior or if this bug has been fixed.

Best,
Denis


Von: ntg-context  Im Auftrag von lynx--- via 
ntg-context
Gesendet: Dienstag, 16. Mai 2023 08:37
An: ntg-context@ntg.nl
Cc: l...@polarcom.com
Betreff: [NTG-context] Two columns of footnotes


I own a commercially published book that has makes effective use of footnotes 
that are arranged in two columns on each page. Does anybody know how this can 
be set up within ConTeXt?

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

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


Re: [NTG-context] Module authors: please update your metadata

2023-05-16 Thread Taco Hoekwater via ntg-context


> On 15 May 2023, at 19:01, Henning Hraban Ramm via ntg-context 
>  wrote:
> 
> Am 15.05.23 um 18:57 schrieb Jairo A. del Rio via ntg-context:
>> I reuploaded my module. Let me know if problems persist. Thank you very much!
>> Check again, please.
> 
> Now it’s there.
> 
> CTAN sync should happen every night.

Starting tonight, because CTAN exports have to be added by hand to an rsync 
script, I did that just now.

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


[NTG-context] Two columns of footnotes

2023-05-16 Thread lynx--- via ntg-context
I own a commercially published book that has makes effective use of
footnotes that are arranged in two columns on each page. Does anybody
know how this can be set up within ConTeXt? 

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

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