* Re: Define exercise captions
[not found] <mailman.187.1257061183.22155.ntg-context@ntg.nl>
@ 2009-11-01 12:51 ` Vyatcheslav Yatskovsky
2009-11-01 23:51 ` Aditya Mahajan
2009-11-01 12:53 ` Suppress section numbering for first section Vyatcheslav Yatskovsky
2009-11-01 13:06 ` Setup math for times typescript Vyatcheslav Yatskovsky
2 siblings, 1 reply; 6+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-01 12:51 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?
>>
> \defineenumeration[exercise][title=yes,way=bysection]
>
Thank you Aditya, but the result is rather shoking )
Please, try
\starttext
\defineenumeration[exercise][title=yes, text=Вправа, way=bysection,
width=broad]
\exercise{Розрахунок кривої, яка з'єднує три точки на площині}
\stoptext
The "Вправа" is putted twice, next time inside some strange brackets.
The text gets out of the page.
How to setup so that numeration will be done by subsection (1.1, 1.2, etc.)?
Reards,
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] 6+ messages in thread
* Re: Suppress section numbering for first section
[not found] <mailman.187.1257061183.22155.ntg-context@ntg.nl>
2009-11-01 12:51 ` Define exercise captions Vyatcheslav Yatskovsky
@ 2009-11-01 12:53 ` Vyatcheslav Yatskovsky
2009-11-01 13:06 ` Setup math for times typescript Vyatcheslav Yatskovsky
2 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Re: Setup math for times typescript
[not found] <mailman.187.1257061183.22155.ntg-context@ntg.nl>
2009-11-01 12:51 ` Define exercise captions Vyatcheslav Yatskovsky
2009-11-01 12:53 ` Suppress section numbering for first section Vyatcheslav Yatskovsky
@ 2009-11-01 13:06 ` Vyatcheslav Yatskovsky
2 siblings, 0 replies; 6+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-01 13:06 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
On 01.11.2009 9:39, ntg-context-request@ntg.nl wrote:
> 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.)
>
OK, after playing with it, I get the the math (at least greek and latin
letters). But why are they not slanted?
Please see the attachment. Source for the formula is
$$(х−х_1)/(х_2−х_1)=(у−у1)/у2−у1),$$
Regards,
Vyatcheslav
[-- Attachment #2: Pages from tupicin.pdf --]
[-- Type: application/pdf, Size: 79668 bytes --]
[-- Attachment #3: Type: text/plain, Size: 486 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Define exercise captions
2009-11-01 12:51 ` Define exercise captions Vyatcheslav Yatskovsky
@ 2009-11-01 23:51 ` Aditya Mahajan
0 siblings, 0 replies; 6+ messages in thread
From: Aditya Mahajan @ 2009-11-01 23:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1139 bytes --]
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]
>>
>
> Thank you Aditya, but the result is rather shoking )
> Please, try
>
> \starttext
> \defineenumeration[exercise][title=yes, text=Вправа, way=bysection,
> width=broad]
>
> \exercise{Розрахунок кривої, яка з'єднує три точки на площині}
> \stoptext
>
>
> The "Вправа" is putted twice, next time inside some strange brackets.
> The text gets out of the page.
Looks like a bug in mkiv. Hans, text need to be handled differently in
descriptions and enumerations.
> How to setup so that numeration will be done by subsection (1.1, 1.2, etc.)?
prefix=yes,
Aditya
[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Setup math for times typescript
2009-11-01 0:42 ` Vyatcheslav Yatskovsky
@ 2009-11-01 7:41 ` Mojca Miklavec
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Setup math for times typescript
[not found] <mailman.183.1257007130.22155.ntg-context@ntg.nl>
@ 2009-11-01 0:42 ` Vyatcheslav Yatskovsky
2009-11-01 7:41 ` Mojca Miklavec
0 siblings, 1 reply; 6+ 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] 6+ messages in thread
end of thread, other threads:[~2009-11-01 23:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.187.1257061183.22155.ntg-context@ntg.nl>
2009-11-01 12:51 ` Define exercise captions Vyatcheslav Yatskovsky
2009-11-01 23:51 ` Aditya Mahajan
2009-11-01 12:53 ` Suppress section numbering for first section Vyatcheslav Yatskovsky
2009-11-01 13:06 ` Setup math for times typescript Vyatcheslav Yatskovsky
[not found] <mailman.183.1257007130.22155.ntg-context@ntg.nl>
2009-11-01 0:42 ` Vyatcheslav Yatskovsky
2009-11-01 7:41 ` Mojca Miklavec
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).