Re: [NTG-context] Bibtex and et al

2006-10-11 Thread Taco Hoekwater
Pepe Barbe wrote:
 Hi,
 
 I am using the bib module using the AMS format. I've noticed that all
 the publications that get appended et al to the authors, do not
 include any space between the authors name and et al. Example:
 
 John Doeetal, Publication Title
 
 Any ideas how to fix this?

Shouldn't happen. What version do you use, and, if the latest, do you
have an minimal example file for me to test with?

Greetings,
Taco







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


Re: [NTG-context] multipage tables

2006-10-11 Thread Gerhard Kugler
On Tue, Oct 10, 2006 at 07:21:54PM +0100, Sanjoy Mahajan wrote:
 
 I ran it here (ver: 2006.10.05).  With just \placetable[here], it
 doesn't split.  With \placetable[here,split], it splits it into two
 parts with Table 1.a on one page and Table 1.b on the other page.

With my version (of Debian sarge) this option (split) has no
influence. I get one page.

I guess I must install a new version of ConteXt (texexec). Till now I
install all my software with apt-get. Do I have to install texexec
directly now?

 
 The Obertext zum Ganzen is only on the first page, which is what the
 .tex code should do (but maybe you wanted it repeated at the top of
 each split page?).

It is not necessary to repeat this row on each page. But here it is
repeated automatically at the buttom margin (see appendix). My
dvi-file is created with the split option.

Gerhard

-- 
Gerhard Kugler
Psychotherapeut
Bensheim (Germany)
http://www.psychotherapie-kugler.de


tables2.dvi
Description: TeX dvi file
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Can ConTeXt make dynamic barcoded forms?

2006-10-11 Thread Hans Hagen
� wrote:
 2006/10/11, Zhichu Chen [EMAIL PROTECTED]:
   
 By the way, I have another question: how can we make reader-extension
 pdfs? I mean we can save, add anotations, etc., using Adobe Reader 7
 or above. It is another cool function.
 

 That is protected by DRM from Adobe; you need software from Adobe for this.
   
indeed, but what one can do is submit the form to a url and get back an updated 
document, which is permitted (kind of roundtrip system)

this only works if one runs inside a browser; technically this server can run 
on the local machine so you can have a local roundtrip 

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


Re: [NTG-context] Bibtex and et al

2006-10-11 Thread Thomas A. Schmitz
Are you running a recent version of the module? Taco's definition of  
authoretal seems OK:

 \c!authoretaltext={ {\it et al.\/}},

so there's a space here. Also, it would help to have a minimal test  
file.

Thomas

On Oct 11, 2006, at 4:27 AM, Pepe Barbe wrote:

 Hi,

 I am using the bib module using the AMS format. I've noticed that all
 the publications that get appended et al to the authors, do not
 include any space between the authors name and et al. Example:

 John Doeetal, Publication Title

 Any ideas how to fix this?

 Thanks,
 Pepe

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


Re: [NTG-context] bug in beta: extra \else

2006-10-11 Thread Hans Hagen
Vit Zyka wrote:
 Hi all,

 there is some deep bug that was discovered translating Beginners 
 manual. Let take single chapter e.g. ma-cb-cz-alignments.tex

 With today beta I got .log attached (error ! Extra \else)
 This will appear in both modes screen and normal.

 Interesting is that no error appears in context 2006-05-28.
quite some code is being rewritten / adapted to context mkiv so there 
could be low level differences

can you make a small example, since this else problem can come from 
other places than reported

 In context 2006-09-10 this error appears only in normal mode. Screen 
 mode is OK.

 Vit

 P.S. Today's beta shows even more problems:
 - inside typebuffer: only '\dochar {225}' instead of \'a in latin2
hm, sample ... maybe some pre-expansion problem
 - some metapost graphics is wrong
example ...
 But I suggest to solve them step by step.
sure 

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


Re: [NTG-context] Problems mapping Xml into ConTeXt

2006-10-11 Thread Hans Hagen
Michael Wigston wrote:
 1.  This def of u does nothing ...
 \defineXMLgrouped [u] \underbar

\defineXMLargument[u]{\underbar}

underbar is not a font switch but a macro that takes an argument

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


Re: [NTG-context] multipage tables

2006-10-11 Thread Wolfgang Schuster

