Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-11 Thread Wolfgang Schuster
en you use \definefontfontfamily. \definefallbackfamily[mainface][rm][Symbola][range=playingcards,force=yes] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg

Re: [NTG-context] \definefontfamily not finding fonts

2020-09-10 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 10.09.2020 um 17:53: On Thu, 10 Sep 2020, Wolfgang Schuster wrote: Aditya Mahajan schrieb am 10.09.2020 um 05:16: Did something change with regard to \definefontfamily recently. I have an old document where I use: \starttypescript[mainface] \definefontfamily

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-10 Thread Wolfgang Schuster
For very short texts like in your example you can use the short form of natural tables. \starttext \startTABLE \NC aaa bbb ccc ddd \NC eee fff ggg hhh \NC\NR \NC iii jjj kkk lll \NC mmm nnn ooo ppp \NC\NR \stopTABLE \stoptext Wolfgang

Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-10 Thread Wolfgang Schuster
are passed to the range key. 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 webpa

Re: [NTG-context] \definefontfamily not finding fonts

2020-09-10 Thread Wolfgang Schuster
bf Bold \bi BoldItalic \tt\tf Regular \it Italic \bf Bold \bi BoldItalic \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / htt

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread Wolfgang Schuster
to avoid that, but it failed. My MWE addition to what Wolfgang provided is: \definehead [foreword] [chapter] \setuphead [foreword] \setuplist [foreword]  [label=foreword,  alternative=command,  command=\ChapterListCommand]% definition not included here. It was given in an earlier response

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-08 Thread Wolfgang Schuster
ode which moves your blocks around you should ask yourself the question is it worth it. When you have only two or three posters in this format use the extra commands for table rows and cells because it takes more time to write something which does the work. Wolfg

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-08 Thread Wolfgang Schuster
ldn't be a problem for your case because something simpler can be used to create your desired layout but you have to provide more information: 1. Are there blocks side by side or do you stack them only vertically? 2. Do you need a frame around each block? 3. Are (small) gaps between the blocks

Re: [NTG-context] Column not Balancing, Footnote is Missing

2020-09-08 Thread Wolfgang Schuster
with     \stopcolumns 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

Re: [NTG-context] Appendix question

