Re: [NTG-context] Float placement in margin

2010-04-27 Thread Taco Hoekwater

Antoine Cailliau wrote:

Dear all,

I would like to put a figure my edge margin, at the bottom of the page.
(so, the bottom left corner on my left pages).

I tried \inmargin but the figure is not placed in margin but at the top
of the page.

I tried \placefigure[margin] but it is placed on the top of the margin.
This is nearly what I want :)

Any clue for me ?


I am interested in this question as well. It could be really nice if
\placefigure[margin,bottom] could be made to work.

Btw, \placefigure[margin] doesn't appear to work in mkiv at all.

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode bibliography

2010-04-27 Thread Taco Hoekwater

Michael Saunders wrote:

I'm using JabRef to generate a .bib file in utf8.  I'd like to use
this with Context to typeset a bibliography.  I'm running into a lot
of problems with Bibtex's Unicode incompatibility.  What is currently
the best way to do this?   Googling, I came across this tantalizing
suggestion from Idris (in 2008):

Can you port your database to bbl format -- \start-stoppublication --
and just use the bib module without bibtex?



That sounds good, but how can I do it?


You can do that manually following the documentation of the bib module,
but you can probably get bibtex to help at least with the initial step
by wrapping all your strings in a second pair of {} items. So, write

  author= {{D. Adams}}

instead of just

  author= {D. Adams}

this will prevent bibtex from looking into the string, and therefore
it will not do bad things with the utf (the bibtex output will be
a little bit wrong, but it is easier to fix just that manually than
to rewrite the whole database in bbl format).

Best of luck,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Float placement in margin

2010-04-27 Thread Antoine Cailliau
After looking a bit more, I'm looking for a more generic solutions
where I can put paragraphs as well in margin.

In my thesis, I've a lot of blocks (defined by framed) that I need to
put in the margin with my text continuing his flow normally.
\inmargin does not seems to work (a dark story with open/close
brackets make the compilation fails)

Thanks for your comment :)

Cheers,

Antoine

 I am interested in this question as well. It could be really nice if
 \placefigure[margin,bottom] could be made to work.
That would be awesome :)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode bibliography

2010-04-27 Thread Mojca Miklavec
On Tue, Apr 27, 2010 at 05:24, Michael Saunders wrote:
 I'm using JabRef to generate a .bib file in utf8.  I'd like to use
 this with Context to typeset a bibliography.  I'm running into a lot
 of problems with Bibtex's Unicode incompatibility.  What is currently
 the best way to do this?

Long ago (when I was still using JabRef) I was thinking about creating
support for export into ConTeXt-specific format.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] definition in mkiv

2010-04-27 Thread Tomáš Pustelník



From: Wolfgang Schuster 
Sent: Thursday, April 22, 2010 2:33 PM
To: mailing list for ConTeXt users 
Subject: Re: [NTG-context] definition in mkiv


Am 22.04.10 13:54, schrieb Tomáš Pustelník: 
  Hi,

  During my work on bachelor thesis I was running throught source codes and I 
would like to ask about equivalent of file syst-gen.mkii in MkIV. And if there 
isn't one. Where I can found definitions of macros define in this file (like 
\dosingleargument and so on).
syst-aux.mkiv (merge of syst-gen.mkii and syst-ext.mkii)

  Also I have another question. In file page-lay.mkii there is definition: 

  \def\addpagecutmarks % #1
{\executeifdefined{\??ly:n:\c!marking:\@@lymarking}\gobbleoneargument}

  I don't understand this part: {\??ly:n:\c!marking:\@@lymarking}, especially I 
don't know what :n: does or means. Can someone briefly explain it to me?
The 'n' is to distinguish between the values for ...cutmarks and ...colormarks

\def\addpagecutmarks % #1
  {\executeifdefined{\??ly:n:\c!marking:\@@lymarking}\gobbleoneargument}

\def\addpagecolormarks % #1
  {\executeifdefined{\??ly:c:\c!marking:\@@lymarking}\gobbleoneargument}