2006/10/11, Gerhard Kugler [EMAIL PROTECTED]:
On Tue, Oct 10, 2006 at 07:21:54PM +0100, Sanjoy Mahajan wrote: I ran it here (ver: 2006.10.05
).With just \placetable[here], it doesn't split.With \placetable[here,split], it splits it into two parts with Table 1.a on one page and Table 1.b on the other page.With my version (of Debian sarge) this option (split) has no
influence. I get one page.I guess I must install a new version of ConteXt (texexec). Till now Iinstall all my software with apt-get. Do I have to install texexecdirectly now? The Obertext zum Ganzen is only on the first page, which is what the
 .tex code should do (but maybe you wanted it repeated at the top of each split page?).It is not necessary to repeat this row on each page. But here it isrepeated automatically at the buttom margin (see appendix). My
dvi-file is created with the split option.Gerhard--Gerhard KuglerPsychotherapeutBensheim (Germany)http://www.psychotherapie-kugler.de


Hi Gerhard,

I looked into your log file and it shows

 ConTeXt ver: 2003.1.31 fmt: 2006.1.23 int: english mes: english

It's an ancient ConTeXt version, you need to uprade your ConTeXt version
first to get a splittet table.

You should download the latest stable version from pragma.

If you want a repeated header on every page try to put
 \setuptables[split=repeat] 
into your document.

With new versions from ConTeXt you do no longer the
 \starttables ... \stoptables 
command.

Hans changed it to control table splitting completely with split-option
in\setuptables and makes to let the normal \starttable-environment
split when neccessary.

You should look at the wiki how to upgrade your TeX-distribution.
http://wiki.contextgarden.net/Debian_installation

Wolfgang

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


Re: [NTG-context] beta (processaction |)

2006-10-11 Thread Peter Rolf
Hans Hagen wrote:
 Peter Rolf wrote:
 Hans Hagen wrote:
   
 Peter Rolf wrote:
 
 \processaction[\FOO][
   |=,
   unknown=]
   
   
 hm, | and ~ are always special, put \string in fron tof it, or use 
 \letterbar and \lettertilde 

 
 hm, same error if I use \string| or \letterbar
   
 do you have a minimal tes file?
 
 a solution may be
 
 \let\savedbarcommand=|
 
 \unexpanded\def|{\savedbarcommand}

Yes, this works.

I've tried to create a minimal example, but in the end all points to the
fact, that | is a special character. So even the use of | as
argument of some macro like

 \FOO[data={||abcx}]{..}

is not recommended (without prior catcode change). I use the symbols as
an abbreviation for different MP graphics, and it wouldn't make sense to
write \letterbar every time. Looks like I have to choose a different symbol.

Greetings, Peter

  
 
 -
   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 mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \combinepages[]: Change order

2006-10-11 Thread Wolfgang Schuster

2006/10/10, Hans Hagen [EMAIL PROTECTED]:
Wolfgang Schuster wrote: 2006/10/10, Hans Hagen 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Wolfgang Schuster wrote:   I changed the macro to a (for mee) more readable form.
 i changed your first patch to an 'alternative c' option with split up macro's directiuon is reserved for directional typesetting
  \doifelse\@@ipdirection\v!horizontal\docombinepageshorizontal\docombinepagesvertical#1  % watch the #1 ;-)   see patch i sent you; we can avoid the #1 ; will be in the next beta
 also imagine that #1 is blabla and not a \cs ... in sich cases you really need {#1} so: ...[alternative=a|b|c|horizontal|vertical] Hans
 Hi Hans, if I look at your it seems to me alternative=horizontal|vertical will be similiar toalternative=b and not horizontal==a and vertical==c as I thought.can you test the beta? the code is in there now
Hans

Hi Hans,

I looked yesterday only at your E-Mail, after I triedtoday the new beta 
everything works fine and as expected with all alternatives.

Wolfgang

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


[NTG-context] solved: context rendering disabled on contextgarden / new distribution?

2006-10-11 Thread Patrick Gundlach
Hi,

 The sysops are working to get it working again. I'll report back if
 things are working correctly.

ConTeXt seems to be working again. 


BTW: Mojca has suggested to install a newer version of pdftex
(currently 3.141592-1.21a-2.2) on the server. Which distribution would
you prefer? The requirements:

* debian 3.1 (Intel)
* no cdrom available, no ability to mount loopback devices
* almost no space limit
* I don't want to update the distribution more often then once a year.

