How does one create different border widths in TABLE? For example, say you want to create an extra thick border between the head and the body? % this sets up the thickness for *all the borders % need just the bottom border \setupTABLE[r][first][rulethickness=1pt] Thanks Paul -- ************************ *Paul Tremblay * *phthenry@iglou.com * ************************
On Mon, 11 Apr 2005 at 21:50:42-0400, Paul Tremblay wrote:
How does one create different border widths in TABLE? For example, say you want to create an extra thick border between the head and the body?
% this sets up the thickness for *all the borders % need just the bottom border \setupTABLE[r][first][rulethickness=1pt]
As far as I know, this is not possible in an easy way. Have a look about the booktabs dicussions some days ago. -- Eckhart
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. Paul -- ************************ *Paul Tremblay * *phthenry@iglou.com * ************************
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.
what are booktabe 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 -----------------------------------------------------------------
Am 12.04.2005 um 22:20 schrieb Hans Hagen:
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. what are booktabs
That refers to the "booktabs" LaTeX package and the accomanying docs that setup/describe conservative table settings. It shows some interesting considerations, but I find most settings not only oldfashioned but a matter of taste (indents, different line widths etc.) Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net
Henning Hraban Ramm wrote:
Am 12.04.2005 um 22:20 schrieb Hans Hagen:
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.
what are booktabs
That refers to the "booktabs" LaTeX package and the accomanying docs that setup/describe conservative table settings. It shows some interesting considerations, but I find most settings not only oldfashioned but a matter of taste (indents, different line widths etc.)
ah ... you're in sync with tufte; btw, once you've read his books you never dare to use rules and such again -) 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 -----------------------------------------------------------------
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.
you can hook in metapost code and draw any border you want \setupcolors[state=start] \startuniqueMPgraphic{border} draw OverlayBox withpen pencircle scaled 1pt withcolor red ; draw leftboundary OverlayBox withpen pencircle scaled 3pt withcolor green ; \stopuniqueMPgraphic \defineoverlay[border][\uniqueMPgraphic{border}] \starttext \bTABLE[frame=off] \bTR \bTD[background=border] some test \eTD \bTD oeps \eTD \eTR \bTR \bTD just a test \eTD \bTD[background=border] oeps again \eTD \eTR \eTABLE \stoptext ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Tue, Apr 12, 2005 at 10:49:30PM +0200, Hans Hagen wrote:
\setupcolors[state=start]
\startuniqueMPgraphic{border} draw OverlayBox withpen pencircle scaled 1pt withcolor red ; draw leftboundary OverlayBox withpen pencircle scaled 3pt withcolor green ; \stopuniqueMPgraphic
\defineoverlay[border][\uniqueMPgraphic{border}]
\starttext
\bTABLE[frame=off] \bTR \bTD[background=border] some test \eTD \bTD oeps \eTD \eTR \bTR \bTD just a test \eTD \bTD[background=border] oeps again \eTD \eTR \eTABLE
\stoptext
The code hangs: MP test-mpgraph.4000] [MP test-mpgraph.3999]) * But even if I could fix that, this seems like a difficult workaround. Thanks Paul -- ************************ *Paul Tremblay * *phthenry@iglou.com * ************************
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
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
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
On 4/13/05, 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
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
Dear Mikael, thank you very much for your interest. tfm-files I have generated, and the tex-file is really saved in utf-8-encoding (I proved this with yudit). After editing the lines \starttypescript [map] [computer-modern] [t2a] \loadmapfile[cm-super-t2a.map] \stoptypescript in type-map.tex, the interpreter finds the font sfrm1000; but the characters are wrong. I send you the log- and pdf-file attached. Thanks again Albrecht On Wed, 13 Apr 2005, Mikael Persson wrote:
On 4/13/05, Albrecht Kauffmann
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
Hello Albrecht,
Hm, I got no idea but to upgrade your context distribution. From the
wiki page it seems I tested it on a context from 27th or 30th of
january this year, and yours seems to be from th 28th. Sorry for being
of no great help...
/Micke P
On 4/14/05, Albrecht Kauffmann
Dear Mikael,
thank you very much for your interest. tfm-files I have generated, and the tex-file is really saved in utf-8-encoding (I proved this with yudit). After editing the lines
\starttypescript [map] [computer-modern] [t2a] \loadmapfile[cm-super-t2a.map] \stoptypescript
in type-map.tex, the interpreter finds the font sfrm1000; but the characters are wrong. I send you the log- and pdf-file attached.
Thanks again Albrecht
On Wed, 13 Apr 2005, Mikael Persson wrote:
On 4/13/05, Albrecht Kauffmann
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
Hi Hans, Hi all,
i try to use mswintex.zip (16.03.05). Sometimes there are funny Characters
in the pdf i did not typed.
For instance the file:
---------
\starttext
\stoptext
--------
results in the appending pdf.
Can someone locate the bug?
Greetings Lutz
This is pdfeTeX, Version 3.141592-1.20b-2.2 (Web2c 7.5.3) (format=cont-en 2005.4.14) 14 APR 2005 13:53
entering extended mode
\write18 enabled.
(c:\tex\texmf-local/web2c/natural.tcx)
**&cont-en test.tex
(./test.tex
ConTeXt ver: 2005.03.16 fmt: 2005.4.14 int: english mes: english
language : language en is active
ec:ec->26->2:2 ca->ec:ec->27->2:2 la->ec:ec->28->2:2 pt->ec:ec->29->2:2 ro->ec :ec->30->2:2 tr->ec:ec->31->2:2 fi->ec:ec->33->2:2 loaded specials : tex,postscript,rokicki loaded \openout2 = `test.tui'.
system : test.top loaded
(./test.top
specials : loading definition file tpd
(c:\tex\texmf-local/tex/context/base/spec-tpd.tex
specials : loading definition file fdf
(c:\tex\texmf-local/tex/context/base/spec-fdf.tex)
specials : fdf loaded
)
specials : fdf,tpd loaded
)
\openout0 = `test-mpgraph.mp'.
\openout0 = `mpgraph.mp'.
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo)
fonts : using map file: original-base
fonts : using map file: ec-public-lm
fonts : using map file: ec-base
fonts : using map file: original-ams-base
fonts : using map file: original-public-lm
systems : begin file test at line 1
[1.1
Warning: pdfetex.exe (file pdftex.map): cannot open font map file
{c:\tex\texmf-local/fonts/map/pdftex/context/original-base.map}{c:\tex\texmf-lo
cal/fonts/map/pdftex/context/ec-public-lm.map}{c:\tex\texmf-local/fonts/map/pdf
tex/context/ec-base.map}{c:\tex\texmf-local/fonts/map/pdftex/context/original-a
ms-base.map}{c:\tex\texmf-local/fonts/map/pdftex/context/original-public-lm.map
}]
systems : end file test at line 2
)
Here is how much of TeX's memory you used:
978 strings out of 162125
15191 string characters out of 646610
2495294 words of memory out of 3526452
36220 multiletter control sequences out of 10000+65000
77248 words of font info for 37 fonts, out of 1000000 for 2000
242 hyphenation exceptions out of 1000
44i,17n,49p,230b,368s stack positions out of 10000i,500n,6000p,200000b,40000s
PDF statistics:
7 PDF objects out of 300000
0 named destinations out of 131072
1 words of extra memory for PDF output out of 500000
{c:\tex\texmf-local/fonts/enc/dvips/lm/ec-lm.enc}
Hi Lutz! In your TeX file there are three characters in front of your \starttext command. Which editor did you use to create the TeX file? The editor, that comes with WinXP doesn't show these characters. But you open the file with a hex editor you can see them. Best regards Michael
-----Ursprüngliche Nachricht----- Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Lutz Haseloff Gesendet: Donnerstag, 14. April 2005 13:00 An: mailing list for ConTeXt users Betreff: [NTG-context] mswintex.zip
Hi Hans, Hi all,
i try to use mswintex.zip (16.03.05). Sometimes there are funny Characters in the pdf i did not typed. For instance the file:
--------- \starttext \stoptext --------
results in the appending pdf.
Can someone locate the bug?
Greetings Lutz
Hello Lutz, is your text editor set to utf-16? If yes, set it to utf8 or something else. Patrick -- ConTeXt wiki and more: http://contextgarden.net
Patrick Gundlach schrieb:
Hello Lutz,
is your text editor set to utf-16? If yes, set it to utf8 or something else.
Patrick
I think, my SciTe 1.63 editor puts these characters into every new file. Is this a known problem? Has anybody the same effect? I use SciTe 1.63 for Windows + ConTeXt .properties files. Greetings Lutz
Hi Lutz, I use exclusively scite 1.63 with the properties files delivered with the Context distr. - I never had this problem. At least with TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) \starttext\stoptext does create the expected empty doc with the pagenumber centered in the header. Willi Lutz Haseloff wrote:
Patrick Gundlach schrieb:
Hello Lutz,
is your text editor set to utf-16? If yes, set it to utf8 or something else.
Patrick
I think, my SciTe 1.63 editor puts these characters into every new file. Is this a known problem? Has anybody the same effect? I use SciTe 1.63 for Windows + ConTeXt .properties files.
Greetings Lutz _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
is your text editor set to utf-16? If yes, set it to utf8 or something else.
I think, my SciTe 1.63 editor puts these characters into every new file. Is this a known problem? Has anybody the same effect? I use SciTe 1.63 for Windows + ConTeXt .properties files.
are you sure that your scite does not use utf-16 and puts the BOM (byte order mark) there? Patrick -- ConTeXt wiki and more: http://contextgarden.net
Patrick Gundlach wrote:
are you sure that your scite does not use utf-16 and puts the BOM (byte order mark) there?
scite indeed does this (kind of annoying) context can handle that for xml files i can consider handling it automatically (i.e. when BOM before first start-stop, then assume utf-8) 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 -----------------------------------------------------------------
participants (10)
-
Albrecht Kauffmann
-
Eckhart Guthöhrlein
-
Hans Hagen
-
Henning Hraban Ramm
-
Lutz Haseloff
-
Michael Fuchs
-
Mikael Persson
-
Patrick Gundlach
-
Paul Tremblay
-
Willi Egger