[NTG-context] TABLE: spacing, before/after

2005-04-13 Thread Eckhart Guthöhrlein
Hi,

three questions:
- How can I control horizontal spacing of columns in natural tables?
- What about vertical spacing?
- How can I insert material after/before each cell, something like
\setuptable[row][first][before=bla bla] ?

Thanks,
-- 
Eckhart
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] MetaPost 0.893 announcement

2005-04-13 Thread Taco Hoekwater
The MetaPost team is happy to announce the release of a new beta:
--
MetaPost 0.893 (beta for 0.9)
--
This is a public beta release for the upcoming version 0.9. The
sources and a win32 package can be downloaded immediately from
  http://sarovar.org/projects/metapost/
The source package should compile normally on all systems that are
capable of compiling a modern web2c-based TeX distribution.
The win32  package is intended for fptex or a similar web2c-based
installation, and has been tested only with TeXLive 2003. The
executables will *not* work for miktex, sorry.
After beta testing, this version will hopefully become the next
official release of MetaPost, at the end of April 2005. That is
roughly two weeks from today, so test reports are very welcome.
Of course, we welcome any comments (either good or bad) that you may
have. Simply replying to this message is fine, but see the bottom of
this message for a more formal way to report bugs and feature requests.
For those of you who have noted the large gap between 0.641 and 0.9:
We have deliberately chosen to step over some minor version numbers,
such that the first major release by the current team (this release
is planned for the autumn of 2005) can become version 1.0 without
causing additional confusion.
--
What is new in version 0.9:
--
1. There is a new internal quantity called mpversion that reports the
   current metapost version, and the version information is also written
   to the PostScript file.
2. The LaTeX sources of the mpman, mpintro, and mpgraph manuals have
   become part of the distribution package.
3. TEX.mp now has TeX format support through a pair of macros called
   TEXPRE() and TEXPOST(). This llows you to process the contents of
   the TEX() macro with, for example, LaTeX (instead of plain TeX).
   An example is given in the manual.
4. metapost now writes a %%HiReSBoundingBox comment
5. The EPS output no longer contains actual spaces within PostScript
   strings as for example output by label("a space"), but their
   octal escape (\040) instead.
6. The EPS output now also has a %%BeginProlog DSC comment
   as well as %%EndProlog
7. The comments in the Web source have been changed to point out
   that on modern machines, acquiring the random seed has actually
   become a system-dependant operation (a granularity of whole seconds
   is not small enough on new machines).
8. The 'newer' command now accepts more than 2 arguments, testing
   each of the files in turn.
--
Bugfixes in version 0.9:
--
1. Documentation improvements: all known errata and typos have been
   removed, better explanations of e.g. dash patterns and dotlabel have
   been provided, and a number of omissions has been rectified.
2. The BoundingBox was not computed correctly when a filldraw command
   with a noticeable pen size was used at the edge of the picture.
3. Paths starting with degenerate constructions like (0,0)--(0,0)--(0,0)
   could overflow memory.
4. The PostScript output could accidentally contain 8-bit characters
   within PostScript strings in previous versions because a test was
   shared between terminal printing and PostScript printing.
5. A bug has been found in the assignment of serial numbers to
   independant variables in metafont 2.71828. This bug affected MP as
   well, and the same patch has been applied.
6. The turningnumber was sometimes wrong in unexpected ways. The new
   implementation is still sometimes wrong (when there are strange path
   segments involved), but in a much more predictable way: the new code
   always draws straight lines between the actual points, and calculates
   the turningnumber based on that path instead of the actual path. The
   effect is that cusps and loops within segments are now completely
   ignored. A more thorough fix of turningnumber is planned for the
   next release.
7. There was an 'off by one' error in dvitomp wrt. the interpretation
   of virtual fonts.
8. mpto uses a new TeX macro for the generation of labels, making it
   more robust wrt. strange user code within the actual label text.