Feedback welcome

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] setup-en.pdf

2006-10-11 Thread Patrick Gundlach
Hi,

 I searched some of the first (p. 8-9) commands used in 'the details'
 in setup-en.pdf.

 But I didn't found

 \showgridboxes
 \setlayer
 \definelayer
 \layoutcolumnoffset
 ...

 Shouldn't be ALL the commands listet in setup-en.pdf?

Well, all user commands at least. Please also take a look at 
http://wiki.contextgarden.net/Command_Syntax/Missing
and if you have some time, please edit this.

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


[NTG-context] Natural table + interlinespacing

2006-10-11 Thread Mari Voipio

I'd love natural tables except for one aspect that drives me crazy: How 
do I diminish the interlinespacing in my table? That is, I want the 
lines in the multiline cells to be closer together.
The overall interlinespacing is default, i.e. I haven't used 
\setupinterlinespace in the setup of my document.



Mari
(with a #¤#¤ table that doesn't want to fit on its page)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] an encoding for turkish

2006-10-11 Thread R. Ermers
Hi,

I am preparing a document in xml docbook. The general output  with 
Context is fine.

However, in my main text (Dutch) I use some Turkish as well. Next to the 
xml-editor, I use Textpad, whose unicode support is not optimal, so  for 
the time being I save the file in iso 8859-9. This encoding is identical 
to latin-1, but with the 6 symbols ETH, eth, THORN, thorn, Yacute, 
yacute replaced by Gbreve, gbreve, Scedilla, scedilla, Idotabove, 
dotlessi (see e.g. http://www.gar.no/home/mats/8859-9.htm).

Now I can't figure out which encoding to use in my Context document (I 
also considered using a code in the xml, but that is not a very 
attractive idea). Do we need to set up a separate coding for Turkish 
(like for Polish, Slowak and Romanian)?

The next step will be to

Regards,

Robert







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


[NTG-context] Float references in a register

2006-10-11 Thread Duncan Hothersall
Is it possible to have float references (i.e. Table 1.1) alongside page
numbers in a register?

I've never come across it before, but I've just been asked to produce an
index which has entries like:

coverage measurement tools  176-177, Table 6.5

I have looked through core-reg without much illumination. I wonder if I
can use \writetoregister but experiments thus far haven't been successful.

Is this sort of thing supported/supportable?

Thanks,

Duncan

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


Re: [NTG-context] solved: context rendering disabled on contextgarden / new distribution?

2006-10-11 Thread Wolfgang Schuster

2006/10/11, Patrick Gundlach [EMAIL PROTECTED]:
Hi, The sysops are working to get it working again. I'll report back if things are working correctly.
ConTeXt seems to be working again.BTW: Mojca has suggested to install a newer version of pdftex(currently 3.141592-1.21a-2.2) on the server. Which distribution wouldyou prefer? The requirements:
* debian 3.1 (Intel)* no cdrom available, no ability to mount loopback devices* almost no space limit* I don't want to update the distribution more often then once a year.Feedback welcome
Patrick

Hi Patrick,

tried live ConTeXt and I got no pdf file.

I copied the error message from the log file.
ConTeXt ver: 2006.10.05 17:31 MK II fmt: 2006.10.11 int: english/englishlanguage : language en is activesystem : cont-new loaded(/opt/context/current/texmf/tex/context/base/cont-new.tex
FatalError : Your format does not match the base files!FormatVersion : 2006.10.05 17:31 MK IIFilesVersion : 2006.10.10 22:15

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


Re: [NTG-context] solved: context rendering disabled on contextgarden / new distribution?

2006-10-11 Thread Wolfgang Schuster

2006/10/11, Wolfgang Schuster [EMAIL PROTECTED]:

2006/10/11, Patrick Gundlach [EMAIL PROTECTED]: 

Hi, The sysops are working to get it working again. I'll report back if things are working correctly. 
ConTeXt seems to be working again.BTW: Mojca has suggested to install a newer version of pdftex(currently 3.141592-1.21a-2.2) on the server. Which distribution wouldyou prefer? The requirements: 
* debian 3.1 (Intel)* no cdrom available, no ability to mount loopback devices* almost no space limit* I don't want to update the distribution more often then once a year.Feedback welcome
Patrick

Hi Patrick,

tried live ConTeXt and I got no pdf file.

I copied the error message from the log file.
ConTeXt ver: 2006.10.05 17:31 MK II fmt: 2006.10.11 int: english/englishlanguage : language en is activesystem : cont-new loaded(/opt/context/current/texmf/tex/context/base/cont-new.tex
 FatalError : Your format does not match the base files!FormatVersion : 2006.10.05 17:31 MK IIFilesVersion : 2006.10.10 22:15

Wolfgang
Forget my last post, I tried it again and it works now as expected.

Wolfgang

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


Re: [NTG-context] an encoding for turkish

2006-10-11 Thread Mojca Miklavec
On 10/11/06, R. Ermers wrote:
 Hi,

 I am preparing a document in xml docbook. The general output  with
 Context is fine.

 However, in my main text (Dutch) I use some Turkish as well. Next to the
 xml-editor, I use Textpad, whose unicode support is not optimal, so  for
 the time being I save the file in iso 8859-9. This encoding is identical
 to latin-1, but with the 6 symbols ETH, eth, THORN, thorn, Yacute,
 yacute replaced by Gbreve, gbreve, Scedilla, scedilla, Idotabove,
 dotlessi (see e.g. http://www.gar.no/home/mats/8859-9.htm).

In usual .tex document \enableregime[iso-8859-1] or simply
\enableregime[latin5] or il5 should work. I don't use xml docbook,
so I have no idea how to set it there, but I assume that you'll find a
way to create your own conversion.

 Now I can't figure out which encoding to use in my Context document (I
 also considered using a code in the xml, but that is not a very
 attractive idea). Do we need to set up a separate coding for Turkish
 (like for Polish, Slowak and Romanian)?

ec should be fine apart from the fact that in some fonts (lmodern)
there is scommaaccent and in others (iwona) scedilla on the same
slot. If you have bad luck (if you want to use a font which has
scommaaccent instead of scedilla):
- you can redefine scedilla to be composed from s and cedilla, but
then you loose proper hyphenation of words containing scedilla
- you can use another font or hack a bit (try whether it works if you
replace scommaaccent with scedilla in ec-lm.map files)
- you can wait for the new version of pdfTeX

 The next step will be to

... to finish the sentence perhaps? ;) No, just joking.

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


Re: [NTG-context] an encoding for turkish

2006-10-11 Thread Wolfgang Schuster

2006/10/11, R. Ermers [EMAIL PROTECTED]:
Hi,I am preparing a document in xml docbook. The general outputwithContext is fine.However, in my main text (Dutch) I use some Turkish as well. Next to the
xml-editor, I use Textpad, whose unicode support is not optimal, soforthe time being I save the file in iso 8859-9. This encoding is identicalto latin-1, but with the 6 symbols ETH, eth, THORN, thorn, Yacute,
yacute replaced by Gbreve, gbreve, Scedilla, scedilla, Idotabove,dotlessi (see e.g. http://www.gar.no/home/mats/8859-9.htm).Now I can't figure out which encoding to use in my Context document (I
also considered using a code in the xml, but that is not a veryattractive idea). Do we need to set up a separate coding for Turkish(like for Polish, Slowak and Romanian)?The next step will be to
Regards,Robert


Hi Robert,

se easiest way would be to save your document in unicode-encoding
and process it with \enableregime[utf] in ConTeXt.

I use Textpad sometimes by myslf, but I prefer emeditor because it support
more encodings and has built-in syntax hyghligting for TeX.

Wolfgang

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


Re: [NTG-context] solved: context rendering disabled on contextgarden / new distribution?

2006-10-11 Thread Thomas A . Schmitz

On Oct 11, 2006, at 2:42 PM, Patrick Gundlach wrote:

 ConTeXt seems to be working again.


 BTW: Mojca has suggested to install a newer version of pdftex
 (currently 3.141592-1.21a-2.2) on the server. Which distribution would
 you prefer? The requirements:

 * debian 3.1 (Intel)
 * no cdrom available, no ability to mount loopback devices
 * almost no space limit
 * I don't want to update the distribution more often then once a year.

 Feedback welcome

 Patrick

Hmm, wouldn't it be best to just update pdftex alone, without  
anything else? You don't need any cdrom or loopbacks for that. Or  
what exactly do you mean when you say distribution? Is your server  
used for any TeX-related work other than providing the backend for  
the garden?

Don't know if I'm making sense here, but that's what went through my  
head...

Best

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


Re: [NTG-context] Natural table + interlinespacing

2006-10-11 Thread Mojca Miklavec
On 10/11/06, Wolfgang Schuster wrote:

 2006/10/11, Mari Voipio:
 
  I'd love natural tables except for one aspect that drives me crazy: How
  do I diminish the interlinespacing in my table? That is, I want the
  lines in the multiline cells to be closer together.
  The overall interlinespacing is default, i.e. I haven't used
  \setupinterlinespace in the setup of my document.



 Hi Mari,

 can you make a minimum example of your problem.

 One way to make your table smaller is to use another bodyfontsize.

   \setupTABLE[bodyfont=small] will help u.

I don't know if we're talking about the same problem, but what I hate
about natural tables as well (although I use them all the time) is
very bad spacing: horizontal offset is too narrow and vertical offset
is too big (well, it also depends on content, but in general
\starttable/tabulate looks much better regarding spacing).

If I want smaller table I usually do
\startbuffer[name]
... table ...
\stopbuffer
\externalfigure[\jobname-name.tmp][scale=...]

but that is not *the* solution. Tables still look bad that way. The
main problem is that there is no special parameter for horizonal
offset and vertical offset for \framed, otherwise the user could
modify that at least to some extent. I have no idea how usual tables
create nice spacing.

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


Re: [NTG-context] solved: context rendering disabled on contextgarden / new distribution?

2006-10-11 Thread Patrick Gundlach
Hello Wolfgang,

 tried live ConTeXt and I got no pdf file.

 I copied the error message from the log file.


 ConTeXt  ver: 2006.10.05 17:31 MK II  fmt: 2006.10.11  int: english/english

 language: language en is active
 system  : cont-new loaded
 (/opt/context/current/texmf/tex/context/base/cont-new.tex

 FatalError  : Your format does not match the base files!

 FormatVersion   : 2006.10.05 17:31 MK II
 FilesVersion: 2006.10.10 22:15

This is fixed now, thanks for the report. My tests left an unwanted
format file in the TeX tree.


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] solved: context rendering disabled on contextgarden / new distribution?

2006-10-11 Thread Patrick Gundlach


 Hmm, wouldn't it be best to just update pdftex alone, without  
 anything else? 

Yes, this could be an option, right. I didn't think of that choice.


 You don't need any cdrom or loopbacks for that. Or what exactly do
 you mean when you say distribution? 

Such as 'tetex', 'texlive' or the minimal distribution from PRAGMA
ADE.

 Is your server used for any TeX-related work other than providing
 the backend for the garden?

No.

Thanks for the feedback, (and still collecting wishes)

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] setup-en.pdf

2006-10-11 Thread Jano Kula
 
 Well, all user commands at least. Please also take a look at 
 http://wiki.contextgarden.net/Command_Syntax/Missing
 and if you have some time, please edit this.
 

Hi,

so there is

http://wiki.contextgarden.net/Command_Syntax/Missing

and

http://wiki.contextgarden.net/Bugs_and_workarounds
(Missing items in texshow web)

Do they relate together?

Jano

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


Re: [NTG-context] Can ConTeXt make dynamic barcoded forms?

2006-10-11 Thread Henning Hraban Ramm
Am 2006-10-11 um 04:48 schrieb Zhichu Chen:
 Drawing static barcodes is very easy,

Then you could easily write a barcode module for ConTeXt? That would  
be nice!


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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


[NTG-context] U3D support in progress

2006-10-11 Thread Renaud AUBIN





Hi all,

The 3dartwork module can be found here:
http://www.nibua-r.org/ConTeXt/devel/3dartwork.tgz
Someone could maybe process test-3dartwork on a windows machine and
report if there is trouble...

Warning: The use of the "piping" syntax is only possible with the last
pdfTeX (thanks to Taco). I use pdfTeX 3.141592-1.40.0-beta-20060928-2.2
(Web2C 7.5.5) to process test-3dartwork.

What I need now is:
1. How to call \input "| ls" (for example) from t-3dartwork instead of
test-3dartwork ?
2. To ConTeXt gurus: Could you check if my use of ConTeXt is "clean"...
(I will rewrite my rough view.rb... ;) )
3. To ConTeXt's community: feature requests ?

