Re: [NTG-context] winter cleanup in the wiki

2010-12-13 Thread Patrick Gundlach

>> 
>> http://wiki.contextgarden.net/pdftex.cfg
>> said:
>> "There's no more pdftex.cfg since TDS 2004!"
>> 
>> I tagged pages like this one with "deleteme"
>> 
>> But what is the best solution for them?
>> Has this Wiki a Merge function to save the history?
>> Should we empty and unlink them? Delete them?
> 
> Wiki administrators can delete pages. So, just tag them, and one of us
> will have a look at it, and if we agree, delete the page.


"We" should remove the links to these page before we delete 'em. There is a 
links somewhere at the bottom of the page that shows the pages that links to a 
current page. It opens a page such as

http://wiki.contextgarden.net/Special:WhatLinksHere/ConTeXt_Minimals_Funtoo

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
___


[NTG-context] issue with \usesymbols[mvs]

2010-12-13 Thread views63
Hi all,

I use the way from http://wiki.contextgarden.net/Symbols, but It is not working.
It has  the marvosym (type1 fonts) In the context tds.
~ $ luatools marvosym.pfb
/opt/context/tex/texmf/fonts/type1/public/marvosym/marvosym.pfb
I have to use the marvosym.ttf ? OR  How can I do?  thanks.

example:
\usesymbols[mvs]
\definesymbol[1][{\symbol[martinvogel 2][PointingHand]}]
\definesymbol[2][{\symbol[martinvogel 2][CheckedBox]}]
\starttext
\startitemize[packed]
\item item \item item
 \startitemize[packed]
 \item item \item item
 \stopitemize
\item item
\stopitemize
\stoptext

log:
define fonts> forced type ttf of marvosym not found
define fonts> font with name marvosym is not found
define fonts> unknown font marvosym, loading aborted
define fonts> unable to define marvosym.ttf as \**currentsymbolfont**
backends> using xmp file
'/opt/context/tex/texmf-context/tex/context/base

--
Best regards,

Huang Ze
___
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] winter cleanup in the wiki

2010-12-13 Thread Aditya Mahajan
On Mon, Dec 13, 2010 at 7:05 PM, Jonas Stein  wrote:
>
>>> there are (were) many duplicate installation pages in the
>>> wiki.
>>>
>>> I merged some and deleted a lot duplicate stuff.
>>> The work is not finished yet.
>>>
>>> i created a new category in the wiki:
>>> http://wiki.contextgarden.net/Category:deleteme
>>>
>>> These articles are merged to others and no longer needed.
>>>
>>> Is the part about Configuration files still up to date?
>>> http://wiki.contextgarden.net/Installation_hints
>>>
>>> Its last edited in 2008 and links to manuals from 2001 and 2003.
>>
>> maybe add a note there that it might make more sense to install the
>> minimals or texlive (context package)
>
> here is that note:
> http://wiki.contextgarden.net/Installation_by_os
>
> How do you think should we handle pages, that are obsolete in
> the wiki?
>
>
> http://wiki.contextgarden.net/pdftex.cfg
> said:
> "There's no more pdftex.cfg since TDS 2004!"
>
> I tagged pages like this one with "deleteme"
>
> But what is the best solution for them?
> Has this Wiki a Merge function to save the history?
> Should we empty and unlink them? Delete them?

Wiki administrators can delete pages. So, just tag them, and one of us
will have a look at it, and if we agree, delete the page.

Aditya
___
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 insert a imagefile like a letter?

2010-12-13 Thread Jonas Stein
bell.pdf provides a small bell in black and white as 
vectordrawing


i'd like to get that bell in height of the current letter "f"
on the position where i type \bell

my first test with
\externalfigure[bell][width=1em]
creates a bell with lentgh of 1em... but


\define[]\bell{\externalfigure[bell][width=1em]\ }
.
.
\starttext
\bell
.
.


fails.

How can i get a small bell? 
Kind regards,

-- 
Jonas Stein 