9. A missing colon in boxes.mp has been added
10. A missing save in mfplain.mp has been added
11. The generisize in boxes.mp has been fixed so that it now accepts
   [[ as a valid variable name
--
Legal notice / license / bug reports
--
MetaPost is a system for producing graphics developed by John Hobby
at AT&T, based on Donald Knuth's Metafont.  The MetaPost home page
is http://tug.or

Re: [NTG-context] border widths with TABLE

2005-04-13 Thread Eckhart Guthöhrlein
On Tue, 12 Apr 2005 at 15:54:49-0400, Paul Tremblay wrote:
> On Tue, Apr 12, 2005 at 01:05:45PM +0200, Eckhart Guthöhrlein wrote:
> > 
> > As far as I know, this is not possible in an easy way. Have a look about
> > the booktabs dicussions some days ago.
> 
> That's really too bad. You can do so much else with TABLE.

Ah really? It is not intended to be used as it is, just an idea how you
can get lines with different widths.

-- 
Eckhart
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Russian

2005-04-13 Thread Albrecht Kauffmann
Hi all,

I've tried to typeset in Russian with utf-8 fonts, like explained at
contextgarden.net/Russian. cm-super-fonts are installed, included tfm-,
enc- and map-files. Running the example

\enableregime[utf]
\useencoding[cyr]

\definetypeface [russian]
  [rm] [serif] [computer-modern] [default] [encoding=t2a]

\setupbodyfont[russian]
\starttext
 ?  % Some Russian characters
\stoptext

I got error messages (see the attached logfile): the font larm1000 was not
found.

Have I to edit some lines in type-map.tex? Or what could be wrong?

With many thanks for any hint
Albrecht

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.3) (format=cont-en 
2005.4.13)  13 APR 2005 11:22
entering extended mode
**&cont-en bsp.tex
(./bsp.tex

ConTeXt  ver: 2005.01.28  fmt: 2005.4.13  int: english  mes: english

language: language en is active

system  : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
color   : palette rollover is available
system (E-TEX) : [line 878] 
system (E-TEX) : [line 933] 
)
system  : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded
(/var/lib/texmf/tex/context/config/cont-sys.tex)
bodyfont: 12pt rm is loaded
language: patterns en->default:default->1->2:2 uk->default:default->2->
2:2 de->default:default->3->2:2 fr->default:default->4->2:2 es->default:default
->5->2:2 it->default:default->6->2:2 nl->default:default->7->2:2 loaded
specials: tex,postscript,rokicki loaded
\openout2 = `bsp.tui'.

system  : bsp.top loaded
(./bsp.top)
\openout0 = `bsp-mpgraph.mp'.

\openout0 = `mpgraph.mp'.

Missing character: There is no ^^ef in font cmr12!
Missing character: There is no ^^bb in font cmr12!
Missing character: There is no ^^bf in font cmr12!

specials: loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex 
system (E-TEX) : [line 2280] \ifcsname 
)
specials: fdf loaded
)
specials: fdf,tpd loaded
encoding: coding cyr is loaded
(/usr/share/texmf/tex/context/base/enco-cyr.tex
encoding: coding t2a
encoding: coding t2b
encoding: coding t2c
encoding: coding x2
encoding: coding lcy
) (/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex)
(/usr/share/texmf/tex/context/base/type-buy.tex)
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex)
(/usr/share/texmf/tex/context/base/type-buy.tex) (./bsp.tuo
systems : possible problem with 8 bit output
) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo)
(./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo)
fonts   : using map file: texnansi-public-lm.map
fonts   : using map file: original-public-vnr.map
fonts   : using map file: original-public-csr.map
fonts   : using map file: original-public-plr.map
fonts   : using map file: original-public-lm.map
fonts   : using map file: original-ams-euler.map
fonts   : using map file: original-ams-cmr.map
fonts   : using map file: texnansi-base.map
fonts   : using map file: t5-base.map
fonts   : using map file: qx-base.map
fonts   : using map file: 8r-base.map
fonts   : using map file: ec-base.map
fonts   : using map file: ec-public-lm.map
fonts   : using map file: original-base.map
systems : begin file bsp at line 9
[1.1{/usr/share/texmf/fonts/map/pdftex/context/original-empty.map}{/usr/share/t
exmf/fonts/map/pdftex/context/texnansi-public-lm.map}{/usr/share/texmf/fonts/ma
p/pdftex/context/original-public-vnr.map}{/usr/share/texmf/fonts/map/pdftex/con
text/original-public-csr.map}{/usr/share/texmf/fonts/map/pdftex/context/origina
l-public-plr.map}{/usr/share/texmf/fonts/map/pdftex/context/original-public-lm.
map}{/usr/share/texmf/fonts/map/pdftex/context/original-ams-euler.map}{/usr/sha
re/texmf/fonts/map/pdftex/context/original-ams-cmr.map}{/usr/share/texmf/fonts

[NTG-context] formatted pagenumbers in registers

2005-04-13 Thread sjoerd siebinga
I have noticed a strange irregularity in the formatting of pagenumbers 
in one of my registers. Somehow not every pagenumber that should be 
bold has been rendered bold.

 I have defined this register as follows.

\defineregister[indexri][Dialect of Riustring 1] %
\setupregister[indexri][lemma][pagestyle=bold]

Does anyone know how to solve this problem?
Sjoerd
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: bib translation

2005-04-13 Thread Patrick Gundlach
Hi Taco,


> Patching your local bibl-apa.tex file is the current 'solution',
> (because there actually is no solution yet)

I also had to patch cont-au.bst. I wonder what naming I should use now
for the translated files.

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: bib translation

2005-04-13 Thread Taco Hoekwater
The next release of the module will solve this problem (differently),
so it does not really matter much as long as you think of a name you
won't forget ;-)
Taco
Patrick Gundlach wrote:
Hi Taco,
Patching your local bibl-apa.tex file is the current 'solution',
(because there actually is no solution yet)

I also had to patch cont-au.bst. I wonder what naming I should use now
for the translated files.
Patrick
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] oldstyle figures

2005-04-13 Thread Eckhart Guthöhrlein
Hi all,

is there a way to set up oldstyle figures as the default? I have found
some stuff searching the archive, but it doesn't really help me to get
along.
And does it work with the \digits command?

Greetings,
-- 
Eckhart
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] page number in \cite

2005-04-13 Thread Robert Ullrey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks Eckhart, I am still somewhat new to the list so knowing now what 
an excellent archive it has is great.

Robert

On Apr 12, 2005, at 1:07 PM, Eckhart GuthÃhrlein wrote:

> Probably you've seen this one:
> http://archive.contextgarden.net/thread/20050217.043531.e1778ec1.html
>
> A little older:
> http://archive.contextgarden.net/thread/20010906.200738.c917d16a.html
>
> -- 
> Eckhart 
-BEGIN PGP SIGNATURE-
Version: PGP 8.1

iQA/AwUBQl0mZfFTYcwurb3FEQLVzQCfbNWH/shQabPDh/5tbayvbTYVm3gAoI7O
n6m67crP5zSv5gJClq1X+f6Z
=4NFD
-END PGP SIGNATURE-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Russian

2005-04-13 Thread Albrecht Kauffmann


On Wed, 13 Apr 2005, Albrecht Kauffmann wrote:

> Hi all,
>
> I've tried to typeset in Russian with utf-8 fonts, like explained at
> contextgarden.net/Russian. cm-super-fonts are installed, included tfm-,
> enc- and map-files. Running the example
>
> \enableregime[utf]
> \useencoding[cyr]
>
> \definetypeface [russian]
>   [rm] [serif] [computer-modern] [default] [encoding=t2a]
>
> \setupbodyfont[russian]
> \starttext
>  ?  % Some Russian characters
> \stoptext
>
> I got error messages (see the attached logfile): the font larm1000 was not
> found.
>
> Have I to edit some lines in type-map.tex? Or what could be wrong?

If I add to type-map.tex:
\starttypescript [map] [computer-modern] [t2a]
   \loadmapfile[cm-super-t2a.map]
\stoptypescript

I get russian fonts, but these are not the right ones.

I would be very glad, if anyone could help me to solve the problem.

Thanks
Albrecht


>
> With many thanks for any hint
> Albrecht
>
>
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bug with \setupsynonyms

2005-04-13 Thread Eckhart Guthöhrlein
Hi,

formatting synonyms with \setupsynonyms does not work when these are
part of e.g. section headers. Example:

\abbreviation{XYZ}{whatever}
\setupabbreviations[textstyle=bold,synonymstyle=slanted]
\starttext
This should be bold/slanted: \XYZ/\infull{XYZ}. And it is.
\section{This ist not: \XYZ/\infull{XYZ}}
\stoptext

I think this is not as it should be.

Greetings,
-- 
Eckhart
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Russian

2005-04-13 Thread Mikael Persson
On 4/13/05, Albrecht Kauffmann <[EMAIL PROTECTED]> wrote:
> 
> 
> On Wed, 13 Apr 2005, Albrecht Kauffmann wrote:
> 
> > Hi all,
> >
> > I've tried to typeset in Russian with utf-8 fonts, like explained at
> > contextgarden.net/Russian. cm-super-fonts are installed, included tfm-,
> > enc- and map-files. Running the example
> >
> > \enableregime[utf]
> > \useencoding[cyr]
> >
> > \definetypeface [russian]
> >   [rm] [serif] [computer-modern] [default] [encoding=t2a]
> >
> > \setupbodyfont[russian]
> > \starttext
> >  ?  % Some Russian characters
> > \stoptext
> >
> > I got error messages (see the attached logfile): the font larm1000 was not
> > found.
> >
> > Have I to edit some lines in type-map.tex? Or what could be wrong?
> 
> If I add to type-map.tex:
> \starttypescript [map] [computer-modern] [t2a]
>\loadmapfile[cm-super-t2a.map]
> \stoptypescript
> 
> I get russian fonts, but these are not the right ones.
> 
> I would be very glad, if anyone could help me to solve the problem.
> 
> Thanks
> Albrecht
> 
> 

Hello Albrecht,

Are you sure that you have saved your file in the utf-8 encoding and
not in koi8r or something? The problem of getting the wrong characters
can come from that. Moreover, the example:

%%
\enableregime[utf]
\useencoding[cyr]

\definetypeface [russian]
  [rm] [serif] [computer-modern] [default] [encoding=t2a]

\setupbodyfont[russian]
\starttext
Мама и Папа % Some Russian characters
\stoptext
%%

from the wiki page works here. (Ok, since I wrote the page it would be
kind of weird if it did not). Have you generated the tmf files?

Have anyone else tried if it works for them?

Regards, Micke P
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] oldstyle figures

2005-04-13 Thread Idris Samawi Hamid
On Wed, 13 Apr 2005 15:23:47 +0200, Eckhart Guthöhrlein 
<[EMAIL PROTECTED]> wrote:

Hi all,
is there a way to set up oldstyle figures as the default? I have found
some stuff searching the archive, but it doesn't really help me to get
along.
=
\starttext
\usetypescript [modern][\defaultencoding]
\usetypescript [map]   [latin-modern-os] [\defaultencoding]
\setupbodyfont[modern] test 1234 test
\stoptext
=
And I'm working on a ConTeXt magazine where I show how to do this.
Best
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bug with \setupsynonyms

2005-04-13 Thread Adam Lindsay
Eckhart Guthöhrlein said this at Wed, 13 Apr 2005 17:08:29 +0200:

>formatting synonyms with \setupsynonyms does not work when these are
>part of e.g. section headers. Example:
>
>I think this is not as it should be.

It might not be as you expected, but it is as it should be. How about this?

\definealternativestyle[mybold] [\emphbf][\emphbf]
\definealternativestyle[myslant][\emphsl][\emphsl]
\abbreviation{XYZ}{whatever}
\setupabbreviations[textstyle=mybold,synonymstyle=myslant]
This should be bold/slanted: \XYZ/\infull{XYZ}. And it is.
\section{This ist not: \XYZ/\infull{XYZ}}


"bold" is defined this way, meaning that it avoids applying bold in headings:
 \definealternativestyle [bold] [\bf]  []
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] confused on which table

2005-04-13 Thread Paul Tremblay
On Tue, Apr 12, 2005 at 08:01:08AM +0100, VnPenguin wrote:
> 
> In your page, section "Customizing TABLE"
> 
> sub-section "customization options": the table "Possible options for
> setuoTABLE" has some typo :)
> width= --> set height ?
> "set" & "sets" ?
>  
> 

Thanks. I corrected the height typo, and realize you also pointed to a
"sets" typo. 


Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] new beta

2005-04-13 Thread Hans Hagen
Hi,
There is a new beta as well as a new magazine:
  http://www.pragma-ade.com/general/magazines/mag-0010.pdf
concerning the beta, i hope that engine path support is now better in texexec; 
there is also a new version of pstopdf (for the moment called newpdftops); when 
  inkscape is installed (v 0.41) you mag give svg to pdf a try

concerning on the fly conversion ... i need to make a new manual (or magazine) 
explaining it first;

among the new things is 'typescript definitions in your source file' (makes 
sense for small typescripts, not for large ones); see cont-sys.rme for a new 
option (\preloadtypescripts; it burns some memory but it's faster)

Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] footnote reference mark font switch

2005-04-13 Thread Idris Samawi Hamid
Dear cartel,

I need to switch to a different font for the footnote reference markers. First 
attempt failed:

===
% output=pdf interface=en
\setupfootnotes[before=\ss,after=\sc]

\starttext

This is a test.\footnote{This is a test}

\stoptext
===

The idea is to print the reference marker, in this case `1', in a different 
font from both the main text and from the footnote text. That is, 
\setupfootnotes should let me transparently distinguish between

1. main text font;
2. reference marker font
3. footnote text font.

Please advise, and I have a nice trick to show you once this is done:-)