I've seen that octaga has released a x3d plugin for acrobat (included
with the last octaga player for windows). I'll work on it as soon as
the linux version will be released ! ;)

Cheers,

Renaud



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


Re: [NTG-context] setup-en.pdf

2006-10-11 Thread Wolfgang Werners-Lucchini
 Well, all user commands at least. Please also take a look at 
 http://wiki.contextgarden.net/Command_Syntax/Missing
 and if you have some time, please edit this.

I will do that.
But I would like to know, how setup-xx.pdf is updated.
The commands in 'the details' are rather old.
As the other Wolfgang explained, the source of all this is a xml-file
'cont-xx.xml'. 
Is this file updated by hand?
Who does this? Hans alone?
I guess, the commands shown in texshow are depending on the same 
file.

Btw. for me (MSIE 5.5) the texshow page is not working.
I see the left frame and the right only for home, help and special.
For all commands (server or dns not found).

With wget I got all the stuff, but the language is sort of random.
Sometimes I got en, sometimes other. May be I got the last selected 
language.

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


Re: [NTG-context] setup-en.pdf

2006-10-11 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote:
 Well, all user commands at least. Please also take a look at 
 http://wiki.contextgarden.net/Command_Syntax/Missing
 and if you have some time, please edit this.
 

 I will do that.
 But I would like to know, how setup-xx.pdf is updated.
 The commands in 'the details' are rather old.
 As the other Wolfgang explained, the source of all this is a xml-file
 'cont-xx.xml'. 
 Is this file updated by hand?
   
