[NTG-context] should \getmarking[title] work?

2009-06-25 Thread Michael Green
I expected \getmarking[title] to give me the contents of \title. It  
used to work (as of late spring). Perhaps something has changed.


MTXrun | current version: 2009.06.14 21:01
This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) luatex.web  
= v2471



Test file:

\starttext
\title{This is the title}

The title should be here: \getmarking[title]. But it's just a blank  
space.


\stoptext


-
This message has been scanned by Postini anti-virus software.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] should footnote columns work?

2009-06-25 Thread Michael Green
Footnotes are not put into columns in the test file below. In longer  
files, the line separating footnotes from the text overlaps the last  
line or two of the text.


MTXrun | current version: 2009.06.14 21:01
This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) luatex.web  
= v2471


test file:

\setupfootnotes[n=2,columndistance=3em]
\starttext

\input bryson\footnote{Bryson}

\input davis\footnote{Davis}


\stoptext


-
This message has been scanned by Postini anti-virus software.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Document Titles

2009-06-25 Thread Gerben Wierda

I followed the wiki

http://wiki.contextgarden.net/Document_Titles

but the last part Adding markings to headers and footers does not  
work. I suspect In ConTeXt: A more advanced solution was put in  
later and the instructions in Adding Markings does not work in that  
solution.


So, how do I add the markings in the advanced solution in the wiki  
instructions?


G

PS. This is what I would really like to have in ConTeXt. A gooed set  
of modules like a t-title, t-article, etc. Why after all these years  
has this not been added? It would make ConTeXt so much more usable for  
conceptual writers like myself.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Document Titles

2009-06-25 Thread Wolfgang Schuster


Am 25.06.2009 um 11:28 schrieb Gerben Wierda:

PS. This is what I would really like to have in ConTeXt. A gooed set  
of modules like a t-title, t-article, etc. Why after all these years  
has this not been added? It would make ConTeXt so much more usable  
for conceptual writers like myself.


There had been a few requests in the past about predefined styles  
copying

then LaTeX article and report classes but when Hans asked for specs he
got no answer, if you want them make a list of the features, settings  
etc.


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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] should \getmarking[title] work?

2009-06-25 Thread Wolfgang Schuster


Am 25.06.2009 um 00:51 schrieb Michael Green:

I expected \getmarking[title] to give me the contents of \title. It  
used to work (as of late spring). Perhaps something has changed.


MTXrun | current version: 2009.06.14 21:01
This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009)  
luatex.web = v2471


Test file:

\starttext
\title{This is the title}

The title should be here: \getmarking[title]. But it's just a blank  
space.


\stoptext


\starttext

\title[sec:title]{This is the title}

The title should be here: \ref[s][sec:title].

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] label, caption and eps in figures?

2009-06-25 Thread Pau
Hello,

was this question too silly, or did it just fall in a bottomless pit?

thanks in any case

Pau

2009/6/24 Pau vim.u...@googlemail.com:
 Hello,

 some weeks ago I asked how to have a caption under a figure. I got a
 detailed answer:


 \placefigure
   [here]           % location
   [fig.MyCaption]  % reference
   {My Caption}     % caption
   {\externalfigure[MyFigure.eps][factor=broad]}

 Now I am preparing a presentation and I would like to have a figure
 with a caption below it but, of course, I would like not to have the
 Fig. 1 on it.

 I have figured out how to remove the Fig. part of it:

 \setuplabeltext[en][figure=]

 in the preamble. But I am still getting the number in bold: 1.1 in
 the caption. How could I remove it?

 thanks a lot

 Pau


 2009/6/13 Pau vim.u...@googlemail.com:
 Thanks again!

 pstopdf is accomplishing what neither convert, nor ps2pdf, nor etc etc
 was able to do

 Thank you very much for the hint

 Pau

 2009/6/13 Hans Hagen pra...@wxs.nl:
 Pau wrote:

 Hello,

 thanks a _lot_

 Now I have converted all eps figures into pdf, but I am running yet
 into another snag... the conversion seems to ruin the bounding box of
 the eps figures, so that the pdf figures are taking a full a4 site;
 when I then use them in the main tex file, they are filling a whole
 page.

 Is there a way to define a bounding box in \externalfigure ? I have
 checked in the wikipage and googled a bit, but since English is not my
 mother tongue, I may very well have used a bad keyword.

 If not, can anybody point me to a way of modifying a pdf file to get
 rid of all exterior white space around a figure? I can imagine you can
 do this with adobe software, but I don't have that. Only unix.

 there is a pdtopdf script in the distribution (ruby script that needs gs)
 that can do it that way (by default it uses the boundingbox)

 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
 -




 --
 Let there be peace on earth. And let it begin with misc




 --
 Let there be peace on earth. And let it begin with misc