Best
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Figures insertion.

2005-04-13 Thread Dirar BOUGATEF
Hi all,
Have been looking around in doc, but could not catch a simple way to insert 
an image into my doc.
What is the simplest way to do this ?
My image name is paris.bmp, and i don't have any info about the size (lets 
assume it is a 4cmx4cm).
Thanks for any help.

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Figures insertion.

2005-04-13 Thread Matthias Weber
I am not sure whether ConTeXt supports .bmp. You can try
\placefigure
[]
[figure:label]
{My Caption}
{\externalfigure[paris][width=4cm]}
ConTeXt will look for picture files it understands that begin with 
"paris",
starting with the ones that produce best quality. If it doesn't like 
the .bmp extension,
convert your file to .png (lossless compression) or .jpg.
This also will have the advantage that your pdf file will become 
smaller.

Matthias
On Apr 13, 2005, at 4:20 PM, Dirar BOUGATEF wrote:
Hi all,
Have been looking around in doc, but could not catch a simple way to 
insert an image into my doc.
What is the simplest way to do this ?
My image name is paris.bmp, and i don't have any info about the size 
(lets assume it is a 4cmx4cm).
Thanks for any help.

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Figures insertion.

2005-04-13 Thread Patrick Gundlach

> Have been looking around in doc, but could not catch a simple way to
> insert an image into my doc.

