Re: [NTG-context] Figured bass symbols in a text.
On 10 aug. 2012, at 21:09, 19:59:36, Hans Hagen pra...@wxs.nl wrote The next beta has: \starttext \definelow [MyLow] [style=\txx] \definehigh [MyHigh] [style=\txx] \definelowhigh [MyLoHi] [style=\txx] \definelowmidhigh[MyLoMiHi][style=\txx] We have \ruledhbox{\low {L}} and \ruledhbox{\MyLow {L}} and \ruledhbox{\high{H}} and \ruledhbox{\MyHigh{H}} and \ruledhbox{\lohi {L}{H}} and \ruledhbox{\MyLoHi {L}{H}} and \ruledhbox{\lomihi{L}{M}{H}} and \ruledhbox{\MyLoMiHi{L}{M}{H}}. \stoptext Hi Hans, I just tested this for the figured bass symbols in my text. It is perfect. And it has at least one important advantage over the plain-TeX method, kindly offered by Michael Rogers, in that it uses the same font as that for he main text, which, in my case, will be probably a sans-serif font. The plain TeX solution, as far as I could see, uses only the serif version of LM, so it would haven given me serif-like figured bass symbols in an otherwise sans-serif document. Thank you very much. Kind regards, Robert ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Figured bass symbols in a text.
On Aug 12, 2012, at 5:00 AM, Robert Blackstone wrote: On 10 aug. 2012, at 21:09, 19:59:36, Hans Hagen pra...@wxs.nl wrote The next beta has: \starttext \definelow [MyLow] [style=\txx] \definehigh [MyHigh] [style=\txx] \definelowhigh [MyLoHi] [style=\txx] \definelowmidhigh[MyLoMiHi][style=\txx] We have \ruledhbox{\low {L}} and \ruledhbox{\MyLow {L}} and \ruledhbox{\high{H}} and \ruledhbox{\MyHigh{H}} and \ruledhbox{\lohi {L}{H}} and \ruledhbox{\MyLoHi {L}{H}} and \ruledhbox{\lomihi{L}{M}{H}} and \ruledhbox{\MyLoMiHi{L}{M}{H}}. \stoptext Hi Hans, I just tested this for the figured bass symbols in my text. It is perfect. And it has at least one important advantage over the plain-TeX method, kindly offered by Michael Rogers, in that it uses the same font as that for he main text,... It uses the math font, which is worse. I should have wrapped the arguments with \hbox and thrown in a \tx or \txx. Or waited a little longer for the good solution. :) Best, Michael This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] formula in TABLE is not continuous numbered
Hi, please have a look at this minimal example below: you'll find three formulas (1), (4), (5) What happen to (2) and (3)? Steffen ... \starttext \placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE \placeformula \startformula c-b=a \stopformula \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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] formula in TABLE is not continuous numbered
Am 12.08.2012 um 21:48 schrieb Steffen Wolfrum cont...@st.estfiles.de: Hi, please have a look at this minimal example below: you'll find three formulas (1), (4), (5) What happen to (2) and (3)? Steffen ... \starttext \placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE \placeformula \startformula c-b=a \stopformula \stoptext It’s a bug in the formula numbering. Natural tables perform three runs on the table content to calculate the cell size but formula etc. counters shouldn’t be increases in the first two runs. 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] formula in TABLE is not continuous numbered
Am 12.08.2012 um 22:10 schrieb Wolfgang Schuster: Am 12.08.2012 um 21:48 schrieb Steffen Wolfrum cont...@st.estfiles.de: Hi, please have a look at this minimal example below: you'll find three formulas (1), (4), (5) What happen to (2) and (3)? Steffen ... \starttext \placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE \placeformula \startformula c-b=a \stopformula \stoptext It’s a bug in the formula numbering. Natural tables perform three runs on the table content to calculate the cell size but formula etc. counters shouldn’t be increases in the first two runs. great, yet another bug hunted! and what can be done (on the short-run) to avoid increasing? is there a handy command to manually count down by two? steffen ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bold math trouble
Hi. I use ConTeXt in Debian. If this helps, please keep it in mind: dpkg -l context gives: ii context 2012.05.30.20120611-1 Now, if you consider the following: code \usetypescript[palatino][texnansi] \definetypeface[mainface][mm][math][modern][modern][encoding=texnansi] \definetypeface [boldmath] [mm] [boldmath] [modern] [modern] [encoding=texnansi] \switchtobodyfont[palatino,14pt] \starttext Hi \startformula x = \boldsymbol{\Sigma}\Sigma \stopformula \stoptext /code The issue I have is that this doesn't work, and throws me: ! Math formula deleted: Insufficient symbol fonts. \mathboldsymbol ...t]$\mathsurround \zeropoint #1$ }} {\hbox {\switchtoformul... l.9 x = \boldsymbol{\Sigma} \Sigma However, if I make the 14pt above 11pt or 12pt, it works perfectly. Is there something I am doing wrong? Thanks. Kumar -- Kumar Appaiah ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] formula in TABLE is not continuous numbered
Am 12.08.2012 um 22:19 schrieb Steffen Wolfrum cont...@st.estfiles.de: Am 12.08.2012 um 22:10 schrieb Wolfgang Schuster: Am 12.08.2012 um 21:48 schrieb Steffen Wolfrum cont...@st.estfiles.de: Hi, please have a look at this minimal example below: you'll find three formulas (1), (4), (5) What happen to (2) and (3)? Steffen ... \starttext \placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE \placeformula \startformula c-b=a \stopformula \stoptext It’s a bug in the formula numbering. Natural tables perform three runs on the table content to calculate the cell size but formula etc. counters shouldn’t be increases in the first two runs. great, yet another bug hunted! and what can be done (on the short-run) to avoid increasing? is there a handy command to manually count down by two? You can replace \placeformula with \doifnotmode{*trialtypesetting}\placeformula 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] formula in TABLE is not continuous numbered
Am 12.08.2012 um 22:33 schrieb Wolfgang Schuster: Am 12.08.2012 um 22:19 schrieb Steffen Wolfrum cont...@st.estfiles.de: Am 12.08.2012 um 22:10 schrieb Wolfgang Schuster: Am 12.08.2012 um 21:48 schrieb Steffen Wolfrum cont...@st.estfiles.de: Hi, please have a look at this minimal example below: you'll find three formulas (1), (4), (5) What happen to (2) and (3)? Steffen ... \starttext \placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE \placeformula \startformula c-b=a \stopformula \stoptext It’s a bug in the formula numbering. Natural tables perform three runs on the table content to calculate the cell size but formula etc. counters shouldn’t be increases in the first two runs. great, yet another bug hunted! and what can be done (on the short-run) to avoid increasing? is there a handy command to manually count down by two? You can replace \placeformula with \doifnotmode{*trialtypesetting}\placeformula Wolfgang yes we can! ;o) great, thank you wolfgang st. ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] formula in TABLE is not continuous numbered
On 12-8-2012 22:10, Wolfgang Schuster wrote: Am 12.08.2012 um 21:48 schrieb Steffen Wolfrum cont...@st.estfiles.de: Hi, please have a look at this minimal example below: you'll find three formulas (1), (4), (5) What happen to (2) and (3)? Steffen ... \starttext \placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE \placeformula \startformula c-b=a \stopformula \stoptext It’s a bug in the formula numbering. Natural tables perform three runs on the table content to calculate the cell size but formula etc. counters shouldn’t be increases in the first two runs. It's always hard to predict side effects (as we can have more data being involved; also. not incrementing will give the wrong number and therefore the wrong size calculations. Something like the following can be used for testing: \let\strc_formulas_handle_numbering_indeed \strc_formulas_handle_numbering \let\strc_formulas_handle_sub_numbering_indeed\strc_formulas_handle_sub_numbering \let\strc_formulas_handle_sub_number_indeed \strc_formulas_handle_sub_number \def\strc_formulas_handle_numbering {\iftrialtypesetting \strc_counters_save\v!formula \strc_formulas_handle_numbering_indeed \strc_counters_restore\v!formula \else \strc_formulas_handle_numbering_indeed \fi} \def\strc_formulas_handle_sub_numbering {\iftrialtypesetting \strc_counters_save\v!formula \strc_formulas_handle_sub_numbering \strc_counters_restore\v!formula \else \strc_formulas_handle_sub_numbering \fi} \def\strc_formulas_handle_sub_number % sub formulas {\iftrialtypesetting \strc_counters_save\v!formula \strc_formulas_handle_sub_number_indeed \strc_counters_restore\v!formula \else \strc_formulas_handle_sub_number_indeed \fi} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bold math trouble
On 12-8-2012 22:25, Kumar Appaiah wrote: Hi. I use ConTeXt in Debian. If this helps, please keep it in mind: dpkg -l context gives: ii context 2012.05.30.20120611-1 Now, if you consider the following: code you can try ad here: \definebodyfontenvironment[14pt] \usetypescript[palatino][texnansi] \definetypeface[mainface][mm][math][modern][modern][encoding=texnansi] \definetypeface [boldmath] [mm] [boldmath] [modern] [modern] [encoding=texnansi] \switchtobodyfont[palatino,14pt] \starttext Hi \startformula x = \boldsymbol{\Sigma}\Sigma \stopformula \stoptext /code The issue I have is that this doesn't work, and throws me: ! Math formula deleted: Insufficient symbol fonts. \mathboldsymbol ...t]$\mathsurround \zeropoint #1$ }} {\hbox {\switchtoformul... l.9 x = \boldsymbol{\Sigma} \Sigma However, if I make the 14pt above 11pt or 12pt, it works perfectly. Is there something I am doing wrong? maybe there is no bold math available - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bold math trouble
Dear Hans, On Mon, Aug 13, 2012 at 12:41:09AM +0200, Hans Hagen wrote: you can try ad here: \definebodyfontenvironment[14pt] Thanks. \usetypescript[palatino][texnansi] \definetypeface[mainface][mm][math][modern][modern][encoding=texnansi] \definetypeface [boldmath] [mm] [boldmath] [modern] [modern] [encoding=texnansi] \switchtobodyfont[palatino,14pt] \starttext Hi \startformula x = \boldsymbol{\Sigma}\Sigma \stopformula \stoptext /code The issue I have is that this doesn't work, and throws me: ! Math formula deleted: Insufficient symbol fonts. \mathboldsymbol ...t]$\mathsurround \zeropoint #1$ }} {\hbox {\switchtoformul... l.9 x = \boldsymbol{\Sigma} \Sigma However, if I make the 14pt above 11pt or 12pt, it works perfectly. Is there something I am doing wrong? maybe there is no bold math available I see. In other words, you are saying that I don't have the fonts to generate bold math at those sizes? I'll settle with a workaround without bold math for now, then. Thanks! Kumar -- Kumar Appaiah ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___