* xtable row number trouble @ 2020-10-25 13:51 Oleg 2020-10-25 20:26 ` Wolfgang Schuster 0 siblings, 1 reply; 11+ messages in thread From: Oleg @ 2020-10-25 13:51 UTC (permalink / raw) To: ntg-context Hi, all. I try to place a row number into the first column of my table. I tried: \definecounter[rownum][way=bytext,prefix=no] \setcounter[rownum][0] \starttext \startxtable \startxrow \startxcell \incrementcounter[rownum] \rawcounter[rownum] \stopxcell \stopxrow \startxrow \startxcell \incrementcounter[rownum] \rawcounter[rownum] \stopxcell \stopxrow \startxrow \startxcell \incrementcounter[rownum] \rawcounter[rownum] \stopxcell \stopxrow \stopxtable And got: 7 8 9 If i place \setcounter[rownum][0] right after \startxtable, then i got: 1 2 3 Is this normal? I tried: \newcount\rownumd \rownumd = 0 \starttext \startxtable \startxrow \startxcell \advance\rownumd by 1 \the\rownumd \stopxcell \stopxrow \startxrow \startxcell \advance\rownumd by 1 \the\rownumd \stopxcell \stopxrow \startxrow \startxcell \advance\rownumd by 1 \the\rownumd \stopxcell \stopxrow \stopxtable And got: 1 1 1 Can anybody help? -- Олег Неманов (Oleg Nemanov) ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xtable row number trouble 2020-10-25 13:51 xtable row number trouble Oleg @ 2020-10-25 20:26 ` Wolfgang Schuster 2020-10-26 20:03 ` Oleg 0 siblings, 1 reply; 11+ messages in thread From: Wolfgang Schuster @ 2020-10-25 20:26 UTC (permalink / raw) To: mailing list for ConTeXt users Oleg schrieb am 25.10.2020 um 14:51: > Hi, all. > > I try to place a row number into the first column of my table. > I tried: > > \definecounter[rownum][way=bytext,prefix=no] > \setcounter[rownum][0] > > \starttext > \startxtable > \startxrow > \startxcell > \incrementcounter[rownum] > \rawcounter[rownum] > \stopxcell > \stopxrow > \startxrow > \startxcell > \incrementcounter[rownum] > \rawcounter[rownum] > \stopxcell > \stopxrow > \startxrow > \startxcell > \incrementcounter[rownum] > \rawcounter[rownum] > \stopxcell > \stopxrow > \stopxtable > > And got: > > 7 > 8 > 9 > > If i place \setcounter[rownum][0] right after \startxtable, then i got: > > 1 > 2 > 3 > > Is this normal? Yes, to fix it use \startxcell \doifelsemode{*trialtypesetting} {0} {\incrementcounter[rownum]% \convertedcounter[rownum]} \stopxcell 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xtable row number trouble 2020-10-25 20:26 ` Wolfgang Schuster @ 2020-10-26 20:03 ` Oleg 2020-10-26 21:42 ` Wolfgang Schuster 0 siblings, 1 reply; 11+ messages in thread From: Oleg @ 2020-10-26 20:03 UTC (permalink / raw) To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users On Sun, Oct 25, 2020 at 09:26:06PM +0100, Wolfgang Schuster wrote: > Oleg schrieb am 25.10.2020 um 14:51: > > Hi, all. > > > > I try to place a row number into the first column of my table. > > I tried: > > > > \definecounter[rownum][way=bytext,prefix=no] > > \setcounter[rownum][0] > > > > \starttext > > \startxtable > > \startxrow > > \startxcell > > \incrementcounter[rownum] > > \rawcounter[rownum] > > \stopxcell > > \stopxrow > > \startxrow > > \startxcell > > \incrementcounter[rownum] > > \rawcounter[rownum] > > \stopxcell > > \stopxrow > > \startxrow > > \startxcell > > \incrementcounter[rownum] > > \rawcounter[rownum] > > \stopxcell > > \stopxrow > > \stopxtable > > > > And got: > > > > 7 > > 8 > > 9 > > > > If i place \setcounter[rownum][0] right after \startxtable, then i got: > > > > 1 > > 2 > > 3 > > > > Is this normal? > > Yes, to fix it use > > \startxcell > \doifelsemode{*trialtypesetting} > {0} > {\incrementcounter[rownum]% > \convertedcounter[rownum]} > \stopxcell It seems that reseting once at table start is simpler, isn't it :-)? What is the difference between \rawcounter and \convertedcounter? \rawcounter give me the plain number as i want. What's about \newcount&\advance variant? Why it not work? -- Олег Неманов (Oleg Nemanov) ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xtable row number trouble 2020-10-26 20:03 ` Oleg @ 2020-10-26 21:42 ` Wolfgang Schuster 2020-10-27 11:15 ` font rendering in bibliography Xenos Athenaios 2020-10-27 13:18 ` xtable row number trouble Oleg 0 siblings, 2 replies; 11+ messages in thread From: Wolfgang Schuster @ 2020-10-26 21:42 UTC (permalink / raw) To: Oleg; +Cc: mailing list for ConTeXt users Oleg schrieb am 26.10.2020 um 21:03: > On Sun, Oct 25, 2020 at 09:26:06PM +0100, Wolfgang Schuster wrote: >> Oleg schrieb am 25.10.2020 um 14:51: >>> Hi, all. >>> >>> I try to place a row number into the first column of my table. >>> I tried: >>> >>> \definecounter[rownum][way=bytext,prefix=no] >>> \setcounter[rownum][0] >>> >>> \starttext >>> \startxtable >>> \startxrow >>> \startxcell >>> \incrementcounter[rownum] >>> \rawcounter[rownum] >>> \stopxcell >>> \stopxrow >>> \startxrow >>> \startxcell >>> \incrementcounter[rownum] >>> \rawcounter[rownum] >>> \stopxcell >>> \stopxrow >>> \startxrow >>> \startxcell >>> \incrementcounter[rownum] >>> \rawcounter[rownum] >>> \stopxcell >>> \stopxrow >>> \stopxtable >>> >>> And got: >>> >>> 7 >>> 8 >>> 9 >>> >>> If i place \setcounter[rownum][0] right after \startxtable, then i got: >>> >>> 1 >>> 2 >>> 3 >>> >>> Is this normal? >> Yes, to fix it use >> >> \startxcell >> \doifelsemode{*trialtypesetting} >> {0} >> {\incrementcounter[rownum]% >> \convertedcounter[rownum]} >> \stopxcell > It seems that reseting once at table start is simpler, isn't it :-)? Try your method with natural table or tabulate and it won't work anymore. > What is the difference between \rawcounter and \convertedcounter? > \rawcounter give me the plain number as i want. In this case there is no difference but I suggest to use \rawcounter only when you need the value of the counter, e.g. counter>... or counter=... With \convertedcounter you have always the option to change the style of the value, e.g. number conversion, prefixes etc. > What's about \newcount&\advance variant? Why it not work? Short answer: expansion You're using advance in a place where it is just ignored, there are ways to get rid of these limitations with Luametatex but it's better to use \incrementcounter. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* font rendering in bibliography 2020-10-26 21:42 ` Wolfgang Schuster @ 2020-10-27 11:15 ` Xenos Athenaios 2020-10-27 11:25 ` Denis Maier 2020-10-27 14:45 ` Jano Kula 2020-10-27 13:18 ` xtable row number trouble Oleg 1 sibling, 2 replies; 11+ messages in thread From: Xenos Athenaios @ 2020-10-27 11:15 UTC (permalink / raw) To: ntg-context [-- Attachment #1: Type: text/plain, Size: 494 bytes --] Dear ConTeXt fellows, With ConTeXT ConTeXt Process Management 1.03 current version: 2020.09.20, I encounter some issue with italics in the title of bibliographical references (I use a Jabref file along with ConTeXt). The title of books should be in italics, but it appears right now in the regular face. Do you have any idea of what it may be the origin of this problem ? Maybe it is within Jabref configuration that I can solve this issue ? (see attached file). Thank you very much. JP [-- Attachment #2: Context-Bibliography-printed.pdf --] [-- Type: application/pdf, Size: 17198 bytes --] [-- Attachment #3: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: font rendering in bibliography 2020-10-27 11:15 ` font rendering in bibliography Xenos Athenaios @ 2020-10-27 11:25 ` Denis Maier 2020-10-27 14:45 ` Jano Kula 1 sibling, 0 replies; 11+ messages in thread From: Denis Maier @ 2020-10-27 11:25 UTC (permalink / raw) To: ntg-context [-- Attachment #1.1: Type: text/plain, Size: 1195 bytes --] Dear JP, it's quite impossible to tell without knowing more about your configuration, jabref file, etc. Best, Denis Am 27.10.2020 um 12:15 schrieb Xenos Athenaios: > > Dear ConTeXt fellows, > > With ConTeXT ConTeXt Process Management 1.03 > current version: 2020.09.20, I encounter some issue with italics in > the title of bibliographical references (I use a Jabref file along > with ConTeXt). The title of books should be in italics, but it appears > right now in the regular face. Do you have any idea of what it may be > the origin of this problem ? Maybe it is within Jabref configuration > that I can solve this issue ? (see attached file). > Thank you very much. > JP > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ [-- Attachment #1.2: Type: text/html, Size: 2229 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: font rendering in bibliography 2020-10-27 11:15 ` font rendering in bibliography Xenos Athenaios 2020-10-27 11:25 ` Denis Maier @ 2020-10-27 14:45 ` Jano Kula 2020-10-28 9:50 ` Xenos Athenaios 1 sibling, 1 reply; 11+ messages in thread From: Jano Kula @ 2020-10-27 14:45 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 973 bytes --] Hello, On Tue, 27 Oct 2020 at 12:15, Xenos Athenaios <adeimantos@free.fr> wrote: > > Dear ConTeXt fellows, > > With ConTeXT ConTeXt Process Management 1.03 > current version: 2020.09.20, I encounter some issue with italics in the > title of bibliographical references (I use a Jabref file along with > ConTeXt). The title of books should be in italics, but it appears right > now in the regular face. Do you have any idea of what it may be the > origin of this problem ? Maybe it is within Jabref configuration that I > can solve this issue ? (see attached file). > just looking at the PDF (knowing nothing about bibliographies), I can't see any italics in the text, so the first thought is: is the italics font setup correct? I would try italics in the main text or using context default font. You can try \enabletrackers[publications.*] and \enabletrackers[fonts.*] to see in log what's going on. If it doesn't help a minimal working example is needed. Regards, Jano [-- Attachment #1.2: Type: text/html, Size: 1431 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: font rendering in bibliography 2020-10-27 14:45 ` Jano Kula @ 2020-10-28 9:50 ` Xenos Athenaios 2020-10-28 11:49 ` Jano Kula 0 siblings, 1 reply; 11+ messages in thread From: Xenos Athenaios @ 2020-10-28 9:50 UTC (permalink / raw) To: ntg-context [-- Attachment #1: Type: text/plain, Size: 4799 bytes --] Hi ConTeXt fellows ! I am coming back with I hope a lighter MWE concerning the issue I am confronting to : it seems impossible to get italics within both body text, footnotes and bibliographical titles. See the attached file for the bibtex database and the MWE below : % \showframe %\showgrid \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek, it={Old Standard Italic}, force=yes] \definefallbackfamily [mainface] [rm] [ipamincho] [range=cjkunifiedideographs] \definefallbackfamily[mainface] [serif] [nafeesnastaleeq] [range=arabic] \definefontfamily [mainface] [serif] [GaramondNo8][sc=NewG8 Regular SC] \definefontfamily [mainface] [sans] [FreeSans] [rscale=0.7] \definefontfamily[mainface] [serif] [GFS Didot] \setupbodyfont[mainface] \setupcolors[state=start] \setupindenting[1.5em] \setupindenting[medium,yes] % Bibliography Definition setup and rendering \usebtxdataset[philosophie moderne][biblio-test-italics.bib] \usebtxdefinitions[apa] \definebtxrendering[philosophie moderne][apa][dataset=philosophie moderne] \setupbtxrendering[continue =yes] % End of bibliography setup \starttext \startchapter[title={Introduction}] Someone who asks to a textbook in Philosophy to replace his own personnal thoughts and the necessary personnal self-education rooted within his own readings, \quote{would fail his own education}\footnote{\cite[alternative=entry][philosophie moderne::Adler1972]}. Dans le présent ouvrage le propos tenu est sensiblement différent. Non que nous refusons d'entrer dans l'examen de cette totalité parfois systématique qui a pu préoccuper les philosophes depuis la plus haute Antiquité\footnote{Cf. Montaigne, {\em Essais} I, 3 : \quote{Aristote qui remue toute chose}. \cite[alternative=entry][philosophie moderne::montaigne2004]}. The roman sentence : {\em \quote{I am a man and nothing wich is human is strange to me}} (\quote {Homo sum ; humani nihil a me alienum puto}) is given by Roman poet Terence, verse 77 of : \cite[alternative=entry][philosophie moderne::terence1984]. There is a lot of textbooks, or bibliographical survey in Ancient Philosophy\footnote{See the detail of philosophical material philosophers biographies in the two next books : \cite[alternative=entry][philosophie moderne::løve2011]}, or by specialized books as {\em Dictionnaire des Philosophes Antiques} edited in 5 volumes under the direction of Richard Goulet (\cite[alternative=entry][philosophie moderne::goulet1994]). \stopchapter % Bibliography \starttext \startbackmatter \startchapter[title={Bibliographie}] \startsection[title={ Philosophie moderne}] \placelistofpublications[philosophie moderne][method=local] \stopsection \stopchapter \stopbackmatter \stoptext Le 27/10/2020 à 15:45, Jano Kula a écrit : > Hello, > > On Tue, 27 Oct 2020 at 12:15, Xenos Athenaios <adeimantos@free.fr > <mailto:adeimantos@free.fr>> wrote: > > > Dear ConTeXt fellows, > > With ConTeXT ConTeXt Process Management 1.03 > current version: 2020.09.20, I encounter some issue with italics in the > title of bibliographical references (I use a Jabref file along with > ConTeXt). The title of books should be in italics, but it appears right > now in the regular face. Do you have any idea of what it may be the > origin of this problem ? Maybe it is within Jabref configuration that I > can solve this issue ? (see attached file). > > > just looking at the PDF (knowing nothing about bibliographies), I can't > see any italics in the text, so the first thought is: is the italics > font setup correct? I would try italics in the main text or using > context default font. You can try \enabletrackers[publications.*] and > \enabletrackers[fonts.*] to see in log what's going on. If it doesn't > help a minimal working example is needed. > > Regards, > Jano > > > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ > [-- Attachment #2: biblio-test-italics.bib --] [-- Type: application/x-bibtex, Size: 1250 bytes --] [-- Attachment #3: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: font rendering in bibliography 2020-10-28 9:50 ` Xenos Athenaios @ 2020-10-28 11:49 ` Jano Kula 2020-10-28 15:00 ` Xenos Athenaios 0 siblings, 1 reply; 11+ messages in thread From: Jano Kula @ 2020-10-28 11:49 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 861 bytes --] Hello Xenos, On Wed, 28 Oct 2020 at 10:50, Xenos Athenaios <adeimantos@free.fr> wrote: > Hi ConTeXt fellows ! > > I am coming back with I hope a lighter MWE concerning the issue I am > confronting to : it seems impossible to get italics within both body > text, footnotes and bibliographical titles. > It is a font setup problem. Remove your font definitions and fallbacks and change \setupbodyfont[mainface] to \setupbodyfont[dejavu] for the start (it will cover greek and cyryllic, too). Can you describe what you need? Are the requirements given (main font, scripts, serif & sans, fallbacks fonts to other scripts)? For example IBM Plex <https://www.ibm.com/plex/languages/> will cover most of what you need (except cjk for now) and there is a font definition file type-imp-plex.mkiv in the distribution (not all fallbacks defined, yet). Regards, Jano [-- Attachment #1.2: Type: text/html, Size: 1508 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: font rendering in bibliography 2020-10-28 11:49 ` Jano Kula @ 2020-10-28 15:00 ` Xenos Athenaios 0 siblings, 0 replies; 11+ messages in thread From: Xenos Athenaios @ 2020-10-28 15:00 UTC (permalink / raw) To: ntg-context Thanks Jano ! It works, but I have overfull box warnings in the log file with italics, as : Overfull \hbox (7.80241pt too wide) in paragraph at lines 178--179 <1: DejaVuSerif @ 12.0pt> sciences (<12: DejaVuSerif-Italic @ 12.0pt> phi-lo-so-phia mar-ga-ri-ta<1: DejaVuSerif @ 12.0pt> ), voire même comme une <12: DejaVuSerif-Italic @ 12.0pt> sa-gesse<1: DejaVuSerif @ 12.0pt> I am currently writing a French manual in philosophy. I need French, German an Ancient greek, arabic, chinese fonts on to achieve this work. Thanks a lot ! Jean-Pierre Le 28/10/2020 à 12:49, Jano Kula a écrit : > Hello Xenos, > > On Wed, 28 Oct 2020 at 10:50, Xenos Athenaios <adeimantos@free.fr > <mailto:adeimantos@free.fr>> wrote: > > Hi ConTeXt fellows ! > > I am coming back with I hope a lighter MWE concerning the issue I am > confronting to : it seems impossible to get italics within both body > text, footnotes and bibliographical titles. > > > It is a font setup problem. Remove your font definitions and fallbacks > and change \setupbodyfont[mainface] to \setupbodyfont[dejavu] for the > start (it will cover greek and cyryllic, too). > > Can you describe what you need? Are the requirements given (main font, > scripts, serif & sans, fallbacks fonts to other scripts)? > > For example IBM Plex <https://www.ibm.com/plex/languages/> will cover > most of what you need (except cjk for now) and there is a font > definition file type-imp-plex.mkiv in the distribution (not all > fallbacks defined, yet). > > Regards, > Jano > > > ___________________________________________________________________________________ > 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xtable row number trouble 2020-10-26 21:42 ` Wolfgang Schuster 2020-10-27 11:15 ` font rendering in bibliography Xenos Athenaios @ 2020-10-27 13:18 ` Oleg 1 sibling, 0 replies; 11+ messages in thread From: Oleg @ 2020-10-27 13:18 UTC (permalink / raw) To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users On Mon, Oct 26, 2020 at 10:42:47PM +0100, Wolfgang Schuster wrote: > Oleg schrieb am 26.10.2020 um 21:03: > > It seems that reseting once at table start is simpler, isn't it :-)? > > Try your method with natural table or tabulate and it won't work anymore. ok. > > What is the difference between \rawcounter and \convertedcounter? > > \rawcounter give me the plain number as i want. > > In this case there is no difference but I suggest to use \rawcounter > only when you need > the value of the counter, e.g. counter>... or counter=... > > With \convertedcounter you have always the option to change the style of > the value, > e.g. number conversion, prefixes etc. > > > What's about \newcount&\advance variant? Why it not work? > > Short answer: expansion > > You're using advance in a place where it is just ignored, there are ways > to get rid > of these limitations with Luametatex but it's better to use > \incrementcounter. ok. Thanks! -- Олег Неманов (Oleg Nemanov) ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-10-28 15:00 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-10-25 13:51 xtable row number trouble Oleg 2020-10-25 20:26 ` Wolfgang Schuster 2020-10-26 20:03 ` Oleg 2020-10-26 21:42 ` Wolfgang Schuster 2020-10-27 11:15 ` font rendering in bibliography Xenos Athenaios 2020-10-27 11:25 ` Denis Maier 2020-10-27 14:45 ` Jano Kula 2020-10-28 9:50 ` Xenos Athenaios 2020-10-28 11:49 ` Jano Kula 2020-10-28 15:00 ` Xenos Athenaios 2020-10-27 13:18 ` xtable row number trouble Oleg
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).