2020-09-08 Thread Wolfgang Schuster
] \setuplabeltext [en] [chapter=Chapter , appendix=Appendix ] \starttext \startbodymatter \stopbodymatter \dorecurse{5}{\chapter{Chapter #1}} \startappendices \dorecurse{5}{\chapter{Chapter #1}} \stopappendices \stoptext Wolfgang

Re: [NTG-context] styling individual parts of ToC entry

2020-09-07 Thread Wolfgang Schuster
jbf schrieb am 07.09.2020 um 01:31: Yes, Wolfgang, that corrects the minor problem of including the author name correctly, even when there is no year range. Thank you. But since I use \title, not \chapter, for the frontmatter items, ( Foreword, Preface, A note on Contributors

Re: [NTG-context] styling individual parts of ToC entry

2020-09-06 Thread Wolfgang Schuster
jbf schrieb am 06.09.2020 um 02:03: Thanks Wolfgang, while I don't pretend to fully understand the setup you have provided (but am working on doing so!), of course it provides the correct result for a chapter that has a title, an author, and a year. My ever-so-complicated book (and its

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread Wolfgang Schuster
[title={Chapter title}] [author={Author Name},year={1980--2000}] \unknown \stopchapter \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Typing efficiency

2020-09-04 Thread Wolfgang Schuster
} \stopmode \starttext \startsection[title=\select{language}{English title}{Dutch title}] \startentext This is English text. \stopentext \startnltext This is Dutch text. \stopnltext \stopsection \stoptext Wolfgang

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Wolfgang Schuster
\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

Re: [NTG-context] force index entries without page number

2020-09-04 Thread Wolfgang Schuster
appears only once which replaces the page number with "passim". \define[1]\Passim {passim} \defineprocessor [passim] [command=\Passim] \starttext xxx\index{First} yyy\index[passim->]{Second} zzz\seeindex{Third}{Second} \placeindex \stopt

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
of your sample document. Wolfgang begin product \startproduct product \environment env-WA % \setvariables % [document] % [ manual={Course Manual}, % title={Title}, %subtitleone={Subtitle 1}, %subtitletwo={Subtitle 2}, % revnumber={Revision number

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Wolfgang Schuster
jbf schrieb am 03.09.2020 um 06:32: Thanks Wolfgang. I did have the respective setupsectionblocks, but they said [page= ], so I have now changed them to [page=yes] and things work as expected. I also tried the second \page method you offered, which, naturally enough, also works. I take

Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Wolfgang Schuster
doesn’t display the footnotes. > > I’m afraid this may be a bug. Could anyone confirm this? > Does ist work when you add \automigrateinserts? Wolfgang > ___ If your question is of interest to others

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-02 Thread Wolfgang Schuster
\page before \stopfrontmatter. 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

Re: [NTG-context] MKIV - LMTX difference: stripping of leading white space in verbatim text

2020-09-02 Thread Wolfgang Schuster
processing the verbatim text: MKIV output: whatever LMTX output:     whatever Is there a way to get the old MKIV behavior back? \setuptyping[LUA][strip=yes] Wolfgang ___ If your question is of interest to othe

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Wolfgang Schuster
://melusine.eu.org/syracuse/poulecl/mp-scratch/ 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

Re: [NTG-context] Mathematical symbol of non-inclusion

2020-08-29 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 29.08.2020 um 19:27: Hello, The result is not what you expected. How can I correct this problem? 1. Wait for a fix. 2. Use \nsubset. \starttext \m{A \nsubset B} \stoptext Wolfgang

Re: [NTG-context] catch % in gsub("%", "\\letterpercent")

2020-08-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.08.2020 um 19:16: On 8/27/20 6:16 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 27.08.2020 um 17:56: [...] \startxmlsetups xml:special \startitem \cldcontext{string.gsub([[\xmlraw{#1}{.}]], "%%", "

Re: [NTG-context] catch % in gsub("%", "\\letterpercent")

2020-08-27 Thread Wolfgang Schuster
xt.escape() \startxmlsetups xml:special \startitem \cldcontext{context.escape([[\xmlraw{#1}{.}]])} \stopitem \stopxmlsetups Wolfgang ___ If your question is of interest to others as well, please add an entry to t

Re: [NTG-context] setuplayout vs Indesign!

2020-08-27 Thread Wolfgang Schuster
a layout because there are too many areas which are unimportant for the margins on each side. A simpler step by step introduction where you can see leftmargin doesn't matter for the layout is the better way (see attachment). Wolfgang layout.pdf Description: Adobe PDF document

Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread Wolfgang Schuster
ult behavior anymore) and it's better to keep math to avoid problems. %% begin example \textonly \starttext \unknown \stoptext %% end example Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 24.08.2020 um 19:37: Am 24.08.2020 um 17:36 schrieb Wolfgang Schuster : Henning Hraban Ramm schrieb am 24.08.2020 um 15:29: Am 23.08.2020 um 11:25 schrieb Duncan Hothersall : I think there was a question on this very recently but I don;t think it got an answer

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
ttext \startsection[title=One] \stopsection \startsection[title=Two] \stopsection \startsection[ownnumber=X,title=???] \stopsection \startsection[title=Three] \stopsection \stoptext Wolfgang ___ If your question is

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 24.08.2020 um 15:32: Hi Wolfgang, Thank you for your reply. Probably my fault but now I get the number 0 on the word "Summary". Fabrice contents.png \setuphead   [title]   [command=,    numbercommand=]

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Wolfgang Schuster
section blocks (e.g. \startbodymatter) \startsectionblockenvironment[bodypart]     \setuphead[chapter][command=\HeadTitle] \stopsectionblockenvironment Wolfgang ___ If your question is of interest to others as well,

Re: [NTG-context] Chapter numbering after \part

2020-08-20 Thread Wolfgang Schuster
=, but that doesn't work. Then I tried a makeup, because I thought that would create a 'Part' page independent of chapter numbers - but that doesn't work either:-).  Am sure it is achievable, however \setuphead   [chapter]   [sectionsegmments=chapter] Wolfgang

Re: [NTG-context] [BUG] \registerexternalfigure doesn't work

2020-08-20 Thread Wolfgang Schuster
Wrong command, use \getfiguredimensions[...] Looking at the definition in grph-inc.mkiv reveals that is it complete bogus. Is this necessary? Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Wolfgang Schuster
style=WORD] \setuplist [chapter] [label=yes, style=bold, width=fit, distance=\spaceamount] \setuplist [section] [margin=3em, width=1.5em] \starttext \completecontent ... \stoptext Wolfgang _

Re: [NTG-context] Chapter number with Luametafun

2020-08-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.08.2020 um 16:24: Hello, How to get the number of the current chapter ? \namedheadnumber{chapter} How to get the label "Chapitre" ? \labeltext{chapter} Wolfgang _

Re: [NTG-context] About documented code

2020-08-16 Thread Wolfgang Schuster
-module-basic.mkiv) which is used to create the formatted source. The same has to be done to disable the frame where you have to comment the \showframe line in the module mentioned above. Wolfgang ___ If your question

Re: [NTG-context] Embedding fonts from a file

2020-08-14 Thread Wolfgang Schuster
mbedded fonts are not loading and I get "'fallback modern-designsize rm 12pt' is loaded" as an error message. Any assistance would be appreciated. \usefontpath[myfont] \starttext Hello \CONTEXT! {\definedfont[file:myfont*defau

Re: [NTG-context] compilation error in LMTX

2020-08-14 Thread Wolfgang Schuster
Jannik Voges schrieb am 14.08.2020 um 11:29: Hello Hans, I get the error with the newest upload too. You have to provide a minimal example which produces the error. Wolfgang ___ If your question is of interest

Re: [NTG-context] headers again

2020-08-14 Thread Wolfgang Schuster
=no] \stopchapter \startchapter[title={Chapter five}] \stopchapter \startchapter[title={Chapter six},number=no] \stopchapter \startchapter[title={Chapter seven}] \stopchapter \stoptext Wolfgang ___ If your question

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
Wolfgang Schuster schrieb am 13.08.2020 um 20:47: Pablo Rodriguez schrieb am 13.08.2020 um 20:30: On 8/13/20 6:06 PM, Wolfgang Schuster wrote: [...] What am I doing wrong here? (To avoid an error, I get other errors.) There are not enough information to help you. I discovered what

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 13.08.2020 um 20:30: On 8/13/20 6:06 PM, Wolfgang Schuster wrote: [...] What am I doing wrong here? (To avoid an error, I get other errors.) There are not enough information to help you. I discovered what was wrong: I had an xtable on the footer to set the page

Re: [NTG-context] headers again

2020-08-13 Thread Wolfgang Schuster
] 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

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Wolfgang Schuster
no idea how to allow chapters to start at arbitrary pages when alternative=doublesided. \setuphead[chapter][page=yes] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 13.08.2020 um 16:18: On 8/13/20 3:11 PM, Wolfgang Schuster wrote: [...] With the options "split=no" and "split=repeat" ConTeXt puts the table in a \vbox but with "split=yes" this doesn't happen. To check is this is the problem h

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
isable the caption and counter. \startplacetable[location={force,none}]   \startembeddedxtable   ...   \stopembeddedxtable \stopplacetable Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
Nicola schrieb am 11.08.2020 um 22:21: On 2020-08-11, Pablo Rodriguez wrote: On 8/11/20 9:24 PM, Nicola wrote: Thank Pablo, Wolfgang, I have learned more by reading your replies than by myself in the rest of the afternoon. Hi Nicola, if you found replies useful, please update the wiki

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
never used environments (other than the ones to typeset XML sources), so this is my best option . A environment is nothing more than a external file for the style, the only difference between \input{...} and \environment[...] is that ConTeXt loads environment files only once.

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
Mike Cooper schrieb am 11.08.2020 um 19:20: -Original Message- From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] Sent: Tuesday, August 11, 2020 10:07 AM To: mailing list for ConTeXt users Cc: Mike Cooper Subject: Re: [NTG-context] custom header/footer for 1st/other

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
\expanded{\chapter{Chapter \recurselevel}} \dorecurse{4}{\samplefile{weisman}}} \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:/

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
Mike Cooper schrieb am 10.08.2020 um 23:40: -Original Message- From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Thursday, August 06, 2020 2:58 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] custom header/footer for 1st/other

Re: [NTG-context] How to set pdfminorversion in LMTX?

2020-08-10 Thread Wolfgang Schuster
the example above, compare the version numbers) %PDF-1.7 %ÃÏÎÔÅØÔÐÄÆ ... << /Lang (en) /Metadata 7 0 R /PageLabels << /Nums [ 0 << /S /D /St 1 >> ] >> /PageMode /UseNone /Pages 15 0 R /Type /Catalog /Version /1.4.0 >

Re: [NTG-context] Using \applytosplitstringwordspaced and allies

2020-08-09 Thread Wolfgang Schuster
ere in verbatim mode depending on the content being on the document or loaded via Lua, even when context.escape is used. How to keep {\it braced content}? Thank you in advance. Are you trying to typeset interlinear text? http://mirrors.ctan.org/macros/generic/expex/exp

Re: [NTG-context] floats side by side

2020-08-08 Thread Wolfgang Schuster
Left dummy}] \externalfigure[dummy] \stopplacefigure \startplacefigure[title={Right dummy}] \externalfigure[dummy] \stopplacefigure \stopfloatcombination \stopplacefigure \input weisman \stoptext Wolf

Re: [NTG-context] context --luatex does not redirect to LuaTeX

2020-08-08 Thread Wolfgang Schuster
and check again. 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

Re: [NTG-context] Wrong counting of lines and paragraphs

2020-08-08 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 07.08.2020 um 21:10: Dear list, In the MWE below you don't get lines and paragraphs numbered correctly: [...] Have I hit a bug? No, this is a side effect from your sections which start the paragraphs. Wolfgang

Re: [NTG-context] Using \applytosplitstringwordspaced and allies

2020-08-08 Thread Wolfgang Schuster
o.loaddata(resolvers.findfile("ward.tex")) local ward = string.fullstrip(io.loaddata(resolvers.findfile("ward.tex"))) context.applytosplitstringwordspaced ( "\\somemacro", ward ) \stopluacode \stoptext Wolfgang

Re: [NTG-context] About the numbering of theorems

2020-08-07 Thread Wolfgang Schuster
sections and remove the conversion setting (\setuphead[...][conversion=...]) from the setups. \defineconversionset [fabrice] [n,n,R,n] [n] \setupheads [sectionconversionset=fabrice] Wolfgang ___ If your question

Re: [NTG-context] teaser

2020-08-07 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 07.08.2020 um 11:14: Nice, I've just tested it and it works fine. Thank you, Hans. I would ensure to avoid a page break between the language blocks which is currently missing but when you need this in a document it makes sense to write something around it. Wolfgang

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-06 Thread Wolfgang Schuster
=chapterfooter] \starttext \dorecurse{10} {\expanded{\chapter{Chapter \recurselevel}} \dorecurse{\numexpr2*\recurselevel\relax}{\samplefile{knuth}}} \stoptext end example Wolfgang ___ If your question

Re: [NTG-context] teaser

2020-08-06 Thread Wolfgang Schuster
{\hsize=4cm one\par two\par three\par four} \setbox2\ruledhbox{\copyboxline 0 2} \setbox4\ruledhbox{\boxline 0 3} %\setbox6 \boxline 0 5 % error [2] [\box2] \par [3] [\box4] \par [5] [\box6] \par \stoptext %% end example Wolfgang

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-05 Thread Wolfgang Schuster
= c^2 \stopformula \stopproof \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

Re: [NTG-context] Placing a section ending depending on odd/even sectionnumber

2020-08-04 Thread Wolfgang Schuster
[section] [aftersection=\directsetup{section:end}] \starttext \startsection[title=Ward] \input ward \stopsection \page \startsection[title=Knuth] \input knuth \stopsection \stoptext end example Wolfgang ___ If you

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Wolfgang Schuster
related problem mentioned in my answer, you get the error message for the \cap and \WORDS command. In this case there is a easy fix and also better chapter setup: \setuphead [chapter] [alternative=middle, textstyle=cap, numberstyle=WORD] Wolfgang

Re: [NTG-context] \emph not working in LMTX (bug?)

2020-08-03 Thread Wolfgang Schuster
ter \font_emphasis_look \fi \fi \egroup \egroup l.2 \emph{Hola} Is it a bug? \emph worked for older versions. Thank you in advance. Yes and it was already reported by Pablo but don't hesitate report future bugs. https://www.mail-archive.com/ntg-context@ntg.nl/msg95268.html Wolfg

Re: [NTG-context] bug in current latest (2019.10.11 15:57)?

2020-08-03 Thread Wolfgang Schuster
-ini.mkxl (\semisimplegroupcode is needed for \triggergroupedcommand): \chardef\aligngroupcode = 6 \chardef\semisimplegroupcode= 14 Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] cannot reload font index after luametatex update

2020-08-02 Thread Wolfgang Schuster
) which also works when you clear it (mtxrun --script cache --erase) where luatools fails. is it a feature? thanks No. Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.08.2020 um 22:16: Am 01.08.2020 um 21:30 schrieb Wolfgang Schuster : \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} You have to expand the \index argument: \define[1]\Ort{\expanded{\index{...}}} Ah, I never know where to expand (tried \expan

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
{\expanded{\index{\getvariable{index}{#1}}}} {\index{#1}}} \starttext \Ort{Albano} \Ort{Altona} \Ort{Aurich} \dontleavehmode\page \placeindex \stoptext end tex example Wolfgang ___ If your question is of i

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Wolfgang Schuster
: https://source.contextgarden.net/page-brk.mkiv?search=testpage#l564 ) No need for a new \stop command. \setuphead   [section]   [aftersection={\checkpage[willi][lines=4]}] Wolfgang ___ If your question is of interest

Re: [NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Wolfgang Schuster
me options (and passes the values to \setupcounter). \setupfootertexts[\userpagenumber] \starttext \setupuserpagenumber[state=stop] \dorecurse{10}{\input knuth } \page \setupuserpagenumber[state=start,number=7] \dorecurse{10}{\input zapf } \stoptext

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Wolfgang Schuster
\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.pra

Re: [NTG-context] \documentvariable (used in environment)

2020-07-25 Thread Wolfgang Schuster
Alan Braslau schrieb am 25.07.2020 um 00:21: On 22/07/20 22:36, Wolfgang Schuster wrote: What exactly doesn't work and do you get the same problems when you set the values in the following minimal example (everything has to be in the same file). begin example \setupdocument

Re: [NTG-context] context --engine=luatex not working

2020-07-23 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 23.07.2020 um 19:03: Hi list! Is --engine=luatex working? Has it changed? The switch seems to be ignored with newer ConTeXt distributions, so only LuaMetaTeX is used. Thank you in advance. context --luatex Wolfgang

Re: [NTG-context] \documentvariable (used in environment)

2020-07-22 Thread Wolfgang Schuster
[title={My title}] \input knuth \stopdocument end example 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

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread Wolfgang Schuster
}}} \define\mylist{\getvariable{myvar}{list}---{\bf \getvariable{myvar}{date}}} In this case you have to use \defineexpandable to create your commands and enable expansion for sections. \defineexpandable\mytitle{...} \defineexpandable\mylist {...} \setuphead[section][expansion=yes] Wolfgang

Re: [NTG-context] --silent and so on

2020-07-22 Thread Wolfgang Schuster
mpulations options with lmtx in order to have something similar as before ? context --nodummy Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-cont

Re: [NTG-context] Bug with lmtx and color in table

2020-07-22 Thread Wolfgang Schuster
\getbuffer \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

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Wolfgang Schuster
of the setupstring entries are broken, e.g. cd:font appear twice and the second entry is wrong - It would be nice to have a consistent language order, in the existing entries you moved french to the bottom but in new entries you move french to the top Wolfgang

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Wolfgang Schuster
Garulfo schrieb am 19.07.2020 um 13:23: Hi Wolfgang, still working on the translation... (Hans pointed out the possibilities due to the support of UTF-8, which are just great for french language) zip: https://wiki.contextgarden.net/File:MWE_test_itemize_french.zip I have difficulties

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.07.2020 um 22:25: Hi Wolfgang, It works but why did you ask this question since I finally use context ? Are you sure you want to use context(...) here? In your first version you used the context function in the loop to print the output of the Binom

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Wolfgang Schuster
ckgroundcolor=cyan"})             for j = 1, i do                   context.startxcell()                      \ctxlua{context(Binom(i,j))} Remove \ctxlua: context(Binom(i,j)) Wolfgang ___ If your question is of interest to

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Wolfgang Schuster
font=9pt"}) context.startxrow({"background=color,backgroundcolor=green"})     for i = 0, 10 do       for j = 0, i do           context.startxcell()           context(Binom(i,j))           context.stopxcell() end     end     context.stopxrow() context

Re: [NTG-context] Text around a figure

2020-07-16 Thread Wolfgang Schuster
, paragraph backgroundoffset=4pt] % change the value here It's a float feature which can be disabled. \setupfloats[freeregion=no] Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] Text around a figure

2020-07-15 Thread Wolfgang Schuster
environment to add a colored box behind the text. 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

Re: [NTG-context] how to with \margindata

2020-07-15 Thread Wolfgang Schuster
what happens, I conclude that the result of the first expansion is lost and is not carried into the actual placement of the marginnote. The question this is: how to solve this problem? Provide a working minimal example. Wolfgang

Re: [NTG-context] white-space after section-head in columns

2020-07-15 Thread Wolfgang Schuster
--cut here---end--->8--- https://www.mail-archive.com/ntg-context@ntg.nl/msg89563.html Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! ma

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Wolfgang Schuster
no idea what causes the problem here without looking at the code (I guess ConTeXt tries to prevent a line break after the title) but this works. \dontleavehmode\blank Wolfgang ___ If your question is of interest to others

Re: [NTG-context] What does #+ do?

2020-07-13 Thread Wolfgang Schuster
ment. \starttext \def\testa[#1]{\detokenize{#1}} \def\testb[#+]{\detokenize{#1}} \testa[{braces}] \testb[{braces}] \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] About alternative=middle in section heads

2020-07-12 Thread Wolfgang Schuster
in advance. You're using the wrong option. \noheaderandfooterlines \starttext \start \setuphead[section][alternative=middle] \section{\mono{alternative=middle}} \stop \start \setuphead[section][align=middle] \section{\mono{align=middle}} \stop \stoptext Wolfgang

Re: [NTG-context] About the table of contents

2020-07-11 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 11.07.2020 um 16:30: Hi Wolfgang, Sorry but i was wrong on what i want to get : 1  My first chapter     1.1 My first section   1.1.1 My first subsection Set the margin values: \setuplist [section][margin=1em] \setuplist [subsection] [margin=2em

Re: [NTG-context] About the table of contents

2020-07-11 Thread Wolfgang Schuster
}] \setuplist [section][width=\widthofstring{0.0}] \setuplist [subsection] [width=\widthofstring{0.0.0}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] \placetable vs. \placefloat and option "none"

2020-07-08 Thread Wolfgang Schuster
the float instance as first argument, e.g. \placefloat[table]. 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/li

Re: [NTG-context] About xstring and ConTeXt

2020-07-07 Thread Wolfgang Schuster
by the misuse of (ConTeXt) \unexpanded. Bad idea because ConTeXt also changes the meaning of \protected (you can use \normalprotected to get the primitve). A better version is \pushmacro\unexpanded \let\unexpanded\normalunexpanded \input xstring \popmacro\unexpanded Wolfgang

Re: [NTG-context] Resetting image width

2020-07-06 Thread Wolfgang Schuster
,height=.5\textheight] but height and width only take dimensions. Can you give me a hint? No argument is also valid. \externalfigure[dummy][width=,height=.5\textheight] Wolfgang ___ If your question is of interest

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Wolfgang Schuster
elax ... \fi} 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.