http://texshow.contextgarden.net/cmd=externalfigure

\externalfigure[paris]

but beware, pdftex does not include bmp graphics. Only
png/jpeg/pdf/metapost. 

See also \placefigure
http://texshow.contextgarden.net/cmd=placefloat

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote reference mark font switch

2005-04-13 Thread Adam Lindsay
Idris Samawi Hamid said this at Wed, 13 Apr 2005 14:54:51 -0600:

>The idea is to print the reference marker, in this case `1', in a different 
>font from both the main text and from the footnote text. That is, 
>\setupfootnotes should let me transparently distinguish between

How about this?

\setupfootnotes[style=\ss,textcommand=,command=,textstyle=smallcapped]

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Defining references points

2005-04-13 Thread Nikolai Weibull
I have tried figuring out how to define a reference point at any given
location in a document, but haven't been able to come to a solution,
so...how do I do it?  What I'd really like to do would be to write:

\placerefpoint[name][description]

and then be able to write

see \about[name], \atpage[name].

with the obvious semantics.

Thanks,
nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bi-lingual book

2005-04-13 Thread Ciro Soto
I am thinking in producing a book in two languages.
One language will be in the verso side of the paper sheet,
and the second language will be in the rector side. Trying to
be as mirror images so the reader could (if so desired)
learn one language from the other.

Questions:
1) Is there a way to do it with two files (one for langauge 1, another
for language 2)
or do I have to put all in one file?
2) Would it be easier to write two pdfs file and do a composition afterward?
3) How to control the length of pages in each language individually, to match
the content of the recto/verso pages.
Any general advice?

thank you
Ciro
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Defining references points

2005-04-13 Thread Matthias Weber
Use
\pagereference[name] or \textreference[name]{text}
to place a label, and \at{page}[name]  to refer to the page number.
Details are  in core-ref.tex
Matthias
On Apr 13, 2005, at 4:34 PM, Nikolai Weibull wrote:
I have tried figuring out how to define a reference point at any given
location in a document, but haven't been able to come to a solution,
so...how do I do it?  What I'd really like to do would be to write:
\placerefpoint[name][description]
and then be able to write
see \about[name], \atpage[name].
with the obvious semantics.
Thanks,
nikolai
--
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote reference mark font switch

2005-04-13 Thread Idris Samawi Hamid
On Wed, 13 Apr 2005 22:35:29 +0100, Adam Lindsay <[EMAIL PROTECTED]> 
wrote:

Idris Samawi Hamid said this at Wed, 13 Apr 2005 14:54:51 -0600:
The idea is to print the reference marker, in this case `1', in a 
different
font from both the main text and from the footnote text. That is,
\setupfootnotes should let me transparently distinguish between
How about this?
\setupfootnotes[style=\ss,textcommand=,command=,textstyle=smallcapped]
Your setup compiled but did not work, even after bracketing the commands. 
I still get no font changes:

==
% output=pdf interface=en
%\setupfootnotes[before=\ss,after=\sc]
\setupfootnotes[{style=\ss},{textstyle=\sc}]
\starttext
This is a test.\footnote{This is a test}
\stoptext
==
Caveat: My up-to-date (well, before the latest beta) is at home and I'm at 
work with an older ConTeXt. OTOH but this is not a new feature so should 
work...

Thnx
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote reference mark font switch

2005-04-13 Thread Idris Samawi Hamid
Dear Hans: (unless I'm missing something) is it possible to get an option
\setupfootnotes[{markstyle=\switchtobodyfont[myfont]}]
where the size defaults to the normal footnote mark size?
Best
Idris
On Wed, 13 Apr 2005 14:54:51 -0600, Idris Samawi Hamid 
<[EMAIL PROTECTED]> wrote:

Dear cartel,
I need to switch to a different font for the footnote reference markers. 
First
attempt failed:

===
% output=pdf interface=en
\setupfootnotes[before=\ss,after=\sc]
\starttext
This is a test.\footnote{This is a test}
\stoptext
===
The idea is to print the reference marker, in this case `1', in a 
different
font from both the main text and from the footnote text. That is,
\setupfootnotes should let me transparently distinguish between

1. main text font;
2. reference marker font
3. footnote text font.
Please advise, and I have a nice trick to show you once this is done:-)
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \definetype[...][option=...] problems

2005-04-13 Thread Nikolai Weibull
Try running

\setupcolors[state=start]
\definetype[JS][option=JS]
\starttext
\JS{function}\par
\JS{function }\par
\JS{ function}\par
\JS{ function }
\stoptext

The first paragraph will only be the first character, f, the reason is
made clear from the following two paragraphs.

In the second paragraph, function comes out, but it isn't highlighted as
a keyword, as the initial f has been consumed and thus the "unction"
part doesn't match any keywords.  I guess this is due to the
type-handling checking for double characters, like in \type<< ... >>?

In the third paragraph, only the initial space is output.  The rest will
never be output, as \PLsequence never gets a chance to be printed.

Only in the fourth paragraph is "function" output correctly, although it
is now surrounded by two spaces.

Any suggestions on possible solutions, other than removing the
option=JS?,
nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote reference mark font switch

2005-04-13 Thread Adam Lindsay
Idris Samawi Hamid said this at Wed, 13 Apr 2005 16:39:45 -0600:

>Your setup compiled but did not work, even after bracketing the commands. 
>I still get no font changes:
>
>==
>% output=pdf interface=en
>
>%\setupfootnotes[before=\ss,after=\sc]
>\setupfootnotes[{style=\ss},{textstyle=\sc}]
>
>\starttext
>
>This is a test.\footnote{This is a test}
>
>\stoptext
>==

Don't bracket them, and the blank command parameters also play a role (to
over-ride the \high command, in case you have superior figures, for example).

Also, keep in mind that the particular font switches you chose are not
very visible in LMR with a single '1' character. Try:

\setupfootnotes[style=italic,textcommand=,command=,textstyle=boldslanted]

>Caveat: My up-to-date (well, before the latest beta) is at home and I'm at 
>work with an older ConTeXt. OTOH but this is not a new feature so should 
>work...

Au contraire, Hans gave footnote styles a big overhaul last summer, iirc.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Re: Figures insertion.

2005-04-13 Thread Dirar BOUGATEF
Thanks guys, you've made my evening :)
Original Message Follows
From: "Patrick Gundlach" <[EMAIL PROTECTED]>
Reply-To: mailing list for ConTeXt users 
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Figures insertion.
Date: 13 Apr 2005 23:28:00 +0200
MIME-Version: 1.0
Received: from ronja.ntg.nl ([131.211.172.88]) by mc9-f32.hotmail.com with 
Microsoft SMTPSVC(6.0.3790.211); Wed, 13 Apr 2005 14:28:10 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])by ronja.ntg.nl 
(Postfix) with ESMTP id 70ED6128BA;Wed, 13 Apr 2005 23:27:39 +0200 (CEST)
Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl 
[127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28939-04-2; Wed, 13 Apr 
2005 23:27:35 +0200 (CEST)
Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1])by 
ronja.ntg.nl (Postfix) with ESMTP id AA57E128B5;Wed, 13 Apr 2005 23:27:35 
+0200 (CEST)
Received: from localhost (localhost.localdomain [127.0.0.1])by ronja.ntg.nl 
(Postfix) with ESMTP id 24D3A128B4for ; Wed, 13 Apr 2005 
23:27:34 +0200 (CEST)
Received: from ronja.ntg.nl ([127.0.0.1])by localhost (ronja.vet.uu.nl 
[127.0.0.1]) (amavisd-new, port 10024)with LMTP id 28939-04 for 
;Wed, 13 Apr 2005 23:27:33 +0200 (CEST)
Received: from lilly.ping.de (lilly.ping.de [83.97.42.2])by ronja.ntg.nl 
(Postfix) with SMTP id 5A3D0128B3for ; Wed, 13 Apr 2005 
23:27:33 +0200 (CEST)
Received: (qmail 27477 invoked from network); 13 Apr 2005 21:27:31 -
Received: (ofmipd 83.97.40.246); 13 Apr 2005 21:27:09 -
X-Message-Info: vAu4ZEtdRijBcnKrl9HzbvBdwuOgT6F4eKgflOkAsv8=
X-Original-To: ntg-context@ntg.nl
Delivered-To: ntg-context@ntg.nl
Organization: chaos
X-Lieblings-Musik: the_capricorns
References: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)
X-Virus-Scanned: by amavisd-new at ntg.nl
X-BeenThere: ntg-context@ntg.nl
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: mailing list for ConTeXt users 
List-Unsubscribe: 
,
List-Archive: 
List-Post: 
List-Help: 
List-Subscribe: 
,
Errors-To: [EMAIL PROTECTED]
X-Virus-Scanned: by amavisd-new at ntg.nl
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 13 Apr 2005 21:28:10.0999 (UTC) 
FILETIME=[B14B8070:01C5406F]

> Have been looking around in doc, but could not catch a simple way to
> insert an image into my doc.
http://texshow.contextgarden.net/cmd=externalfigure
\externalfigure[paris]
but beware, pdftex does not include bmp graphics. Only
png/jpeg/pdf/metapost.
See also \placefigure
http://texshow.contextgarden.net/cmd=placefloat
Patrick
--
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Dirar
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new beta

2005-04-13 Thread Paul Tremblay
On Wed, Apr 13, 2005 at 10:33:18PM +0200, Hans Hagen wrote:
> concerning the beta, i hope that engine path support is now better in 
> texexec; there is also a new version of pstopdf (for the moment called 
> newpdftops); when inkscape is installed (v 0.41) you mag give svg to pdf 
>   a try

Is inkscape the beast that gave you so much trouble with the glib
library? I know I tried to install it and gave up after I couldn't
install glib. 

Why did you choose inskscape? I thought inkscape is supposed to be a
great gui svg-editor, but I wonder if you need all of its power just
to do a conversion. I use batik for my conversions, which is part of
the apache project. Of course, it is written in java, which raises
other problems.

Anyway, it is promising that ConTeXt it going to incorporate svg.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bi-lingual book

2005-04-13 Thread Paul Tremblay
On Wed, Apr 13, 2005 at 05:42:15PM -0400, Ciro Soto wrote:
 
> I am thinking in producing a book in two languages.
> One language will be in the verso side of the paper sheet,
> and the second language will be in the rector side. Trying to
> be as mirror images so the reader could (if so desired)
> learn one language from the other.

Sorry I don't have an answer to your question, but I was very
interested in what type of book you planned to write. It sounds
interesting.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] footnote reference mark font switch

2005-04-13 Thread Idris Samawi Hamid
Hi Adam and all...

>= Original Message From "Adam Lindsay" <[EMAIL PROTECTED]> =
>\setupfootnotes[style=italic,textcommand=,command=,textstyle=boldslanted]

Ok, now we're getting somewhere...

The setup you presented was overkill-) but very instructive:

1.

\setupfootnotes[style=italic,textcommand=,command=,textstyle=boldslanted]

i. This changes the footnote marker in the main text (marker1), but also makes 
it a regular numeral aligned with the pre-footnote text.

b. The footnote marker in the note (marker2) also becomes aligned with the 
text of the note.

c. Marker1 is boldit and marker2 is italic.

d. Running text is normal;

2.

\setupfootnotes[style=italic,command=,textstyle=boldslanted]

Marker1 is now super, marker2 is text-aligned, marker1 is boldit and marker2 
is italic.

3.

\setupfootnotes[command=,textstyle=boldslanted]

Marker1 is super, marker2 is text-aligned, marker1 is bold, and marker 2 is 
normal;

4. 
\setupfootnotes[textstyle=boldslanted]

Marker1 is super, marker2 is super, marker1 is bold, marker2 is normal;

5.

\setupfootnotes[style=italic,textstyle=boldslanted]

Both markers are super, marker2 is italic and marker1 is boldit.


This last is the one I was looking for.

\setupfootnotes[style=\it,textstyle=\bs]

also works. This is interesting, because I thought that all options involving 
control sequences had to be surrounded by curly brackets. With curly brackets 
it does not work.

Thank you for your help! And that trick is forthcoming...

Best
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Feature Request [was RE: [NTG-context] footnote reference ...

2005-04-13 Thread Idris Samawi Hamid
Dear gang,

>\setupfootnotes[style=italic,textcommand=,command=,textstyle=boldslanted]

Feature request: I think that using

textcommand=,command=

to override high figures is too cryptic for regular users. It would be better 
to have two options e.g.

for marker1 (pre-note)

\setupfootnotes[textmarklocation=high] % low, or none

for marker2 (in-note)

\setupfootnotes[notemarklocation=high] % low, or none
 
with "high" as the default. This would be much more convenient.

2. Also, could we get the synonyms

`notemarkstyle' (for `style')

and

`textmarkstyle' (for `textstyle'). Much clearer.:-))

Best to the best
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context