___
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] New ConText Group

2010-12-13 Thread Jonas Stein
> We are proud to announce that the ConTeXt community has 
> its own users-organisation. 

congratulations!

-- 
Jonas Stein 

___
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] How about a forum

2010-12-13 Thread Jonas Stein

> wondering why there ist no forum for Context. I spend a lot of time 
> getting into new themes, and I always like the functions of forums.

What functions do you miss?

Have you tried the gmane mirror?
You can configure your newsreader to be coloured like a forum.
Some even support to exchange smileys to icons.

If you like to have a signature, you can write a line below "-- "
If you want to show your avatar/face to the world 
you can use xface.

Its a evidence of good technology, that mailinglists and newsserver
still live in professional area after more then 20 years.

choose your favourite one here:
http://en.wikipedia.org/wiki/Comparison_of_Usenet_newsreaders

Kind regards,

-- 
Jonas Stein 

___
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] installation on debian testing

2010-12-13 Thread Jonas Stein
within the time Norbert Preining prepared a new .deb package 
including context (2010.07.30-1) 

its status is "experimental" for now.

There will be context 2009 in debian 6.0 stable. 
So this might be a good solution for most debian users for the next
months (or years).

i have just testet it on debian testing (squeeze) and it works fine.

Here is how to do it:

1. Download the .deb 
http://packages.debian.org/experimental/all/context/download

2. run as root
dpkg -i context_2010.07.30-1_all.deb

3. work with context.

Thanks a lot to Norbert!

Kind regards,

-- 
Jonas Stein 

___
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] winter cleanup in the wiki

2010-12-13 Thread Jonas Stein

>> there are (were) many duplicate installation pages in the
>> wiki.
>>
>> I merged some and deleted a lot duplicate stuff.
>> The work is not finished yet.
>>
>> i created a new category in the wiki:
>> http://wiki.contextgarden.net/Category:deleteme
>>
>> These articles are merged to others and no longer needed.
>>
>> Is the part about Configuration files still up to date?
>> http://wiki.contextgarden.net/Installation_hints
>>
>> Its last edited in 2008 and links to manuals from 2001 and 2003.
>
> maybe add a note there that it might make more sense to install the 
> minimals or texlive (context package)

here is that note:
http://wiki.contextgarden.net/Installation_by_os

How do you think should we handle pages, that are obsolete in 
the wiki?


http://wiki.contextgarden.net/pdftex.cfg
said:
"There's no more pdftex.cfg since TDS 2004!"

I tagged pages like this one with "deleteme"

But what is the best solution for them?
Has this Wiki a Merge function to save the history? 
Should we empty and unlink them? Delete them?

Kind regards,

-- 
Jonas Stein 

___
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] writebetweenlist regression (mkiv)

2010-12-13 Thread Hans Hagen

On 13-12-2010 11:20, Steffen Wolfrum wrote:


Am 08.11.2010 um 23:03 schrieb Marco:



Hello there.

Currently \writebetweenlist doesn't work as advised. It inserts the
argument before the last entry of the list. The minimal example is
provided by the reference itself.

http://wiki.contextgarden.net/Reference/en/writebetweenlist

The rule is correctly inserted at http://live.contextgarden.net/ and in
the ConTeXt shipped with TeXlive 2010 (2010.05.24), but not with the
current beta and the 2010.07.30 version. mkii works fine.

It prints

--rule--
List entry A
List entry B


Unfortunately, I can confirm this with current version:

ver: 2010.12.12 17:06 MKIV

Help please!


There is a good reason for this. Inbetween has multiple usage and these 
are conflicting:


- in order to get the right page info associated it needs to be anchored 
in the text stream

- in that case a node can interfere with spacing and can come unexpected
- sometimes direct flushing is needed, sometimes delayed

btw, all these issues have been observed by users every now and then

Now, if unexpected interference is the hardest to track down, inbetween 
is an immediate action. In principle one can influence that but it's not 
that intuitive. So, I've now added an option to (1) the flushers and (2) 
the list placers.