Re: [NTG-context] About some deprecated commands

2020-07-05 Thread Wolfgang Schuster
\else\ifyyy \doubleexpandafter\mycommandb \else \doubleexpandafter\mycommandc \fi\fi} % LuametaTeX \def\mycommand {\ifxxx \expandafter\mycommanda \orelse\ifyyy \expandafter\mycommandb \else \expandafter\mycommandc \fi} Wolfgang

Re: [NTG-context] ConTeXt installation on Windows 10

2020-07-04 Thread Wolfgang Schuster
t; The same thing occurs while context is as a file at the very root on c:\, or within c:\windows, or in C:\Users\adeim\Documents\context> I suggest to use the installer from Hans website when you don't need pdfTeX. http://www.pragma-ade.nl/insta

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
spirito si purga e di salire al ciel diventa degno. Ma qui la morta poesì resurga, o sante Muse, poi che vostro sono; e qui Calïopè alquanto surga, seguitando il mio canto con quel suono di cui le Piche misere sentiro lo colpo tal, che disperar perdono. \stoppoem \stoptext end example Wolfgang

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
\startframedtext[middle][frame=off,width=fit] \startlines Per correr miglior acque alza le vele omai la navicella del mio ingegno, che lascia dietro a sé mar sì crudele; e canterò di quel secondo regno dove l'umano spirito si purga e di salire al ciel diventa degno. \stoplines \stopframedtext \stoptext Wolfgang

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
Hans Hagen schrieb am 02.07.2020 um 16:48: On 7/2/2020 4:15 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 02.07.2020 um 15:40: On 7/2/2020 3:01 PM, Tommaso Gordini wrote: [...] I'll add this \setuplines[indentnext={0pt,10pt,15pt,20pt}] % \setuplines[indentnext={0pt,*,*}] which

<    3   4   5   6   7   8   9   10   11   12   >