ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* example
@ 2001-06-11 20:03 Frans Goddijn
  2001-06-12  6:45 ` Rãspuns: example Dan Seracu
  0 siblings, 1 reply; 6+ messages in thread
From: Frans Goddijn @ 2001-06-11 20:03 UTC (permalink / raw)


Even though I'm aware that this example is by no means spectacular in
complexity, I mention it here anyway as it might serve as one other example
of the simplicity of using ConTeXt to generate a fine print-version and an
interactive screen-version of out of basically one file.

On www.johanpolak.nl I am publishing a (dutch) book of essays which, in
1991/2 was a best seller in its own niche of literary science. Circumstances
have it that I control the copyright so I was able to revitalize the book
which has been out of print for some years now.

Hans Hagen provided the basic setup and all I did was start work on the
chapter-by-chapter coding of the ascii text which a Belgian friend was kind
enough to scan out of the printed copy. A few chapters are up now and I plan
to add more in the coming weeks until the book is back entirely.

It's pleasant to see how the indexing engine allows greater accuracy than
the original book, but it's a bit scary that I might be introducing new
embarrassing errors of my own while triumphantly correcting those of others
;=}}

Best regards,

Frans


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Rãspuns: example
  2001-06-11 20:03 example Frans Goddijn
@ 2001-06-12  6:45 ` Dan Seracu
  2001-06-12 10:52   ` Frans Goddijn
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Seracu @ 2001-06-12  6:45 UTC (permalink / raw)
  Cc: NTG ConTeXt

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

Hello!

On www.johanpolak.nl I am publishing a (dutch) book of essays which, in
1991/2 was a best seller in its own niche of literary science. Circumstances
have it that I control the copyright so I was able to revitalize the book
which has been out of print for some years now.

Hans Hagen provided the basic setup and all I did was start work on the
chapter-by-chapter coding of the ascii text which a Belgian friend was kind
enough to scan out of the printed copy. A few chapters are up now and I plan
to add more in the coming weeks until the book is back entirely.

It is realy interesting to see ConTeXt at work in a real example. However, I
have a question (old question): how do you make all numbers to be old style?
I have tried, but I did not succeed (especialy in numbers that were
automaticaly generated

Dan

[-- Attachment #2: Type: text/html, Size: 1322 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Rãspuns: example
  2001-06-12  6:45 ` Rãspuns: example Dan Seracu
@ 2001-06-12 10:52   ` Frans Goddijn
  2001-06-12 12:50     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Frans Goddijn @ 2001-06-12 10:52 UTC (permalink / raw)


Hello Dan,

Thanks for your rãspuns!

About the old style fonts: one of my biggest wishes is that I could help
you, because then I could help myself more often as well ;=}}

If you're using Computer Modern, cmmi (computer modern math italic) is the
oldstyle font, which is a hidden gem in the TeX distribution. ConTeXt has a
command like \os{123} which should yield oldstyle 123 but it might also be
{\os 123} --- anyway I use \fgos{123} in my setup.

The truth is, Taco Hoekwater assisted me in installing the font files that I
purchased from www.fontshop.be --- at the fontshop of course they have no
idea what TeX is, they assume we all have Apple Macs ;=}}

Then at one time ConTeXt came out with a new version and in principle it's
all easier, with logical names referring to mappings linked to symbolic
hooks, but it just serves to make me very dizzy. That's no fault of ConTeXt,
it's just that I'm basically stupid with such things.

I am one of those dumb users that aren't helped with examples of the
principles and pointers towards the logic in the patterns, I need to find
what I should copy exactly to a specific location so that I can get on with
what I'm doing. So it usually ends up with my calling up Hans in some
subdued panic, and he gives me some hints, and if I'm lucky I get things to
work. And as you see I did, at least at home.

On my home machine, it all works but on my laptop where I copied all from
home, I can't compile any ConTeXt file without running into numerous font
complaints and I save looking into it until I feel quite clever someday...

Groet!

Frans
www.goddijn.com
www.johanpolak.nl

----- Original Message -----
From: Dan Seracu

> It is realy interesting to see ConTeXt at work
> in a real example. However, I have a question
> (old question): how do you make all numbers to
> be old style? I have tried, but I did not succeed
> (especialy in numbers that were automaticaly
> generated


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Rãspuns: example
  2001-06-12 10:52   ` Frans Goddijn
@ 2001-06-12 12:50     ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2001-06-12 12:50 UTC (permalink / raw)
  Cc: NTG-ConTeXt mailing list

At 12:52 PM 6/12/01 +0200, Frans Goddijn wrote:
>Hello Dan,
>
>Thanks for your rãspuns!
>
>About the old style fonts: one of my biggest wishes is that I could help
>you, because then I could help myself more often as well ;=}}

the main point is that you need a font with old style numbers in the 0-9
slots, then you can say: 

\definefont [oldstyle][ThisNiceFont]

and use bla bla {\oldstyle 123} everywhere you want. If the main fonts does
not hav eoldstyles, this is the only way. Of course one can make a virtual
font with digits or make digite active (dangerous) 

Hans 
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Example
@ 2001-01-22  5:27 David Arnold
  0 siblings, 0 replies; 6+ messages in thread
From: David Arnold @ 2001-01-22  5:27 UTC (permalink / raw)


Hans et all,

I would like to define an enumerated example environment. When the example
completes, via

\startexample...\stopexample,

I would like to typeset a little square (or other symbol) to indicate the
end of the example. Also, I would like a little vertical space both before
and after the example. 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Example
@ 2001-01-08  6:43 David Arnold
  0 siblings, 0 replies; 6+ messages in thread
From: David Arnold @ 2001-01-08  6:43 UTC (permalink / raw)


All,

I'd like to for an example environment for a textbook. It should look like:

Example 2 Here is the statement of the problem.

Solution: Here is the solution of the problem.

................................................> Here is a little square
or other symbol

There should be a little space before and after the example.

Thoughts?


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-06-12 12:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-11 20:03 example Frans Goddijn
2001-06-12  6:45 ` Rãspuns: example Dan Seracu
2001-06-12 10:52   ` Frans Goddijn
2001-06-12 12:50     ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2001-01-22  5:27 Example David Arnold
2001-01-08  6:43 Example David Arnold

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).