-- 
Let there be peace on earth. And let it begin with misc
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] context mkiv bug + related feature request + related question

2009-06-25 Thread Yue Wang
any help?

On Mon, Jun 22, 2009 at 11:36 AM, Yue Wangyuleo...@gmail.com wrote:
 Hi, Hans:


 bug report :
 here is the test file. (old version of mkiv produce right result.
 current mkii result is also right)
 It is a bug introduced in this/last month.
 The code is a stripped down version of
 http://wiki.contextgarden.net/Horizontal_Table_of_Contents (altough it
 doesn't show toc horizontally)

 \newcount\chapcounter \chapcounter=0
 \def\tocchap#1#2#3{\advance\chapcounter by 1 #1 #2%
        \placelist[section][criterium=chapter,number=\chapcounter]}
 \starttext
 \placelist[chapter][alternative=command,command=\tocchap]
 \chapter{hello} \section{hello} \section{hello}
 \chapter{good} \section{good} \section{good}
 \chapter{bad} \section{bad} \section{bad}
 \stoptext

 feature request:

 btw, Hans, context should give an option to iterate through all the
 chapters/sections to do something tricky.
 using \chaptercounter is a really bad idea (the materials should
 follow strict rules, like cannot jump from chap 1 to chap 3).
 I think with mkiv it is able to achieve that.

 question:

 I want to show toc before each chapter, and the toc only shows the
 following chapter name in red.
 How can I do that?
 e.g. show the following before chapter 3

 % A Page
 Chap1
 sec 1 sec 2 sec 3
 Chap2
 sec 1 sec 2 sec 3
 Chap 3  %in red
 sec 1 sec 2 sec 3 %in Red
 Chap4
 sec 1 sec 2 sec 3
 % Next Page
 Chapter 3 % title
 a lot of materials


 Yue Wang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Why no page numbering here?

2009-06-25 Thread Carlos Breton Besnier
I think because the footer is 0 mm.



2009/6/25, Gerben Wierda gerben.wie...@rna.nl:

 Question. With

 \definetyping[SQL][option=color,numbering=line,bodyfont=9pt]
 \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
 \setuplayout[leftmargin=10mm,rightmargin=0mm,footer=0mm,header=5mm]
 \setuppapersize[A4,landscape][a4,landscape]
 \setupbackgrounds[page][background=ifsqoverlay]
 \setuptyping[SQL][palet=colorpretty]
 \setuppagenumbering[location=inleft]
 \def\typeSQLfile{\typefile[SQL]}
 \starttext

 why do I not see page numbers? Has this to do with my margins (I need to
 use as much space on the page as possible)?

 Thanks,

 G

 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Referencing formulae

2009-06-25 Thread Willi Egger

Hi,

Hm, it looks like that the referencing mechanism is broken:

in context beta 2009-06-14 Luatex 0.40.5

\starttext
\startformula \startalign
\NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
\NC a_2 x + b_2 y \NC = c_2 \NR[eq:2]
\stopalign \stopformula
As seen from (\in[eq:1]) and (\in[eq:2]), referring equations is  
straight

forward.
\stoptext

Kind regards

Willi
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] On creating my own fonts