The following example shows this:

\definelist[testlist][criterium=all]

\starttext

Regular list entries are bound to a specific location in order to
get the right pagenumber etc.\ associated. When pushing something
inbetween (in mkiv) it ends up directtly in the list. This is the
default because otherwise users will wonder why spacing might get
messed up (due to an unseen but present node). It is possible to
force a location by explicitly setting \type {location} to \type
{here}.

Another way to force a certain order is to set the \type {order}
variable when placing a list. The \type {command} option only
pushes commands into the right order, and \type {all} orders all
entries (which might be too much). In this case no specific
location is needed with the inbetween method. Maybe additional
mechanisms show up some day.

\subject{normal}  \placelist[testlist]
\subject{command} \placelist[testlist][order=command]
\subject{all} \placelist[testlist][order=all]

\page \input tufte

\writetolist [testlist]   {1} {One}
\writebetweenlist[testlist] 
{\blackrule[color=red,width=\hsize]}


\writebetweenlist[testlist][location=here]{\blackrule[color=blue,width=\hsize]}
\writetolist [testlist]   {2} {Second}
\writetolist [testlist][location=none]{W} {Whatever}
\writebetweenlist[testlist] 
{\blackrule[color=green,width=\hsize]}


\stoptext

I admit that it's not an easy mechanism but any default would at some 
point trigger complaints. So it probably needs to be wikified.


Hans

-
  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] xml: test for attribute

2010-12-13 Thread Thomas Schmitz

Hans, thanks a lot!

On Mon, 13 Dec 2010 21:17:23 +0100
 Hans Hagen  wrote:


something like this:

\doifelse {\xmlatt{#1}{important}} {} {
  \color[darkblue]{EMPTY: \xmlflush{#1}}
} {
  \color[darkred]{NOTEMPTY: \xmlatt{#1}{important}}
}
\par

Yes, this works!



or (untested): \xmldoifelse{#1}{./[...@important==''])


This doesn't, for some reason. But I'm glad to see that my 
syntax wasn't too far off. Thanks a lot, and all best!


Thomas
___
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] xml: test for attribute

2010-12-13 Thread Hans Hagen

On 13-12-2010 8:58, Thomas Schmitz wrote:

Hi all,

I thought I had done this and it was easy, but I can't find a solution:
I want to test whether a xml tag has an attribute and vary the typeset
content accordingly. There used to be \xmldoifelseempty, but that has
been commented out (lxml-ini.mkiv). What else could I use? Here's a
small test that shows what I'm trying to do:

\startbuffer[test]

some text
more text

\stopbuffer

\startxmlsetups xml:testsetups
\xmlsetsetup{\xmldocument}{a|b}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:testsetups}

\startxmlsetups xml:a
\xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:b
\xmldoifelse{#1}{./[...@important]}
%\doifemptyelse{\expanded{\xmlatt{#1}{important}}}


something like this:

\doifelse {\xmlatt{#1}{important}} {} {
  \color[darkblue]{EMPTY: \xmlflush{#1}}
} {
  \color[darkred]{NOTEMPTY: \xmlatt{#1}{important}}
}
\par

or (untested): \xmldoifelse{#1}{./[...@important==''])

Hans

-
  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
___


[NTG-context] xml: test for attribute

2010-12-13 Thread Thomas Schmitz

Hi all,

I thought I had done this and it was easy, but I can't 
find a solution: I want to test whether a xml tag has an 
attribute and vary the typeset content accordingly. There 
used to be \xmldoifelseempty, but that has been commented 
out (lxml-ini.mkiv). What else could I use? Here's a small 
test that shows what I'm trying to do:


\startbuffer[test]

  some text
  more text

\stopbuffer

\startxmlsetups xml:testsetups
\xmlsetsetup{\xmldocument}{a|b}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:testsetups}

\startxmlsetups xml:a
\xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:b
\xmldoifelse{#1}{./[...@important]}
%\doifemptyelse{\expanded{\xmlatt{#1}{important}}}
{\color[darkred]{NOTEMPTY: \xmlatt{#1}{important}}\par}
{\color[darkblue]{EMPTY: \xmlflush{#1}\par}}
\stopxmlsetups

\starttext
\xmlprocessbuffer{main}{test}{}
\stoptext

Hints appreciated!

All best

Thomas
___
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] Minimal ConTeXt and texfont!

2010-12-13 Thread Henning Hraban Ramm

Am 2010-12-13 um 15:21 schrieb Verhaag, G.C.H.M.:
I use the latest ConTeXt MkIV version on a Linux (kernel 2.4) based  
PC; so I use LuaTeX!


Good, that's most easy for fonts.

I understand that I don't need to use texfont when using ttf-fonts,  
with this version of ConTeXt.


Right.


But still need to write the proper typescripts, right?


Not if you use the simplefonts module (except you have a unregular  
font family) or someone else already wrote them ;-)



Does the same apply to opentype fonts?



Yes.


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

___
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] Minimal ConTeXt and texfont!

2010-12-13 Thread Verhaag, G.C.H.M.

Mojca Miklavec wrote:


On Mon, Dec 13, 2010 at 10:27, Verhaag, G.C.H.M. wrote:
 


I want to try to install some new fonts and it is common practice to use
texfont for that. ConTeXt comes with its own texfont, but when I type
texfont at my linux-prompt, no texfont can be found? Do I need to install
additional tools to be able to build new fonts?
   



TeXfont used to be a common practice until the arrival of MKIV. It's
not maintained, it is somewhat buggy, it has been removed from
standard tools (though you can still make it work easily), but I would
strongly recommend you to use ConTeXt MKIV (LuaTeX instead of pdfTeX)
if you need non-texie fonts. In that case all you need to do is to put
your fonts into texmf-fonts or texmf-local under
tex/opentype/company/fontname (the part "tex/opentype" is the most
important part - assuming that you are indeed dealing with OpenType
fonts).

Alternatively you may configure OSFONTDIR to point to the folders
where you have your system fonts and they will be picked up
automatically. If you use XeTeX your system font should be found by
default.

You only need the right typescripts, but no font conversion at all.

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
___

 


Hi,

I use the latest ConTeXt MkIV version on a Linux (kernel 2.4) based PC; 
so I use LuaTeX!


I understand that I don't need to use texfont when using ttf-fonts, with 
this version of ConTeXt.


But still need to write the proper typescripts, right?
Does the same apply to opentype fonts?

Regards,
Gerard Verhaag
___
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] Proposal for math mappings

2010-12-13 Thread Aditya Mahajan

On Sun, 12 Dec 2010, Procházka Lukáš wrote:


Hello, thanks for the deeper explanation -

On Sat, 11 Dec 2010 17:28:55 +0100, Aditya Mahajan  wrote:


I agree that digits, upper and lower case latin and greek does not capture
all mathematic characters for which such mappings are needed. Similar
mappings might also be needed for some symbols like nabla (are there other
such symbols?). These can also be added as a key like

nabla={normal,italic}

or

nabla={bold,normal}


I came to work with some similar operators in differential geometry, so as I 
remember or I can find:


grad (also horizontally flipped greek Delta)
div (looking like normal greek Delta)
curl, rot - the same as div (but in R3 space, whilst div is for R1)
Laplace operator


Unlike Nabla, these characters do not have any bold or sans-serif 
variants, so it does not make sense to define math-mappings for them.


The only other character that I could find with multiple alternatives is 
the partial symbol. So, I suggest the following macro:


\definemathmappings % and \setupmathmappings
 []
 [digits=...,
  uclatin=,
  lclatin=,
  ucgreek=...,
  lcgreek=...,
  nabla=...,
  partial=...]

Other symbols (blackboard sum, differential operator, etc) are better 
handled by a dedicated macro rather than input mappings.


If there are no other concerns, Hans, Mojca, and I can take this offline.

Aditya___
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] How to us hvdm-exm.tex

2010-12-13 Thread Hans van der Meer
My fault, they were indeed somewhat restricted -rwx- and that is 
unnecessary. Just too artless copied from their develop location to the 
distribution directory.
Sorry for the hassles.

Hans van der Meer


On 13 dec 2010, at 14:06, Jason Stein wrote:

> After a little more digging, I found that the permissions of the hvdm files 
> downloaded by TeX Live Utility were set to 700 (I don't know if this is the 
> default for http://tlcontrib.metatex.org/ or just an oversight). I chmod them 
> to 644 and everything works fine. Thanks for your responses.
> 
> Jason T. Stein, B. Sc. (1998), B. Ed. (2002)
> 
> 
> On Mon, Dec 13, 2010 at 2:37 AM, Hans Hagen  wrote:
> On 12-12-2010 4:44, Jason Stein wrote:
> Hello everyone.
> 
> I am new to ConTeXt, but a frequent LaTeX user. I have got ConTeXt to
> compile simple text documents, and want to try to use the hvdm-exm.tex
> package (or module?) from http://tlcontrib.metatex.org/ When I try to load
> it with \usemodule I get the error
> module hvdm-exm not found
> I am using TeX Live 2010 on Mac OS X 10.6.4. Any thoughts?
> 
> did you run mtxrun --generate after installation?
> 
> 
> -
>  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
> ___

___
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] How to us hvdm-exm.tex

2010-12-13 Thread Jason Stein
After a little more digging, I found that the permissions of the hvdm files
downloaded by TeX Live Utility were set to 700 (I don't know if this is the
default for http://tlcontrib.metatex.org/ or just an oversight). I chmod
them to 644 and everything works fine. Thanks for your responses.

Jason T. Stein, B. Sc. (1998), B. Ed. (2002)


On Mon, Dec 13, 2010 at 2:37 AM, Hans Hagen  wrote:

> On 12-12-2010 4:44, Jason Stein wrote:
>
>> Hello everyone.
>>
>> I am new to ConTeXt, but a frequent LaTeX user. I have got ConTeXt to
>> compile simple text documents, and want to try to use the hvdm-exm.tex
>> package (or module?) from http://tlcontrib.metatex.org/ When I try to
>> load
>> it with \usemodule I get the error
>> module hvdm-exm not found
>> I am using TeX Live 2010 on Mac OS X 10.6.4. Any thoughts?
>>
>
> did you run mtxrun --generate after installation?
>
>
> -
>  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] Minimal ConTeXt and texfont!

2010-12-13 Thread Mojca Miklavec
On Mon, Dec 13, 2010 at 10:27, Verhaag, G.C.H.M. wrote:
>
> I want to try to install some new fonts and it is common practice to use
> texfont for that. ConTeXt comes with its own texfont, but when I type
> texfont at my linux-prompt, no texfont can be found? Do I need to install
> additional tools to be able to build new fonts?

TeXfont used to be a common practice until the arrival of MKIV. It's
not maintained, it is somewhat buggy, it has been removed from
standard tools (though you can still make it work easily), but I would
strongly recommend you to use ConTeXt MKIV (LuaTeX instead of pdfTeX)
if you need non-texie fonts. In that case all you need to do is to put
your fonts into texmf-fonts or texmf-local under
tex/opentype/company/fontname (the part "tex/opentype" is the most
important part - assuming that you are indeed dealing with OpenType
fonts).

Alternatively you may configure OSFONTDIR to point to the folders
where you have your system fonts and they will be picked up
automatically. If you use XeTeX your system font should be found by
default.

You only need the right typescripts, but no font conversion at all.

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] buffers and expansion order

2010-12-13 Thread Wolfgang Schuster

Am 13.12.2010 um 12:04 schrieb Yury G. Kudryashov:

> Hi!
> 
> Why the following doesn't work?
> 
> \def\mybuf{\startbuffer[a]b\stopbuffer}

\def\mybuf{\setbuffer[a]b\endbuffer}

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
___


[NTG-context] buffers and expansion order

2010-12-13 Thread Yury G. Kudryashov
Hi!

Why the following doesn't work?

\def\mybuf{\startbuffer[a]b\stopbuffer}
\mybuf

Actually, I need slightly more advanced command, but this is the minimal 
example.

___
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 Using \placetable and TABLE

2010-12-13 Thread barndog1946

I got the recodes for splitting loong tables and that works but:

How can I get (continued) in the footer and get the table number within the  
caption to understand that the table is continued and NOT a NEW table?


barney
___
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] bold small caps

2010-12-13 Thread Marco
On 2010-12-12 Wolfgang Schuster  wrote:

> > Maybe it is possible that the \sc macro can check if the font contains the
> > small caps as a feature. Is there a switch like
> > \doiffontfeatureexists{smcp}{...}?
> 
> \startluacode
> function commands.doifelsecurrentfonthasfeature(name)
> local f = fonts.identifiers[font.current()]
> f = f and f.shared
> f = f and f.otfdata
> f = f and f.luatex
> f = f and f.features
> commands.doifelse(f and (f.gpos[name] or f.gsub[name]))
> end
> \stopluacode
> 
> \def\doifelsecurrentfonthasfeature#1%
>   {\ctxlua{commands.doifelsecurrentfonthasfeature("#1")}}
> 
> \let\normalsc\sc
> \definefontfeature[smcp][smcp=yes]
> \definefontfeature[latn][script=latn]
> 
> \unexpanded\def\sc{\doifelsecurrentfonthasfeature{smcp}{\addfs{smcp}}\normalsc}
> 
> \starttext
> 
> \tf text \sc text
> 
> \switchtobodyfont[cambria]\addfs{latn} % cambria needs the latin script for
> smallcaps
> 
> \tf text \addfs{smcp} text
> 
> \switchtobodyfont[modern]
> 
> \tf text \sc text
> 
> \stoptext
That's a nice piece of code! Thanks for your effort.

Marco


___
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] Minimal ConTeXt and texfont!

2010-12-13 Thread Henning Hraban Ramm

Am 2010-12-13 um 10:27 schrieb Verhaag, G.C.H.M.:

I've removed my old TeXLive installation from my Linux box, an  
decided to start using ConTeXt only!


Congratulations!

I want to try to install some new fonts and it is common practice to  
use texfont for that. ConTeXt comes with its own texfont, but when I  
type texfont at my linux-prompt, no texfont can be found? Do I need  
to install additional tools to be able to build new fonts?



You normally don't need texfont nor any other tools.

What version of ConTeXt (MarkII or MarkIV) and if MarkII, which engine  
(pdfTeX or XeTeX) do you use? On which OS?
What kind of fonts do you want to use (OPenType, TrueType, PS Type1 or  
other)?


Have a look at the wiki* and Wolfgang's simplefonts[2] module (to  
avoid the need to write typescripts).


[1] http://wiki.contextgarden.net/Fonts#How_to_use_fonts_in_ConTeXt  
(Might be more confusing that helping, though.)

[2] http://wiki.contextgarden.net/Fonts_in_LuaTeX#With_the__simplefonts_module

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

___
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] writebetweenlist regression (mkiv)

2010-12-13 Thread Steffen Wolfrum

Am 08.11.2010 um 23:03 schrieb Marco:

> 
> Hello there. 
> 
> Currently \writebetweenlist doesn't work as advised. It inserts the
> argument before the last entry of the list. The minimal example is
> provided by the reference itself. 
> 
> http://wiki.contextgarden.net/Reference/en/writebetweenlist
> 
> The rule is correctly inserted at http://live.contextgarden.net/ and in
> the ConTeXt shipped with TeXlive 2010 (2010.05.24), but not with the
> current beta and the 2010.07.30 version. mkii works fine.
> 
> It prints 
> 
> --rule--
> List entry A
> List entry B



Unfortunately, I can confirm this with current version: 

ver: 2010.12.12 17:06 MKIV


Help please!

Steffen
___
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] Minimal ConTeXt and texfont!

2010-12-13 Thread Verhaag, G.C.H.M.

Hi,

I've removed my old TeXLive installation from my Linux box, an decided 
to start using ConTeXt only!


So, I installed the ConTeXt minimals (from contextgarden) and everything 
seems to work just fine, but..


I want to try to install some new fonts and it is common practice to use 
texfont for that. ConTeXt comes with its own texfont, but when I type 
texfont at my linux-prompt, no texfont can be found? Do I need to 
install additional tools to be able to build new fonts?


Any suggestions? Thanks in advance!

Regards,
Gerard Verhaag
___
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] winter cleanup in the wiki

2010-12-13 Thread Hans Hagen

On 13-12-2010 1:50, Jonas Stein wrote:

Hi,

there are (were) many duplicate installation pages in the
wiki.

I merged some and deleted a lot duplicate stuff.
The work is not finished yet.

i created a new category in the wiki:
http://wiki.contextgarden.net/Category:deleteme

These articles are merged to others and no longer needed.

Is the part about Configuration files still up to date?
http://wiki.contextgarden.net/Installation_hints

Its last edited in 2008 and links to manuals from 2001 and 2003.


maybe add a note there that it might make more sense to install the 
minimals or texlive (context package)


Hans

-
  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] How to us hvdm-exm.tex

2010-12-13 Thread Hans Hagen

On 12-12-2010 4:44, Jason Stein wrote:

Hello everyone.

I am new to ConTeXt, but a frequent LaTeX user. I have got ConTeXt to
compile simple text documents, and want to try to use the hvdm-exm.tex
package (or module?) from http://tlcontrib.metatex.org/ When I try to load
it with \usemodule I get the error
module hvdm-exm not found
I am using TeX Live 2010 on Mac OS X 10.6.4. Any thoughts?


did you run mtxrun --generate after installation?


-
  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] How about a forum

2010-12-13 Thread Taco Hoekwater

On 12/13/2010 09:27 AM, Hans Hagen wrote:

On 12-12-2010 7:43, Alan BRASLAU wrote:


I do not like/use forums, as they require going to some web site and
choosing
a category, often badly structured, and thus opaque. Would a ConTeXt
forum
present any advantages over the mailing list?


Not for me as I have no time to keep eyes on forums and it would cost me
way too much time to use them.


Not for me either. I keep track of tex.stackexchange.com, though.

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] How to us hvdm-exm.tex

2010-12-13 Thread Hans van der Meer
Jason,

If it is not found, then one can only conclude it is not on your TeX-path. Try 
first to put the modules in the directory where also your primary source is.

Hans van der Meer

On 12 dec 2010, at 16:44, Jason Stein wrote:

> Hello everyone. 
> 
> I am new to ConTeXt, but a frequent LaTeX user. I have got ConTeXt to compile 
> simple text documents, and want to try to use the hvdm-exm.tex package (or 
> module?) from http://tlcontrib.metatex.org/ When I try to load it with 
> \usemodule I get the error
> module hvdm-exm not found
> I am using TeX Live 2010 on Mac OS X 10.6.4. Any thoughts?
> 
> Jason T. Stein, B. Sc. (1998), B. Ed. (2002)
> ___
> 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
> ___

___
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] How about a forum

2010-12-13 Thread Hans Hagen

On 12-12-2010 7:43, Alan BRASLAU wrote:


I do not like/use forums, as they require going to some web site and choosing
a category, often badly structured, and thus opaque. Would a ConTeXt forum
present any advantages over the mailing list?


Not for me as I have no time to keep eyes on forums and it would cost me 
way too much time to use them.


Hans



-
  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
___