yes
 Who does this? Hans alone?
   
yes, but users can send additions / patches
 I guess, the commands shown in texshow are depending on the same 
 file.
   
yes, but texshow can have additional information that is kept in a database
 Btw. for me (MSIE 5.5) the texshow page is not working.
 I see the left frame and the right only for home, help and special.
 For all commands (server or dns not found).
   
dunno, patrick ...
 With wget I got all the stuff, but the language is sort of random.
 Sometimes I got en, sometimes other. May be I got the last selected 
 language.
   
dunno, patrick ... 

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


Re: [NTG-context] Natural table + interlinespacing

2006-10-11 Thread Hans Hagen
Mari Voipio wrote:
 I'd love natural tables except for one aspect that drives me crazy: How 
 do I diminish the interlinespacing in my table? That is, I want the 
 lines in the multiline cells to be closer together.
 The overall interlinespacing is default, i.e. I haven't used 
 \setupinterlinespace in the setup of my document.



 Mari
 (with a #�#� table that doesn't want to fit on its page)
   
just scale the table to textheight then -) 


-
  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


Re: [NTG-context] solved: context rendering disabled on contextgarden / new distribution?

2006-10-11 Thread Peter Münster
On Wed, 11 Oct 2006, Patrick Gundlach wrote:

  You don't need any cdrom or loopbacks for that. Or what exactly do
  you mean when you say distribution? 
 
 Such as 'tetex', 'texlive' or the minimal distribution from PRAGMA
 ADE.