Thank you for answer,

I have just another question. On wiki in System macros/ Handling arguments 
(http://wiki.contextgarden.net/System_Macros/Handling_Arguments) are mentioned 
these macros:
\dosingleargumentwithset \command[#1]
\dodoubleargumentwithset \command[#1][#2]
\dotripleargumentwithset \command[#1][#2][#3]
\dodoubleemptywithset\command[#1][#2]
\dotripleemptywithset\command[#1][#2][#3]I'm not sure but I think, that I 
read somewhere that these are old and obsolete. Is true or these macros are 
still in use and I just mistook it?ThanksTomas Pustelnik



__ Informace od ESET NOD32 Antivirus, verze databaze 5034 (20100416) 
__

Tuto zpravu proveril ESET NOD32 Antivirus.

http://www.eset.cz






___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___



__ Informace od ESET NOD32 Antivirus, verze databaze 5034 (20100416) 
__

Tuto zpravu proveril ESET NOD32 Antivirus.

http://www.eset.cz

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] definition in mkiv

2010-04-27 Thread Wolfgang Schuster

Am 27.04.10 09:23, schrieb Tomáš Pustelník:
I have just another question. On wiki in System macros/ Handling 
arguments 
(http://wiki.contextgarden.net/System_Macros/Handling_Arguments) are 
mentioned these macros:

\dosingleargumentwithset  \command[#1]
\dodoubleargumentwithset  \command[#1][#2]
\dotripleargumentwithset  \command[#1][#2][#3]
\dodoubleemptywithset \command[#1][#2]
\dotripleemptywithset \command[#1][#2][#3]
I'm not sure but I think, that I read somewhere that these are old and 
obsolete. Is true or these macros are still in use and I just mistook it?


Sure, the macros are used in the description and block element code.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ! Undefined control sequence

2010-04-27 Thread Wolfgang Schuster

Am 26.04.10 21:59, schrieb Wolfgang Werners-Lucchini:

Hi Wolfgang,
my question was: Why is this \setvariables[tst][set=...
necessary at all. The following example worked without that.
   

See my other answer to Peter.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Multiple pleas for help (long)

2010-04-27 Thread Wolfgang Schuster

Am 27.04.10 00:44, schrieb Scott Steele:
Hullo, all. I've been trying for 3 months now to get my last 2 years' 
worth of journal entries satisfactorily typeset for printing on 
lulu.com http://lulu.com. This is my first major project using 
Context (with the Xetex engine—the current procedures required by 
Pdftex to set up and manage fonts are too intimidating for me (I {\em 
did} try it.)) as I'm no longer in school and had typeset the 
preceding year's worth of entries in Latex. I started to use (xe)Latex 
again this time but gave up in frustration with all of the predefined 
formatting, which I've moved away from as I've read more of Robert 
Bringhurst.


Anyway, I have a number of problems.

I apologize for putting them all into one message and for failing to 
find solutions elsewhere on the site. I've looked around a great deal, 
but am hampered in doing so by my limiting of my internet time with an 
{\sc ems} PowerCop (otherwise, I'd be on Wikipedia until they decided 
to lock me away). (I do my writing, editing, and typesetting on a 
little internet-crippled netbook with CrunchBang and Vim.)


I'll include my current preämble information at the end of this 
message in case it is useful in addressing any of my issues. If 
they're addressed elsewhere, I'd be thrilled with links. If they're 
not, I'd greatly appreciate any help.


I've found solutions to a number of previous problems, but here are 
all that I believe are in the way of my finishing this project:


1
How do I make bulleted lists not have lines between items in the list?

\startitemize[packed]


2
Is it possible to push the bullets for bulleted lists into the margin 
(and then have the text of each item start at the same level of 
indentation as normal text)? Also, given my target printing medium, 
this would require alteration of the space between the bullet mark and 
its text—how do I alter this and the glyph used as the bullet mark?

\startitemize[margin]

3
Is it possible to alter the way footnotes are displayed? I might want 
to have new footnotes follow previous ones with a 3-em space rather 
than starting a new line in the footer. And if I go that route, I'd 
need a way to pull the footer number in from the margin.


4
How can I adjust the formatting settings for the frontmatter (title 
page, table of contents) and backmatter (colophon, appendices, index). 
In general, I need to be able to set whether page numbers are used and 
what kind and positioning of the text on the page. In particular, how 
do I change the formatting for items in the table of contents (and 
what glyph/spacing go between the item's title and corresponding page 
number as well as how all of those elements are positioned)?

Look for \setuplist[...] in the wiki and manuals.

5
How can I have either unnumbered sections, or subjects that appear in 
the table of contents?

\setuphead[subject][incrementnumber=list]

6
Does Xetex or Context have a facility for positioning accents over 
letters when those particular combinations are not in the font? (Or 
should I just go ahead and do this manually in Fontforge?)


7
Is there a built-in equivalent of the \fancybreak function from Latex? 
I think I know now how to put something like it together manually but 
don't want go the amateur route if there's something more polished 
available.

What is \fanybreak supposed to do?

8
Since this is just a journal, I have used simple emoticons (don't 
laugh!). I tweaked a vector smiley from Wikimedia to get a frowny and 
slashy, and they work well except for when they end up on the first 
(printed) text line of a page. I have one page that has a subject 
title on the grid but that is followed by a (logical) line with a 
smiley that ends up on its first printed line. This printed line and 
all of the rest of the text on the page (including another subject 
title) sit several points (approx) lower than where they should (so 
that the grid lines bisect the bowls of all the lower-case a's). There 
is another page that does not start with a subject title but directly 
with a printed line containing an emoticon, and it has exactly the 
same problem as the first page, with the text sitting just low enough 
that the grid lines bisect the bowls of the lower-case a's. Pages with 
emoticons on them do not exhibit this problem when the emoticon is not 
on the first printed line, and all lines remain correctly positioned 
on the grid. You can see below how I'm putting in the emoticons.
You can write '\dontleavehmode\Frowny' or you include \dontleavehmode in 
the defintion itself


\def\Frowny{\dontleavehmode\externalfigure[frowny]}

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : 

Re: [NTG-context] Multiple pleas for help (long)

2010-04-27 Thread R. Bastian
On Mon, 26 Apr 2010 18:44:04 -0400
Scott Steele scottlste...@gmail.com scribit:
[...]
 1
 How do I make bulleted lists not have lines between items in the list?

Try \startitemize[packed]

[...

-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org
http://www.soundsurvey.org.uk/


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode bibliography

2010-04-27 Thread richard . stephens

 Long ago (when I was still using JabRef) I was
thinking about creating
 support for export into ConTeXt-specific format.
 
 Mojca

What a teaser! So if you're not using JabRef now,
what are you using and why?

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode bibliography

2010-04-27 Thread Michael Saunders
Mojca Miklavec:

 Long ago (when I was still using JabRef) I was thinking about creating
 support for export into ConTeXt-specific format.

What do you use now?  Is there something better?
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread Patrick Gundlach
Hi Scott,

that's a good idea, we should rename it to 'latex 3'. That name is still free 
and it would fill the expectations of almost all TeX users out there.

Patrick

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread luigi scarso
On Tue, Apr 27, 2010 at 10:27 AM, Patrick Gundlach patr...@gundla.ch wrote:
 Hi Scott,

 that's a good idea, we should rename it to 'latex 3'. That name is still free 
 and it would fill the expectations of almost all TeX users out there.

'3' seems to be unfortunate.

What about L(u)ATeX-mkiv ?

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode bibliography

2010-04-27 Thread Mojca Miklavec
On Tue, Apr 27, 2010 at 10:14, Michael Saunders wrote:

 What do you use now?  Is there something better?

I don't know any better tool. JabRef seems great.

On Tue, Apr 27, 2010 at 09:57,  richard.steph...@converteam.com wrote:

 Long ago (when I was still using JabRef) I was thinking about creating
 support for export into ConTeXt-specific format.

 What a teaser! So if you're not using JabRef now, what are you using and
 why?

Em ... vim (or TextMate), but I guess that's not the answer you
were expecting.

As for the why part:
1.) I don't have too many references to manage/work with.
2.) One of the reasons for not actually writing support for ConTeXt
output in JabRef was that ConTeXt is able to read bib files; and one
of the reasons why I started using just plain text editor was that
JabRef didn't create such a ConTeXt-friendly format.
3.) Until 2005 I was more heavily engaged in the field where almost
every article I had to cite was in PubMed which is no longer true.
JabRef has an enourmous added value when one needs to use citeseer or
PubMed. What I would need now would be DOI2bib converter. As soon as
the time spent on copy-pasting data from article web pages to bib
files will outweight the time spent writing the converter, I'll
probably start writing one (but that still won't be comparable with
JabRef).

What still makes me wonder is tha fact that there are problems with
Unicode. I don't remember any, though I admit that I'm not sure if I
ever cited any non-English item.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread Mojca Miklavec
On Tue, Apr 27, 2010 at 10:27, Patrick Gundlach wrote:
 Hi Scott,

 that's a good idea, we should rename it to 'latex 3'. That name is still free 
 and it would fill the expectations of almost all TeX users out there.

+1

And I'm sure that the number of users would greatly increase :) :) :)

Whenever I tell someone that I'm not using LaTeX any more and that I
use something better instead, nobody ever believes me. (There cannot
exist any program that's better than LaTeX. That's one of the first
few axioms in mathematics :)

If I told them I was using LaTeX 3, it would gain everyone's attention
and everyone would want to see how it looks (still LaTeX, but probably
better since it carries a bigger version number).

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread Tobias Burnus
On 04/27/2010 10:48 AM, Mojca Miklavec wrote:
 On Tue, Apr 27, 2010 at 10:27, Patrick Gundlach wrote:
   
 Hi Scott,

 that's a good idea, we should rename it to 'latex 3'. That name is still 
 free and it would fill the expectations of almost all TeX users out there.
 
 +1
   
I think you err. LaTeX 3 is already taken
(http://www.latex-project.org/latex3.html) - how about LaTeX IV?

Tobias
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Multiple pleas for help (long)

2010-04-27 Thread Mojca Miklavec
On Tue, Apr 27, 2010 at 00:44, Scott Steele wrote:

 6
 Does Xetex or Context have a facility for positioning accents over letters
 when those particular combinations are not in the font? (Or should I just go
 ahead and do this manually in Fontforge?)

In LuaTeX (ConTeXt MKIV) you can simply say compose=yes when defining
font features (assuming that this still works). If you'll want to use
LuaTeX and need the exact definition, I'll look it up.

Else here's the solution that should work in XeTeX:

\starttext
% this one will be taken from the font
Č
% but you can also define the character to be active
\catcode`Č=\active
% and then use the ConTeXt way of composing accents
\defČ{\buildtextaccent\textcaron C}
% and every letter will be composed from that moment on
Č
\stoptext

With pdfTeX you would typically redefine \ccaron instead. (The letter
itself is already active and \defČ might not work there.)

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread Vedran Miletić
2010/4/27 Tobias Burnus bur...@net-b.de:
 I think you err. LaTeX 3 is already taken
 (http://www.latex-project.org/latex3.html) - how about LaTeX IV?


This one actually sounds good!

-- 
Vedran Miletić
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread Hans Hagen

On 27-4-2010 11:31, Vedran Miletić wrote:

2010/4/27 Tobias Burnusbur...@net-b.de:

I think you err. LaTeX 3 is already taken
(http://www.latex-project.org/latex3.html) - how about LaTeX IV?



This one actually sounds good!


but given the original post it then should be latex iv i.e. no funny 
uppercase



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode bibliography

2010-04-27 Thread Michael Saunders
Mojca Miklavec:


 What still makes me wonder is tha fact that there are problems with
 Unicode. I don't remember any, though I admit that I'm not sure if I
 ever cited any non-English item.

Well, using Taco's trick of surrounding every sting with braces, the
record won't print out.  If I surround only the non-ascii characters
in braces, the record will print out, out of order and on top of other
records.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread Khaled Hosny
On Tue, Apr 27, 2010 at 11:35:37AM +0200, Hans Hagen wrote:
 On 27-4-2010 11:31, Vedran Miletić wrote:
 2010/4/27 Tobias Burnusbur...@net-b.de:
 I think you err. LaTeX 3 is already taken
 (http://www.latex-project.org/latex3.html) - how about LaTeX IV?
 
 
 This one actually sounds good!
 
 but given the original post it then should be latex iv i.e. no
 funny uppercase

Metatex IV Pro, this sounds professional (the non-pro can be the plain 
variant).

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Help on \dostartbuffer needed

2010-04-27 Thread Antoine Cailliau
Hi,

I'm trying to deal with \dostartbuffer.

I found an old message on the ML about \dostartbuffer
http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.html
and its is pretty what I want except that I do not know how can I get
access to the buffer :)

For instance,
\def\startLST[#1]%
{\def\stopLST{End of #1}%
 \dostartbuffer[LST][startLST][stopLST]}

  \starttext
  \startLST[whatever]
  bla bla
  \stopLST
  alb alb
  \stoptext

will print End of whateveralb alb. I just want to get the content blabla in 
\stopLST.

I guess, it should not be hard :)

Antoine

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help on \dostartbuffer needed

2010-04-27 Thread Antoine Cailliau
Mmm... \getbuffer[LST] obviously

Sorry for the noise

On 27 April 2010 15:04, Antoine Cailliau antoinecaill...@gmail.com wrote:
 Hi,

 I'm trying to deal with \dostartbuffer.

 I found an old message on the ML about \dostartbuffer
 http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.html
 and its is pretty what I want except that I do not know how can I get
 access to the buffer :)

 For instance,
 \def\startLST[#1]%
    {\def\stopLST{End of #1}%
     \dostartbuffer[LST][startLST][stopLST]}

  \starttext
  \startLST[whatever]
  bla bla
  \stopLST
  alb alb
  \stoptext

 will print End of whateveralb alb. I just want to get the content blabla in 
 \stopLST.

 I guess, it should not be hard :)

 Antoine


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Real help on \dostartbuffer needed

2010-04-27 Thread Antoine Cailliau
This time, it is not working, and I do not have any idea why.

\defineenumeration[ENUM][]
\definebuffer[Entity,before=\startENUM,after=\stopENUM]

\starttext

\startEntity
\input tufte
\stopEntity

\stoptext

fails with 

! Missing \endcsname inserted.
to be read again 
   \let 
\noshowargumenterror -\let 
\expectedarguments \noexpectedarguments 
\dodoubleempty #1-\noshowargumenterror 
\doifnextcharelse
[{\dodoubletestemp...

\startENUM -\dodoubleempty \@@startdescription 
[ENUM]
argument \??bu Entity,before=\startENUM 
  ,after=\stopENUM \c!number 
\letvalue #1-\expandafter \let \csname #1
  \endcsname 
...
l.4 


On Tue, 2010-04-27 at 15:13 +0200, Antoine Cailliau wrote:
 Mmm... \getbuffer[LST] obviously
 
 Sorry for the noise
 
 On 27 April 2010 15:04, Antoine Cailliau antoinecaill...@gmail.com wrote:
  Hi,
 
  I'm trying to deal with \dostartbuffer.
 
  I found an old message on the ML about \dostartbuffer
  http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.html
  and its is pretty what I want except that I do not know how can I get
  access to the buffer :)
 
  For instance,
  \def\startLST[#1]%
 {\def\stopLST{End of #1}%
  \dostartbuffer[LST][startLST][stopLST]}
 
   \starttext
   \startLST[whatever]
   bla bla
   \stopLST
   alb alb
   \stoptext
 
  will print End of whateveralb alb. I just want to get the content blabla in 
  \stopLST.
 
  I guess, it should not be hard :)
 
  Antoine
 
 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

my opinion is that ConTeXt including capitalization of some preselected letters 
is OK.

Imagine - how new mode of work brings ConTeXt (and other TeX family) to someone 
who knows only or has been working with Word before!

If it's to much to someone to remember correct ConTeXt writing (or to use \context 
macro - I never used it before, so I'm not sure whether such a macro exists; if it doesn't, it 
might be useful to define it; like \LaTeX in LaTeX), than it's probable one will not want to 
see-through the whole typesetting system (and more, ConTeXt may be a bit simpler for 
usage than LaTeX) and to learn how to typeset in this system (as he may be used to click an icon by 
mouse to get the required operation).

Also - if someone sees ConTeXt written, he may ask why some letters are capitalized. Especially seeing TeX should 
be preserved as it demonstrates relation to TeX; first letter uppercase (C) is common in (majority) of program 
names; and thus I'd keep the whole ConTeXt as I feel it as a mark.

Please take all above as my personal opinion; I don't like to touch anyone's 
point of view.

Lukas

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread Arthur Reutenauer
 or to use \context macro - I never used it before, so I'm not sure whether 
 such a macro exists; if it doesn't, it might be useful to define it; like 
 \LaTeX in LaTeX

  It's actually \CONTEXT, all uppercase.

Arthur
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] requesting multipass

2010-04-27 Thread Philipp Gesang
Hi all,


how do I trigger another pass?

Using md5 and io I want to save data to a helper file and reuse it in a
second pass (like e.g. mtx-context.lua) or update the file if
appropriate. But I couldn't quite figure out how to request another pass
from the lua end.

Thanks for any help,


Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgp8TEfSmeS9x.pgp
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] the grid (MkIV)

2010-04-27 Thread Hans Hagen

On 19-4-2010 1:37, Steffen Wolfrum wrote:

Hi,


how can I exclude a section head from grid?

Just compare setuplayout with grid=yes/no.

Is there a solution?


\showgrid

\starttext

\setuplayout[grid=yes]% [grid=no]
\setuphead[chapter][grid=none]

\chapter{one}

\page

\chapter{one\\line}

\page

\chapter{one\\line\\line}

\stoptext


how about

\setuplayout[grid=yes] \showgrid

\definegridsnapping[chapter][mindepth,maxheight,local]

\setuphead[chapter][grid=chapter,alternative=top]

\starttext
\chapter{one} \input tufte
\chapter{one\\two}\input tufte
\chapter{one\\two\\three} \input tufte
\stoptext



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] the grid (MkIV)

2010-04-27 Thread Hans Hagen

On 27-4-2010 7:14, Steffen Wolfrum wrote:


I was reading spac-ver.mkiv on gridsnapping values ... but didn't find the 
local switch.

What's it about?


using local interlinespace vs bodyfont related

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] requesting multipass

2010-04-27 Thread Hans Hagen

On 27-4-2010 5:04, Philipp Gesang wrote:

Hi all,


how do I trigger another pass?

Using md5 and io I want to save data to a helper file and reuse it in a
second pass (like e.g. mtx-context.lua) or update the file if
appropriate. But I couldn't quite figure out how to request another pass
from the lua end.


there's

jobfiles.run(
filename-to-be-checked,
command-to-be-executed-if-changed
)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Questions about \setuphead and \framed

2010-04-27 Thread Michael Ewe
On Saturday 24 April 2010 14:41:06 Wolfgang Schuster wrote:
 Am 20.04.10 23:01, schrieb Michael Ewe:
  1 The frames in the chapter both headings are much bigger than in the
  normal text.
 
 The chapter insert it's own strut in the number and the text and
 changing/disabling
 the strut in the header command is useless here (it's a bug but i'll
 report this
 in another mail)
 
  2 The gap between the chapter number and the chapter name is different
  for chapter 1 (on page 1) and chapter 2 (on page 2). The word test is
  not aligned
 
 Setting a font for style is not the same as setting it to textstyle and
 numberstyle.
 
  3 The value of strut has no effect at all.
 
 strut in \setuphead accepts only yes and no, in \framed you can use the
 values
 yes, no, global and local, dimensions are no legal argument.
 
 Since you haven't shown what dou want to achieve i can only guess but maybe
 this setup is what you want:
 
 \definefont[FontA][Sans at 36pt]
 
 \defineframed[chapterframe][offset=0pt,strut=local]
 
 \definehead[ChapterA][chapter]
 
 \setuphead
[ChapterA]
[deeptextcommand=\chapterframe,
 deepnumbercommand=\chapterframe,
 distance=0pt,
 style=FontA]
 
 \starttext
 \ChapterA{Test}
 \stoptext
 
 Wolfgang
 ___
  If your question is of interest to others as well, please add an
  entry to the Wiki!
 
 maillist : ntg-context@ntg.nl /
  http://www.ntg.nl/mailman/listinfo/ntg-context webpage  :
  http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
 
 

Thank you, I will give it another try!
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] requesting multipass

2010-04-27 Thread Philipp Gesang
On 2010-04-27 20:02:27, Hans Hagen wrote:
 On 27-4-2010 5:04, Philipp Gesang wrote:
 Hi all,
 
 
 how do I trigger another pass?
 
 Using md5 and io I want to save data to a helper file and reuse it in a
 second pass (like e.g. mtx-context.lua) or update the file if
 appropriate. But I couldn't quite figure out how to request another pass
 from the lua end.
 
 there's
 
 jobfiles.run(
   filename-to-be-checked,
   command-to-be-executed-if-changed
 )

Good evening, Hans!


Let me clarify my intention a bit: jobfiles.run calls context on the
argument list, but that is not what I need.

My problem is that I generate stuff during the tex run and want to
collect it in a table that is saved to a file at the end of the run.
This data is hashed at the beginning of the document and if the hash
does not match the end-run hash _or_ the file doesn't exist in the first
place, then I'd like to run another independent pass.

(I guess I could use jobfiles.run to process \jobname at the very end of
the document but would have to handle recursion somehow.)


Philipp

 
 
 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
  | www.pragma-pod.nl
 -
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpvpUHEMihlB.pgp
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] How to use musical symbols from a font

2010-04-27 Thread Vyatcheslav Yatskovsky

Hi,

I want to use musical symbols (e.g. rest) in my documents. I have 
MusicalSymbols.ttf font, and know that the rest is, say r symbol.


How to make a macro that will place this symbol and possibly crop it?

--
Best Regards,
Vyatcheslav Yatskovsky
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] requesting multipass

2010-04-27 Thread Hans Hagen

On 27-4-2010 11:09, Philipp Gesang wrote:

On 2010-04-2720:02:27, Hans Hagen wrote:

On 27-4-2010 5:04, Philipp Gesang wrote:

Hi all,


how do I trigger another pass?

Using md5 and io I want to save data to a helper file and reuse it in a
second pass (like e.g. mtx-context.lua) or update the file if
appropriate. But I couldn't quite figure out how to request another pass

from the lua end.

there's

jobfiles.run(
filename-to-be-checked,
command-to-be-executed-if-changed
)


Good evening, Hans!


Let me clarify my intention a bit: jobfiles.run calls context on the
argument list, but that is not what I need.

My problem is that I generate stuff during the tex run and want to
collect it in a table that is saved to a file at the end of the run.
This data is hashed at the beginning of the document and if the hash
does not match the end-run hash _or_ the file doesn't exist in the first
place, then I'd like to run another independent pass.

(I guess I could use jobfiles.run to process \jobname at the very end of
the document but would have to handle recursion somehow.)


so, as you save your data in a file, just after saving the table, hash 
that file:


\starttext

test

\startluacode
jobvariables.tobesaved.MyPersonalChecksum = file.checksum(MyName) 
or no checksum

\stopluacode

\stoptext

the context runner will take care of extra runs then.

(I'll think about a more robust user space for such status variables but 
as long as you use UpperCased names you quite safe.)



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___