2009-06-25 Thread William Adams

On Jun 19, 2009, at 7:41 AM, Khaled Hosny wrote:


On Fri, Jun 19, 2009 at 11:43:44AM +0200, Mojca Miklavec wrote:


4.) Be prepared to invest a lot of time ...


Tell me about it, I started three years ago and I'm nowhere close to  
my

original goal :)



I've got over a decade (closing in on a decade-and-a-half) on my  
effort at a revival of a hot metal typeface --- maybe I'll get back to  
it this year


William

--
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] label, caption and eps in figures?

2009-06-25 Thread Willi Egger

You mean no caption at all:

\placefigure
[here,none]
[]fig:foto]
{}
{\externalfigure...}

Willi
On Jun 25, 2009, at 1:25 PM, Pau wrote:


Hello,

was this question too silly, or did it just fall in a bottomless pit?

thanks in any case

Pau

2009/6/24 Pau vim.u...@googlemail.com:

Hello,

some weeks ago I asked how to have a caption under a figure. I got a
detailed answer:


\placefigure
  [here]   % location
  [fig.MyCaption]  % reference
  {My Caption} % caption
  {\externalfigure[MyFigure.eps][factor=broad]}

Now I am preparing a presentation and I would like to have a figure
with a caption below it but, of course, I would like not to have the
Fig. 1 on it.

I have figured out how to remove the Fig. part of it:

\setuplabeltext[en][figure=]

in the preamble. But I am still getting the number in bold: 1.1 in
the caption. How could I remove it?

thanks a lot

Pau


2009/6/13 Pau vim.u...@googlemail.com:

Thanks again!

pstopdf is accomplishing what neither convert, nor ps2pdf, nor  
etc etc

was able to do

Thank you very much for the hint

Pau

2009/6/13 Hans Hagen pra...@wxs.nl:

Pau wrote:


Hello,

thanks a _lot_

Now I have converted all eps figures into pdf, but I am running  
yet
into another snag... the conversion seems to ruin the bounding  
box of
the eps figures, so that the pdf figures are taking a full a4  
site;
when I then use them in the main tex file, they are filling a  
whole

page.

Is there a way to define a bounding box in \externalfigure ? I  
have
checked in the wikipage and googled a bit, but since English is  
not my

mother tongue, I may very well have used a bad keyword.

If not, can anybody point me to a way of modifying a pdf file  
to get
rid of all exterior white space around a figure? I can imagine  
you can

do this with adobe software, but I don't have that. Only unix.


there is a pdtopdf script in the distribution (ruby script that  
needs gs)

that can do it that way (by default it uses the boundingbox)

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
-





--
Let there be peace on earth. And let it begin with misc





--
Let there be peace on earth. And let it begin with misc





--
Let there be peace on earth. And let it begin with misc
__ 
_
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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] On creating my own fonts

2009-06-25 Thread luigi scarso
On Thu, Jun 25, 2009 at 4:16 PM, William Adams will.ad...@frycomm.comwrote:

 On Jun 19, 2009, at 7:41 AM, Khaled Hosny wrote:

  On Fri, Jun 19, 2009 at 11:43:44AM +0200, Mojca Miklavec wrote:


 4.) Be prepared to invest a lot of time ...


 Tell me about it, I started three years ago and I'm nowhere close to my
 original goal :)



 I've got over a decade (closing in on a decade-and-a-half) on my effort at
 a revival of a hot metal typeface --- maybe I'll get back to it this
 year

uh why is it so difficult ?
I  mean, I understand that can be hard.. but so hard ?

-- 
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] On creating my own fonts

2009-06-25 Thread William Adams

On Jun 25, 2009, at 10:25 AM, luigi scarso wrote:


uh why is it so difficult ?
I  mean, I understand that can be hard.. but so hard ?



I've been drawing every instance of every character I can find at  
every size --- then for the instances I have all of the sizes I have  
to regularize them so that they have the same number of nodes and for  
the instances where I'm missing sizes I have to fill in what's  
missing, adjusting the outlines to make them all proportional.