Hello Patrick,
if texlive is an option for you, I could provide a tgz-package.

I can build such a package on a SuSE-9.0 or SuSE-10.1 system as this:
rpmbuild --rebuild --force http://pmrb.free.fr/texlive/texlive.spm
tar -czf /tmp/texlive.tgz /opt/TeX-live /etc/profile.d/texlive.sh

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bug in beta: extra \else

2006-10-11 Thread Hans Hagen
Vit Zyka wrote:
 Hans Hagen wrote:
 Vit Zyka wrote:
 Hi all,

 there is some deep bug that was discovered translating Beginners 
 manual. Let take single chapter e.g. ma-cb-cz-alignments.tex

 With today beta I got .log attached (error ! Extra \else)
 This will appear in both modes screen and normal.

 Interesting is that no error appears in context 2006-05-28.
 quite some code is being rewritten / adapted to context mkiv so there 
 could be low level differences

 can you make a small example, since this else problem can come from 
 other places than reported

 There are demonstrative files. Please, run
   texmfstart texexec --pdf ma-cb-cz-test.tex
 and
   texmfstart texexec --pdf --mode=screen ma-cb-cz-test.tex

this file: ma-cb-env-cz.tex refers to itself and probably should be : 


\startenvironment ma-cb-env-cz

\environment ma-cb.tex

