* Define exercise captions
[not found] <mailman.183.1257007130.22155.ntg-context@ntg.nl>
@ 2009-11-01 0:34 ` Vyatcheslav Yatskovsky
2009-11-01 1:34 ` Aditya Mahajan
2009-11-01 0:42 ` Setup math for times typescript Vyatcheslav Yatskovsky
2009-11-01 0:51 ` Suppress section numbering for first section Vyatcheslav Yatskovsky
2 siblings, 1 reply; 7+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-01 0:34 UTC (permalink / raw)
To: ntg-context
Hello,
I need to define a Exercise command that will enumerate exercises and
provide captions.
For example,
\exercise{Conversion from hex to dec}
should produce
Exercise 1.1. Conversion from hex to dec.
What is the best way to achieve that? Use \definehead or another command?
Best regards,
Vyatcheslav
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Setup math for times typescript
[not found] <mailman.183.1257007130.22155.ntg-context@ntg.nl>
2009-11-01 0:34 ` Define exercise captions Vyatcheslav Yatskovsky
@ 2009-11-01 0:42 ` Vyatcheslav Yatskovsky
2009-11-01 7:41 ` Mojca Miklavec
2009-11-01 0:51 ` Suppress section numbering for first section Vyatcheslav Yatskovsky
2 siblings, 1 reply; 7+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-01 0:42 UTC (permalink / raw)
To: ntg-context
Hello,
Hm.. Looks like a have a serious problem.
How to setup math for times typescript (Times New Roman) from type-win?
Whenever I try to specify typescript for a math font, I get the fatal error:
math virtual | the mapping is incomplete for 'txmath' at 393216
Actually, I even don't know how to setup [mm] properly. Please, help me
with this.
Regards,
Vyatcheslav
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Suppress section numbering for first section
[not found] <mailman.183.1257007130.22155.ntg-context@ntg.nl>
2009-11-01 0:34 ` Define exercise captions Vyatcheslav Yatskovsky
2009-11-01 0:42 ` Setup math for times typescript Vyatcheslav Yatskovsky
@ 2009-11-01 0:51 ` Vyatcheslav Yatskovsky
2009-11-01 1:35 ` Aditya Mahajan
2 siblings, 1 reply; 7+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-01 0:51 UTC (permalink / raw)
To: ntg-context
Hi again,
Sorry for flooding the list, but I started a big project and have tons
of questions )
How to suppress numbering solely for Introduction section? Strange, but
my elegant solution does not work:
\section[number=no]{INTRO}
Regards,
Vyatcheslav
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Define exercise captions
2009-11-01 0:34 ` Define exercise captions Vyatcheslav Yatskovsky
@ 2009-11-01 1:34 ` Aditya Mahajan
0 siblings, 0 replies; 7+ messages in thread
From: Aditya Mahajan @ 2009-11-01 1:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, 1 Nov 2009, Vyatcheslav Yatskovsky wrote:
> Hello,
>
> I need to define a Exercise command that will enumerate exercises and provide
> captions.
>
> For example,
>
> \exercise{Conversion from hex to dec}
>
> should produce
>
> Exercise 1.1. Conversion from hex to dec.
>
> What is the best way to achieve that? Use \definehead or another command?
\defineenumeration[exercise][title=yes,way=bysection]
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Suppress section numbering for first section
2009-11-01 0:51 ` Suppress section numbering for first section Vyatcheslav Yatskovsky
@ 2009-11-01 1:35 ` Aditya Mahajan
0 siblings, 0 replies; 7+ messages in thread
From: Aditya Mahajan @ 2009-11-01 1:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, 1 Nov 2009, Vyatcheslav Yatskovsky wrote:
> Hi again,
>
> Sorry for flooding the list, but I started a big project and have tons of
> questions )
>
> How to suppress numbering solely for Introduction section? Strange, but my
> elegant solution does not work:
>
> \section[number=no]{INTRO}
\subject{Intro} ??
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Setup math for times typescript
2009-11-01 0:42 ` Setup math for times typescript Vyatcheslav Yatskovsky
@ 2009-11-01 7:41 ` Mojca Miklavec
0 siblings, 0 replies; 7+ messages in thread
From: Mojca Miklavec @ 2009-11-01 7:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Nov 1, 2009 at 01:42, Vyatcheslav Yatskovsky wrote:
> Hello,
>
> Hm.. Looks like a have a serious problem.
> How to setup math for times typescript (Times New Roman) from type-win?
>
> Whenever I try to specify typescript for a math font, I get the fatal error:
>
> math virtual | the mapping is incomplete for 'txmath' at 393216
It should have been like in TeX Gyre (type-tmf.tex):
\starttypescript [myfont]
\definetypeface [\typescriptone] [rm] [serif] [times] [default]
\definetypeface [\typescriptone] [mm] [math] [times] [default]
\stoptypescript
\usetypescript[myfont]
\setupbodyfont[myfont,20pt]
unless something is interfering ... (I didn't try type-win.)
Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Suppress section numbering for first section
[not found] <mailman.187.1257061183.22155.ntg-context@ntg.nl>
@ 2009-11-01 12:53 ` Vyatcheslav Yatskovsky
0 siblings, 0 replies; 7+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-01 12:53 UTC (permalink / raw)
To: ntg-context
Thank you Aditya, this works. And I had this solution in mind too, just
was not sure that is is good to mess subjects with sections )
>> How to suppress numbering solely for Introduction section? Strange, but my
>> > elegant solution does not work:
>> >
>> > \section[number=no]{INTRO}
>>
> \subject{Intro} ??
>
>
Best wishes,
Vyatcheslav
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-11-01 12:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.183.1257007130.22155.ntg-context@ntg.nl>
2009-11-01 0:34 ` Define exercise captions Vyatcheslav Yatskovsky
2009-11-01 1:34 ` Aditya Mahajan
2009-11-01 0:42 ` Setup math for times typescript Vyatcheslav Yatskovsky
2009-11-01 7:41 ` Mojca Miklavec
2009-11-01 0:51 ` Suppress section numbering for first section Vyatcheslav Yatskovsky
2009-11-01 1:35 ` Aditya Mahajan
[not found] <mailman.187.1257061183.22155.ntg-context@ntg.nl>
2009-11-01 12:53 ` Vyatcheslav Yatskovsky
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).