Arguably this is the wrong path --- I should just be worrying about  
the extreme sizes and interpolating the balance --- the problem is I  
don't have access to a compleat character set at even a single size,  
let alone the twain of the extremes.


I've been considering re-starting the whole thing using Metatype1 and  
using what I've drawn as check points, but haven't found the time yet.


And I still need to do the italic, the bold and the bold-italic

William

--
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Simpleslides question

2009-06-25 Thread Vyatcheslav Yatskovsky
Thanks for asking. The problem is so simple from PowerPoint view. I want 
to place a logo of my academic institution on the front page, above the 
slide title. I can guess its x,y coordinates, but cannot understand how 
to place it there.


I know something about overlays, but it seems that they can add an image 
to a text already placed somewhere. I have no text, I just want to place 
an image at arbitrary location at one page.



  Hello,

  Can I arrange*multiple*  images per a page in specified positions (x,y) using
  simpleslides module?
 


Can you elaborate? Do you want the same images to appear in all slides in
the background (like a corporate design), or do you want to include
multiple images on a single page, say two images side by side?

Aditya

Vyatcheslav
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt version of LaTeX's article class

2009-06-25 Thread Vyatcheslav Yatskovsky
Btw, I most like small navigation buttons in the bottom ) Good idea to 
something alike to Simpleslides.



can i also ask, does simple-slides offer something like this?

   http://people.cs.uu.nl/andres/NixOS-IFIP.pdf
   

Vyatcheslav
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] should \getmarking[title] work?

2009-06-25 Thread Michael Green

On Jun 25, 2009, at 3:00 AM, Wolfgang Schuster wrote:


Am 25.06.2009 um 00:51 schrieb Michael Green:


I expected \getmarking[title] to give me the contents of \title. It
used to work (as of late spring). Perhaps something has changed.

MTXrun | current version: 2009.06.14 21:01
This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009)
luatex.web = v2471

Test file:

\starttext
\title{This is the title}

The title should be here: \getmarking[title]. But it's just a blank
space.

\stoptext


\starttext

\title[sec:title]{This is the title}

The title should be here: \ref[s][sec:title].

\stoptext

Wolfgang



Thanks! That worked using Mk II but not with Mk IV. Is that to be  
expected?


Michael
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] On creating my own fonts

2009-06-25 Thread Joel C. Salomon
luigi scarso wrote:
 uh why is it so difficult ?
 I  mean, I understand that can be hard.. but so hard ?

From all I’ve learned by lurking on Typophile.com, yes; the $20–40 per
weight-style most fonts sell for is quite reasonable given the work
required to produce it.

William Adams wrote:
 I've been considering re-starting the whole thing using Metatype1 and
 using what I've drawn as check points, but haven't found the time yet.

Cool idea!  I don’t believe there are many METATYPE1 fonts drawn with
any degree of parameterization (meta-ness)—are there any besides the
GUST Antykwa fonts (Toruńska  Półtawskiego)?

—Joel Salomon
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Why no page numbering here?

2009-06-25 Thread Gerben Wierda

On 25 Jun 2009, at 14:38, Carlos Breton Besnier wrote:


I think because the footer is 0 mm.


But doesn't inleft mean the page number is in the left margin, not the  
footer?


G





2009/6/25, Gerben Wierda gerben.wie...@rna.nl:
Question. With

\definetyping[SQL][option=color,numbering=line,bodyfont=9pt]
\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\setuplayout[leftmargin=10mm,rightmargin=0mm,footer=0mm,header=5mm]
\setuppapersize[A4,landscape][a4,landscape]
\setupbackgrounds[page][background=ifsqoverlay]
\setuptyping[SQL][palet=colorpretty]
\setuppagenumbering[location=inleft]
\def\typeSQLfile{\typefile[SQL]}
\starttext

why do I not see page numbers? Has this to do with my margins (I  
need to use as much space on the page as possible)?


Thanks,

G
___
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  : https://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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___