\mainlanguage[cz]
\language[en]
\enableregime[latin2]

\stopenvironment

-
  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


Re: [NTG-context] Natural table + interlinespacing

2006-10-11 Thread Hans Hagen
Mojca Miklavec wrote:
 I don't know if we're talking about the same problem, but what I hate
 about natural tables as well (although I use them all the time) is
 very bad spacing: horizontal offset is too narrow and vertical offset
 is too big (well, it also depends on content, but in general
 \starttable/tabulate looks much better regarding spacing).

 If I want smaller table I usually do
 \startbuffer[name]
  table ...
 \stopbuffer
 \externalfigure[\jobname-name.tmp][scale=...]

 but that is not *the* solution. Tables still look bad that way. The
 main problem is that there is no special parameter for horizonal
 offset and vertical offset for \framed, otherwise the user could
 modify that at least to some extent. I have no idea how usual tables
 create nice spacing.
   
the ofsset is around all edged (maybe some day i will add more offsets but only 
when my machine is 10 times faster) 

the vertical spacing is just as in normal text and is detemined by the 
strutheight / depth and lineheight; of course you can change that but it may 
make your docs sensitive for unequal spacing 

tabulate uses the line parameters as well  and the other table mechanism as 
(imo) bad spacing in paragraphs anyway 

anyhow, you can make 'm as ugly as you want 

\starttext

\setupcolors[state=start]

\startsetups mojca
\setupinterlinespace[.8]
\leftskip2em
\rightskip2em
\stopsetups

\setupTABLE [setups=mojca]

\setupTABLE [y]
[first][background=color,backgroundcolor=blue,frame=off,bottomframe=on,topframe=on,framecolor=white]
\setupTABLE [first][first][backgroundcorner=2,corner=10,frame=on]
\setupTABLE [last] [first][backgroundcorner=4,corner=12,frame=on]

\setupTABLE [row]  [each] 
[background=color,backgroundcolor=blue,frame=on,framecolor=white]
\setupTABLE [first][2][corner=8]
\setupTABLE [last] [2][corner=5]
\setupTABLE [first][last] [corner=7]
\setupTABLE [last] [last] [corner=6]

\startTEXpage
\bTABLE[frame=off,align=middle]
\bTR \bTD one   \eTD \bTD two\eTD \bTD three \eTD \eTR
\bTR \bTD first \eTD \bTD second \eTD \bTD third \eTD \eTR
\bTR \bTD alpha \eTD \bTD beta   \eTD \bTD gamma \eTD \eTR
\eTABLE
\stopTEXpage

\stoptext

the corner trickery is in the latest beta (made that today) - don't ask why -)  

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


Re: [NTG-context] U3D support in progress

2006-10-11 Thread Hans Hagen
Renaud AUBIN wrote:

 Hi all,

 The 3dartwork module can be found here: 
 http://www.nibua-r.org/ConTeXt/devel/3dartwork.tgz
 Someone could maybe process test-3dartwork on a windows machine and 
 report if there is trouble...

 Warning: The use of the piping syntax is only possible with the last 
 pdfTeX (thanks to Taco). I use pdfTeX 
 3.141592-1.40.0-beta-20060928-2.2 (Web2C 7.5.5) to process test-3dartwork.

 What I need now is:
 1. How to call \input | ls (for example) from t-3dartwork instead of 
 test-3dartwork ?
maybe use module x-xml-* instead

 2. To ConTeXt gurus: Could you check if my use of ConTeXt is 
 clean... (I will rewrite my rough view.rb... ;) )
later

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


Re: [NTG-context] beta (processaction |)

2006-10-11 Thread Hans Hagen
Peter Rolf wrote:
 Hans Hagen wrote:
   
 Peter Rolf wrote:
 
 Hans Hagen wrote:
   
   
 Peter Rolf wrote:
 
 
 \processaction[\FOO][
   |=,
   unknown=]
   
   
   
 hm, | and ~ are always special, put \string in fron tof it, or use 
 \letterbar and \lettertilde 

 
 
 hm, same error if I use \string| or \letterbar
   
   
 do you have a minimal tes file?

 a solution may be

 \let\savedbarcommand=|

 \unexpanded\def|{\savedbarcommand}

 
 Yes, this works.

 I've tried to create a minimal example, but in the end all points to the
 fact, that | is a special character. So even the use of | as
 argument of some macro like

  \FOO[data={||abcx}]{..}

 is not recommended (without prior catcode change). I use the symbols as
 an abbreviation for different MP graphics, and it wouldn't make sense to
 write \letterbar every time. Looks like I have to choose a different symbol.
   
still experimental is that you can change the catcodetable (pseudo in 
mkii, native in mkiv) but i won't bring up it's dirty details here


\let\savedbarcommand=|
 
\unexpanded\def|{\savedbarcommand}

this makes them unexpandable but still using ~ and | for such purposes is kind 
of tricky 

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


Re: [NTG-context] an encoding for turkish

2006-10-11 Thread Hans Hagen
R. Ermers wrote:
 Hi,

 I am preparing a document in xml docbook. The general output  with 
 Context is fine.

 However, in my main text (Dutch) I use some Turkish as well. Next to the 
 xml-editor, I use Textpad, whose unicode support is not optimal, so  for 
 the time being I save the file in iso 8859-9. This encoding is identical 
 to latin-1, but with the 6 symbols ETH, eth, THORN, thorn, Yacute, 
 yacute replaced by Gbreve, gbreve, Scedilla, scedilla, Idotabove, 
 dotlessi (see e.g. http://www.gar.no/home/mats/8859-9.htm).

 Now I can't figure out which encoding to use in my Context document (I 
 also considered using a code in the xml, but that is not a very 
 attractive idea). Do we need to set up a separate coding for Turkish 
 (like for Polish, Slowak and Romanian)?
   
use utf8 

-
  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] Make page number appear on top of image

2006-10-11 Thread Aditya Mahajan
Hi,
  I want to combine some papers into a single pdf file with page 
numbers. I am including the papers using

\copypages[filename]

However, the pagenumber is not printed when the paper is a scanned 
copy. I guess this is because the page number is printed and then the 
scanned image is printed on top of it, thereby hiding the page number.

How can I force the page number to appear on top?

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


Re: [NTG-context] Bibtex and et al

2006-10-11 Thread Pepe Barbe

On 10/11/06, Taco Hoekwater [EMAIL PROTECTED] wrote:

Pepe Barbe wrote:
 Hi,

 I am using the bib module using the AMS format. I've noticed that all
 the publications that get appended et al to the authors, do not
 include any space between the authors name and et al. Example:

Shouldn't happen. What version do you use, and, if the latest, do you
have an minimal example file for me to test with?


I don't really know what version of the Bib module I have. I am using
the latest ConTeXt beta.

Attached you can find a BibTeX file and A ConTeXt file that generate
the problem I was describing.

Thanks,
Pepe


test.bib
Description: Binary data


test.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problems mapping Xml into ConTeXt

2006-10-11 Thread Michael Wigston

Hans Hagen wrote:
 Michael Wigston wrote:
  1. This def of u does nothing ...
  \defineXMLgrouped [u] \underbar
 
 \defineXMLargument[u]{\underbar}
 
 underbar is not a font switch but a macro that takes an argument

Hans,

Thanks, that works fine with \underbar,
as well as \underbars, \overstrike, \overstrikes, \low, \high and \lohi.

You mentioned that \underbar (and presumably
the others I mentioned above) are macros taking arguments e.g. \acommand{...}.
However presumably something like \midaligned{...} is also a macro
requiring an argument, but this works as a \defineXMLgrouped and as a \defineXMLargument
- why does it work with both?

The manual XML in ConTeXt
very briefly sketched over these XML commands and I can see great potential
to use them directly on XML to generate ConTeXt for PDF rather than the
XSLT/XSL-FO route which seems to be gaining momentum in much of the industry.
I don't suppose there is another more detailed document which elaborates
on the XML commands, and how you may determine which of these is most appropriate
for what kind of ConTeXt command mapping? 

Also at the moment a non-mapped element
seems to automatically type out its contents as straight text - is there
a way to override this behaviour and specify this as an error? (This is
rather like the Ruby duck-typing approach - if an XML element is mapped,
process it, else it is an error). 

Michael
NOTICE

This e-mail and any attachments are intended for the addressee(s) only and may be confidential.  They may contain legally privileged or copyright material.  You should not read, copy, use or disclose them without authorisation.  If you are not the intended recipient please contact the sender as soon as possible by return e-mail and then please delete both messages.  This notice should not be removed.   
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context