Re: [NTG-context] setuphead style 'underline'?

2014-08-17 Thread Matthias Weber
I am not sure whether that’s what you want, but I use


\setuphead  [section]
[numberstyle=bold,
style={\tfb\bf\ss},
page=yes,
continue=no,
before={\hairline},
after={\hairline\blank[.4cm]}

Matthias


On Aug 17, 2014, at 2:40 PM, Gerben Wierda gerben.wie...@rna.nl wrote:

 Is there a way to get underlined headers with \setuphead?
 ___
 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
 ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Accessing the URL of \useURL (for putting URLs into footnotes)

2014-08-07 Thread Matthias Weber
Dear All,

for the printable version of a document I’d like to put the actual URLs into 
footnotes.
In other words, I’d like to replace

\setupinteraction [state=start]
\starttext

\useURL
  [garden]
  [http://wiki.contextgarden.net/Main_Page]
  []
  [ConTeXtgarden]


\starttext

Look at the \from[garden]!

\stoptext

with

\setupinteraction [state=start]
\starttext

\useURL
  [garden]
  [http://wiki.contextgarden.net/Main_Page]
  []
  
[ConTeXtgarden\footnote{\hyphenatedurl{http://wiki.contextgarden.net/Main_Page}}]


\starttext

Look at the \from[garden]!

\stoptext

To save me from retyping all the URLs, there must be some way to access the URL 
of garden instead of the display text so that
I could do something like


\def\myfrom[#1]{
\startmode[screen] 
\from[1]
\stopmode   
\startmode[print] 
\from[1]
\footnote{\hyphenatedurl{get the URL text  from \useURL instead 
of the display text}}
\stopmode
}

Thanks,

Matthias






signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Accessing the URL of \useURL (for putting URLs into footnotes)

2014-08-07 Thread Matthias Weber
Thanks Wolfgang!

Matthias

On Aug 7, 2014, at 6:35 AM, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:

 
 Am 07.08.2014 um 12:26 schrieb Matthias Weber matwe...@indiana.edu:
 
 Dear All,
 
 for the printable version of a document I’d like to put the actual URLs into 
 footnotes.
 In other words, I’d like to replace
 
 \setupinteraction [state=start]
 \starttext
 
 \useURL
 [garden]
 [http://wiki.contextgarden.net/Main_Page]
 []
 [ConTeXtgarden]
 
 
 \starttext
 
 Look at the \from[garden]!
 
 \stoptext
 
 with
 
 \setupinteraction [state=start]
 \starttext
 
 \useURL
 [garden]
 [http://wiki.contextgarden.net/Main_Page]
 []
 [ConTeXtgarden\footnote{\hyphenatedurl{http://wiki.contextgarden.net/Main_Page}}]
 
 
 \starttext
 
 Look at the \from[garden]!
 
 \stoptext
 
 To save me from retyping all the URLs, there must be some way to access the 
 URL of garden instead of the display text so that
 I could do something like
 
 
 \def\myfrom[#1]{
  \startmode[screen] 
  \from[1]
  \stopmode   
  \startmode[print] 
  \from[1]
  \footnote{\hyphenatedurl{get the URL text  from \useURL instead 
 of the display text}}
  \stopmode
 }
 
 \setupinteraction [state=start]
 
 \useurl
  [garden]
  [http://wiki.contextgarden.net/Main_Page]
  []
  [ConTeXt garden]
 
 \starttext
 
 Look at the \from[garden] at \url[garden].
 
 \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
 ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Three questions about descriptions

2014-07-25 Thread Matthias Weber
Dear All,

I’d like to use a mechanism that allows me to create an itemized list with my 
own labels like one can
with descriptions:

\definedescription[outline][
headstyle=bold,style=normal,alternative=hanging,margin=1cm,distance=-.8cm]

\starttext

\outline[Welcome] Tea

\outline[Introduction] Tufte or Knuth?

\outline[Snack] Chocolate Cake

\outline[Discussion] Knuth or Tufte?

\outline[Open End] Bear and wine

\stoptext

However, instead of the above I would like to 

— have the result “packed”, i.e. without lines between the descriptions
— have a stopper (“:”) after the label
— have the text of the description begin after the stopper and not at a fixed 
indentation (distance=…)

How do I do that?

Thanks,

Matthias



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Three questions about descriptions

2014-07-25 Thread Matthias Weber
Thanks Rik,

that does exactly what I want.

Matthias


On Jul 25, 2014, at 4:03 PM, Rik Kabel cont...@rik.users.panix.com wrote:

 On 2014-07-25 14:56, Matthias Weber wrote:
 Dear All,
 
 I’d like to use a mechanism that allows me to create an itemized list with 
 my own labels like one can
 with descriptions:
 
 \definedescription[outline][
 
 headstyle=bold,style=normal,alternative=hanging,margin=1cm,distance=-.8cm]
 
 \starttext
 
 \outline[Welcome] Tea
 
 \outline[Introduction] Tufte or Knuth?
 
 \outline[Snack] Chocolate Cake
 
 \outline[Discussion] Knuth or Tufte?
 
 \outline[Open End] Bear and wine
 
 \stoptext
 
 However, instead of the above I would like to 
 
 — have the result “packed”, i.e. without lines between the descriptions
 — have a stopper (“:”) after the label
 — have the text of the description begin after the stopper and not at a 
 fixed indentation (distance=…)
 
 How do I do that?
 
 Thanks,
 
 Matthias
 
 
 The following works, but I suspect that there may be a better way to get the 
 packing.
 \define[1]\outlinehead{#1:}
 \definedescription[outline] 
 \setupdescription [outline]
   [headstyle=bold,
style=normal,
 %  alternative=hanging,
width=fit,
distance=1ex,
before={\blank[back]},
headcommand=\outlinehead,
  ]
 
 \starttext
 
 \outline{Welcome} Tea
 
 \outline{Introduction} Tufte or Knuth? and more and more and more and more to 
 see what hanging does.
 
 \outline{Snack} Chocolate Cake
 
 \outline{Discussion} Knuth or Tufte?
 
 \outline{Open End} Bear and wine
 
 \stoptext
 Try it both with and without the hanging alternative.
 
 And for me, beer is preferable to bear.
 -- 
 Rik
 ___
 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
 ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Simple command with variable number of arguments

2014-05-23 Thread Matthias Weber
Dear All,

I would like to define a command that expands 

\vector{2,4} % or vector[2,4] if that’s easier

to

\startpmatrix
 \NC 2 \NR
 \NC 4 \NR
\stoppmatrix

and more generally

\vector{2,4,1,7}

to

\startpmatrix
 \NC 2 \NR
 \NC 4 \NR
\NC 1 \NR
\NC 7 \NR
\stoppmatrix

Any hints how to achieve this?

Thanks,

Matthias


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Simple command with variable number of arguments

2014-05-23 Thread Matthias Weber
Thanks Otared,

that looks very promising. My attempt to wrap the arguments with \NC \NR fails, 
though.
It looks like only the first argument is used, and I am clearly missing 
something.
Also, I’d like to use the example you posted but without the last comma so that 
in the example below
I get (4,5) instead of (4,5,).

Matthias


\definemathmatrix
  [pmatrix]
  [left={\left(\,},right={\,\right)}]
  

\def\docolumnvector#1{\NC#1\NR}
  
\def\columnvector#1
{\startpmatrix
\processcommalist[#1]\docolumnvector
\stoppmatrix}


\def\dorowvector#1{#1,}
  
\def\rowvector#1
{\startpmatrix
\processcommalist[#1]\dorowvector
\stoppmatrix}

\starttext

\startformula
\columnvector{1,2,3}
\stopformula

\startformula
\rowvector{4,5}
\stopformula

\stoptext





On May 23, 2014, at 6:08 AM, Otared Kavian ota...@gmail.com wrote:

 Hi,
 
 Some time ago Wolfgang S. gave a solution to a similar problem: maybe this 
 can help you.
 
  begin
 \def\somemacro#1%
  {\def\dosomemacro##1{Execute ##1, }%
   \processcommalist[#1]\dosomemacro}
 
 \starttext
 \somemacro{A,B,C}
 
 \somemacro{E,F}
 \stoptext
  end
 
 Best regards: OK
 
 On 23 May 2014, at 11:54, Matthias Weber matwe...@indiana.edu wrote:
 
 Dear All,
 
 I would like to define a command that expands 
 
 \vector{2,4} % or vector[2,4] if that’s easier
 
 to
 
 \startpmatrix
 \NC 2 \NR
 \NC 4 \NR
 \stoppmatrix
 
 and more generally
 
 \vector{2,4,1,7}
 
 to
 
 \startpmatrix
 \NC 2 \NR
 \NC 4 \NR
 \NC 1 \NR
 \NC 7 \NR
 \stoppmatrix
 
 Any hints how to achieve this?
 
 Thanks,
 
 Matthias
 ___
 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
 ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Simple command with variable number of arguments

2014-05-23 Thread Matthias Weber
Thanks Aditya,but out of the box the following\usemodule[simplematrix]\definesimplematrix[MATRIX][fence=bracket]\starttext\startformula\MATRIX{1,2,3}\MATRIX{1;2;3}\stopformula\stoptextgives me

texshop_image.pdf
Description: Adobe PDF document
MatthiasOn May 23, 2014, at 6:56 AM, Aditya Mahajan adit...@umich.edu wrote:On Fri, 23 May 2014, Matthias Weber wrote:Dear All,I would like to define a command that expands\vector{2,4} % or vector[2,4] if that’s easierto\startpmatrix\NC 2 \NR\NC 4 \NR\stoppmatrixand more generally\vector{2,4,1,7}to\startpmatrix\NC 2 \NR\NC 4 \NR\NC 1 \NR\NC 7 \NR\stoppmatrixAny hints how to achieve this?Surprisingly, this is not as simple as it may seem at first glance. Some time ago, I had written a module to achieve this. See attached. The usage is:\usemodule[simplematrix]\definesimplematrix[MATRIX][fence=bracket](any predefined math-fence will work) and then:\MATRIX{1,2,3} for row vectors and \MATRIX{1;2;3} for column vectors, and \MATRIX{1,2,3; 4,5,6} for matrices.You can use \definesimplematrix[...][distance=..., align=...] to influence the distance and align keys of mathmatrix.Adityat-simplematrix.mkvi___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-contextwebpage :http://www.pragma-ade.nl/http://tex.aanhet.netarchive :http://foundry.supelec.fr/projects/contextrev/wiki :http://contextgarden.net___

signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Simple command with variable number of arguments

2014-05-23 Thread Matthias Weber
Indeed - I should have checked, I tried this with the TeXLive version. With the 
current beta it works.
Thank!

Matthias

On May 23, 2014, at 7:37 AM, Aditya Mahajan adit...@umich.edu wrote:
 
 
 Strange. What version of context are you using? 
 
 Aditya
 
 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Simple command with variable number of arguments

2014-05-23 Thread Matthias Weber
Thanks Luigi! Now I have a lot to play with…

Matthias


On May 23, 2014, at 7:44 AM, luigi scarso luigi.sca...@gmail.com wrote:

 
 
 
 On Fri, May 23, 2014 at 11:54 AM, Matthias Weber matwe...@indiana.edu wrote:
 Dear All,
 
 I would like to define a command that expands
 
 \vector{2,4} % or vector[2,4] if that’s easier
 
 to
 
 \startpmatrix
  \NC 2 \NR
  \NC 4 \NR
 \stoppmatrix
 
 and more generally
 
 \vector{2,4,1,7}
 
 to
 
 \startpmatrix
  \NC 2 \NR
  \NC 4 \NR
 \NC 1 \NR
 \NC 7 \NR
 \stoppmatrix
 
 Any hints how to achieve this?
 
 Thanks,
 
 
 
 \definemathmatrix
   [pmatrix]
   [left={\left(\,},right={\,\right)}]
 
 \startluacode
 document = document or {}
 document.matthias =  document.matthias or {} 
 local function lua_columnvector(a)
  context.startpmatrix()
   for i,v in ipairs(a) do
  context.NC() context(tostring(v))  context.NR()
  end
  context.stoppmatrix()
 end
 document.matthias.lua_columnvector = document.matthias.lua_columnvector  or 
 lua_columnvector
 \stopluacode
 
 \def\columnvector#1{\ctxlua{document.matthias.lua_columnvector(#1)}}
 
 \starttext
 \startformula
 \columnvector{{1,2,3}} %% watch the double { !
 \stopformula
 
 
 \stoptext
 
 -- 
 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
 ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
Thanks again, Rik,

this works like a charm, with one exception: No matter what I try, the 
marginrule appears always in the left margin.
Is there a way to change this?

Matthias

 
On May 18, 2014, at 11:42 PM, Rik r...@panix.com wrote:

 
 I have been playing with this a bit. I think that the following does what you 
 want as far as setting up the margin text and description. I am no help on 
 the mp stuff that you will need for curly or other-dotted rules.
 
 As you probably saw, neither \setupmargindata nor \setupmarginframed are in 
 the wiki. The list archive has some hints, but the source code, if you ignore 
 a couple of misleading comments, suggested what I got to work.
 
 The problem you will run into with the description as you want to use it 
 comes when you have multiple paragraphs. Without a start/stop mechanism, 
 there is no way to mark the paragraphs to include within the scope of the 
 line. As long as you are willing to enclose multiple paragraphs in braces 
 (and provide a null description as I do here) you will be fine, but at that 
 point you may as well use the start/stop.
 
 There is still a problem with the margin rule extending through the blank 
 line that results from the implied \par at the end of the description block 
 (and any explicit \par). It looks ugly and isn't matched by the behavior of 
 the rule in the start/stop text. Perhaps someone else can find a way around 
 it.
 
 Some of this is probably unnecessary for what you want; for example, instead 
 of using optional arguments you may prefer to hardcode the choice of rule # 
 and color. If you want to always use the same color with the same rule #, you 
 can simplify in other ways.
 
 I did use MKVI syntax, simply because I have been trying to use it 
 consistently in all my current work. It should be easily translated back to 
 earlier syntax.
 
 % macros=mkvi
 \setupmarginrules[rulethickness=2pt,alternative=1]
 
 \setupmargindata  [left]
   [location=left,
style=\bfxx]
 \setupmarginframed[left]
   [frame=on,
framecolor=darkgray,
corner=round,
offset=3pt,
width=2cm,
align=middle]
 
 \starttexdefinition startMtext
   \bgroup
   \dotripleempty\dostartMtext
 \stoptexdefinition
 \starttexdefinition dostartMtext [#RULE][#COLOR][#ORDER]
   \doifemptyelse{#RULE}
 {\def\Rule{2}}%  default rule
 {\def\Rule{#RULE}}
   \doifemptyelse{#COLOR}
  {\def\Color{green}}%default color
  {\def\Color{#COLOR}}
   \ifthirdargument
 \inleft{Read\\this\\#ORDER}
   \fi
   \setupmarginrule[\Rule][rulecolor=\Color]
   \startmarginrule[\Rule]
 \stoptexdefinition
 \starttexdefinition stopMtext
   \stopmarginrule
   \egroup
 \stoptexdefinition
 
 \definedescription[greenline]
   [before={\setupmarginrules[rulecolor=green,
  alternative=0,
  rulethickness=0.5pt]
\indenting[no]
\startmarginrule[2]},
after={\stopmarginrule}]
 
 \starttext
 
 \startMtext [1][][first]
 \input knuth
 \stopMtext
 
 \startMtext [2][green][second]
 \input tufte
 \stopMtext
 
 \blank
 
 \startMtext [3][blue][third]
 \input tufte
 \stopMtext
 
 \startMtext [4][black][fourth]
 \input knuth
 \stopMtext
 
 \input knuth
 Just a few lines of text before the marked text.
 \startMtext[][red]
 \input tufte
 \stopMtext
 And a few lines of text after the marked text.
 \input knuth
 
 \blank
 
 \greenline \input knuth
 
 \blank
 
 \greenline{} {Some text and tufte: \input tufte
 
 Some more text.}
 
 \input tufte
 
 \startMtext [][magenta][last]
 \input tufte
 \stopMtext
 
 \stoptext
 
 ___
 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] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
Thanks Hans,

while I did experiment I had no chance at divining the correct dimension 
distance=-\dimexpr\textwidth+2mm below.

So, with that, my bare bones marginbar in the right margin could look like the 
one in the file below. Where do I squeeze in the alternative=1
option to get dotted lines? When I put it into \definesidebar, the sidebar 
disappears, and when I  write \startsidebar[oeps,alternative=1]
it reverts to the default left sidebar (albeit dotted).

Matthias



\setupmargindata  [left]
  [location=right,
   style=\bfxx]
\setupmarginframed[left]
  [frame=on,
   framecolor=darkgray,
   corner=round,
   offset=3pt,
   width=2cm,
   align=middle]
   
\definesidebar[oeps][rulecolor=blue,distance=-\dimexpr\textwidth+2mm,rulethickness=.1pt]


\starttexdefinition startRightbar
  \bgroup
\startsidebar[oeps]
\stoptexdefinition

\starttexdefinition stopRightbar
  \stopsidebar
  \egroup
\stoptexdefinition

\starttext



\input knuth
Just a few lines of text before the marked text.

\inmargin{Don’t\\read\\me\\again}
\startRightbar
\input tufte
\stopRightbar

And a few lines of text after the marked text.

\stoptext


On May 19, 2014, at 5:36 PM, Hans Hagen pra...@wxs.nl wrote:

 On 5/19/2014 9:59 PM, Rik Kabel wrote:
 On 2014-05-19 12:41, Matthias Weber wrote:
 Thanks again, Rik,
 
 this works like a charm, with one exception: No matter what I try, the
 marginrule appears always in the left margin.
 Is there a way to change this?
 
 Matthias
 Looking through the code in anch-bar.mkiv, there is nothing that I can
 see that supports placing marginrules, or the sidebars on which they are
 built, into the right margin. It looks like a job for Hans.
 
 Hm, so you didn't experiment ...
 
 \starttext
 
 \definesidebar[whow][rulecolor=green,distance=0pt]
 \definesidebar[oeps][rulecolor=blue,distance=-\dimexpr\textwidth+2mm]
 
 \input tufte \par
 \startsidebar
  \input tufte \par
  \input tufte \par
  \startsidebar[whow]
\input tufte \par
\input tufte \par
\input tufte
  \stopsidebar \par
  \input tufte \par
  \input tufte
 \stopsidebar \par
 \input tufte \par
 \input tufte \par
 \startsidebar[oeps]
  \input tufte \par
  \input tufte \par
  \input tufte \par
  \input tufte \par
  \input tufte
 \stopsidebar \par
 \input tufte \par
 \input tufte \par
 \startsidebar
  \input tufte
  \input tufte
  \input tufte
  \input tufte
  \input tufte
 \stopsidebar
 
 \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
 ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
Hi Rik,

thanks again. Now I feel doubly stupid: First for not putting the distance into 
\setupmarginrules, and second not realizing
that the disappearing dotted margin is due to my rule thickness=.1pt. 

Anyway, both approaches work now. When I get a free weekend I will head into 
metapost and see whether I can get my squiggles
and zigzags.

Thanks to everybody for the help!

Matthias


On May 19, 2014, at 7:50 PM, Rik r...@panix.com wrote:
 
 Matthias,
 
 You can use distance= in \setupmarginrules to achieve the result you want. 
 All of the other keys work with it. The sidebar commands, if not deprecated, 
 are not described in the wiki or in the reference manual or the command 
 arguments manual, and have not been discussed on the list for the last six 
 years.
 
 -- 
 Rik
 ___
 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
 ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Using the margin for two purposes

2014-05-18 Thread Matthias Weber
Thanks Rik,

that is very helpful. Now I am having some difficulties with coordinating the 
\inmargins with the marginrules.


In the example below, I notice the oddity that \startmarginrule[2] is closer to 
the text than \startmarginrule[1]
or \startmarginrule[3], which are at equal distance. I can live with that.

There are only three things I’d like to improve:

i) I’d like to put my default  \inmargin arguments into the setup, but I can’t 
figure out whether to use \setupinmargin
or \setupinmargindata, and where to put the arguments.

ii) Ideally I’d like to use a description to be able to write \startgreenline … 
\stopgreenline, and I have tried this with
\setupdescription, but failed.

iii) Dream: Instead of solid margin rules I would love to have other options, 
like squiggly lines, dashed, dotted. 


Thanks!

Matthias



\setupmarginrule[rulethickness=.1pt] % works


\setupmargindata[][align=middle,width=2cm] %??? 

\definedescription[greenline] % ???
[before={\setupmarginrule[rulecolor=green]
\indenting[no]
\startmarginrule[2]},
after={\stopmarginrule}
]

\starttext

\inmargin[method=first][frame=on,corner=round] {Read\\this\\first}
\setupmarginrule[rulecolor=red]
\indenting[no]
\startmarginrule[1]
\input{knuth}
\stopmarginrule

\inmargin[method=first][frame=on,corner=round,align=middle,width=2cm,offset=3pt]
 {Read\\this\\second}
\setupmarginrule[rulecolor=green]
\indenting[no]
\startmarginrule[2]
\input{tufte}
\stopmarginrule

\inmargin[][frame=on,corner=round,align=middle,width=2cm] {Read\\this\\third}
\setupmarginrule[rulecolor=blue]
\indenting[no]
\startmarginrule[3]
\input{knuth}
\stopmarginrule


\inmargin[][frame=on,corner=round,align=middle,width=2cm] {Read\\this\\fourth}
\setupmarginrule[rulecolor=black]
\indenting[no]
\startmarginrule[4]
\input{knuth}
\stopmarginrule

\startgreenline
\input{tufte}
\stopgreenline

\stoptext


On May 17, 2014, at 8:21 PM, Rik Kabel cont...@rik.users.panix.com wrote:

 On 2014-05-17 20:12, Matthias Weber wrote:
 Dear All,
 
 I would like to use the margin for two different purposes: For brief notes, 
 using
 \inmargin, and to mark entire paragraphs sections of the text with vertical 
 lines.
 
 So, I’d like to be able to something like this
 
 \starttext
 
 \startsquigglyline
 \inmargin{read \\ this \\ first}
 \input{knuth}
 \stopsquigglyline
 
 \startthinline
 \inmargin{read \\ this \\ next}
 \input{tufte}
 \stopthinline
 
 \stoptext
 
 
 I know I could use frames to accomplish the vertical features within in the 
 text area, but I’d prefer to use the margin so that framing paragraphs 
 doesn’t
 indent the paragraphs compared to the unframed portions.
 But I also want to have the \inmargin notes to be lined up properly. So it 
 looks like I would need to divide the margin into two horizontally
 separate regions. On left pages, the left region would be used for the 
 \inmargin notes, and the (very thin) right region would be used for the
 vertical features (squigglyline and thinline). For right pages the other way 
 around. Of course I’d also like the vertical features to extend across 
 pages, if needed.
 Like so:
 
 
  Left Page   Right Page
 
 read (   Knuth   Tufte   |   read
 this )   Knuth   Tufte   |   this
 first(   Knuth   Tufte   |   
 next
  )   Knuth   Tufte   |
  (   Knuth   Tufte   |
 
 Is there a mechanism in place for that?
 Thanks for any hints!
 
 Matthias
 
 You want margin rules. The wiki has a place-holder entry for 
 \setupmarginrules, but the ConTeXt reference manual has a couple of pages 
 that should provide a good start.
 
 -- 
 Rik
 ___
 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
 ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Using the margin for two purposes

2014-05-18 Thread Matthias Weber
Thanks Aditya,

my metapost skills will probably not suffice to start this from scratch, but 
your hints made me dig around in the sources a little,
and in mp-apos.mpiv I found anch_sidebars_draw which not only draws the 
straight marginrules but also dotted ones, to
be invoked with \startmarginrule[2,alternative=1].

This confirms my suspicion that Hans has a time machine that allows him to 
implement features so that they are miraculously already available when 
requested.

I then tried to play around with this function a little, e.g. changing 
dashed (withdots scaled (linewidth*2))
to
 dashed evenly
but, to my embarrassment, it didn’t have any effect. Do I need to do something 
else besides saving the modified file to
have it take effect?

Thanks,
Matthias

On May 18, 2014, at 10:19 AM, Aditya Mahajan adit...@umich.edu wrote:

 On Sun, 18 May 2014, Matthias Weber wrote:
 
 iii) Dream: Instead of solid margin rules I would love to have other 
 options, like squiggly lines, dashed, dotted.
 
 I don't have time to post a complete working example, but the normal way to 
 achieve such features is to textbackground and let Metapost take care of the 
 drawing.  See the metafun manual for examples.
 
 Also see this answer at tex.sx http://tex.stackexchange.com/a/125486/323 for 
 some implementation ideas.
 
 If you just need margin rules, you can also use background which are slightly 
 simpler (less powerful but easier to work with) than textbackgrounds.
 
 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
 ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Using the margin for two purposes

2014-05-17 Thread Matthias Weber
Dear All,

I would like to use the margin for two different purposes: For brief notes, 
using
\inmargin, and to mark entire paragraphs sections of the text with vertical 
lines.

So, I’d like to be able to something like this

\starttext

\startsquigglyline
\inmargin{read \\ this \\ first}
\input{knuth} 
\stopsquigglyline

\startthinline
\inmargin{read \\ this \\ next}
\input{tufte}
\stopthinline

\stoptext


I know I could use frames to accomplish the vertical features within in the 
text area, but I’d prefer to use the margin so that framing paragraphs doesn’t
indent the paragraphs compared to the unframed portions. 
But I also want to have the \inmargin notes to be lined up properly. So it 
looks like I would need to divide the margin into two horizontally
separate regions. On left pages, the left region would be used for the 
\inmargin notes, and the (very thin) right region would be used for the
vertical features (squigglyline and thinline). For right pages the other way 
around. Of course I’d also like the vertical features to extend across pages, 
if needed.
Like so:


 Left Page  Right Page

read(   Knuth   Tufte   |   read
this)   Knuth   Tufte   |   this
first   (   Knuth   Tufte   |   next
)   Knuth   Tufte   |
(   Knuth   Tufte   |

Is there a mechanism in place for that? 
Thanks for any hints!

Matthias





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] [Math in ConTeXt]

2014-02-18 Thread Matthias Weber
Thanks Otared for the offer to look into math issues.

Here are a few I noticed when TeXing an MK2 set of notes with MK4.

Matthias

\starttext
\startformula
\text{\bf R}^n = R^n ={\bf R}^n= \mathbb{R}^n
\stopformula
%spacing of  exponent is in Mk4 wider than in Mk2

\startformula
\left| \int_{a_{i-1}}^b e^x\, dx \right|
\stopformula
% lower bound runs into \left|
% space between integral sign and integrand too wide


\startformula
r'=r''
\stopformula

This $\int_{a}^b e^x\, dx $ is not good. 
% Inline math integrals need limits at the side. Spacing with lines below and 
above is awkward otherwise.

\startformula
area(f) = \iint_{\Omega} |{f_u\times f_v}|\, du dv
\stopformula

% limit not centered over double integral
\placeformula[-]

\stoptext


On Feb 16, 2014, at 5:30 AM, Otared Kavian ota...@gmail.com wrote:

 Hi all,
 
 After a series of exchanges on the list, on the topic of how mathematics 
 typesetting is and should be in ConTeXt, I am writing you this message to ask 
 all those who use ConTeXt to typeset mathematics and who encounter various 
 types of difficulties, or shortcomings, to send me their remarks, either on 
 list or off list. 
 I will check the problems with Aditya Mahajan and Mikael Sundqvist, and then 
 submit feature requests or bug reports to Hans and Aditya who will try to fix 
 the issues (I have asked these people about this, and they all agree…).
 
 In order to help me manage efficiently the task, please add the following tag 
 
   [Math on ConTeXt]
 
 to the Subject field of your message.
 
 The issues which may be addressed are of the following categories:
 
   1. Differences in the output of ConTeXt mkiv vs mkii (due to 
 differences in engine)
 
   2.  Differences in the output of ConTeXt mkiv vs LuaLaTeX + Opentype 
 math fonts (due to differences in macro package)
 
   3. Differences in the output of ConTeXt mkiv vs PDFLaTeX + AMSMath (due 
 to differences in expectation)
 
   4. Bug reports (regarding commands of plain TeX missing in ConTeXt, the 
 position of math accents, etc…)
 
 Indeed some of the issues may have their origin in the fonts (therefore not 
 easy to fix thouroughly), but others may be fixed once the expectations are 
 clearly expressed. 
 As usual, please give minimal examples imbedded in 
 
   \starttext
   ………
\stoptext 
 
 so that we can test the issue you are reporting.
 Thanks for your attention and cooperation,
 Best regards: OK
 
 
 ___
 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] Resetting enumeration numbers

2013-04-04 Thread Matthias Weber
This might not be the best way to do it, but when I need it, I use

\resetnumber[problem]

for my

\startproblem

\stopproblem

enumeration.

Matthias


On Apr 4, 2013, at 4:01 PM, Willi Egger cont...@boede.nl wrote:

 Hi all,
 
 I have a document, wherein reside chapters and sections. I have an 
 enumeration defined which is used in the sections. What I would like to 
 achieve is, to reset the numbering at the beginning of each section. 
 How is this done?
 
 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  : 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
___


[NTG-context] Arranging framed text without gaps

2013-02-28 Thread Matthias Weber
Dear all,


I am trying to create a table where the entries have determined width and 
height. They typically are
something like

\framed[width=5cm,height=4cm,align={center,middle}{Text}

and I understand that I will be responsible for making the dimensions so that 
everything fits nicely.

After playing around  without much success with the various tables, I came up 
with the following
which is not exactly ConTeXt-like:

\setupframed[
width=5cm,
height=4cm,
location={middle},
align={center,middle}
]
\setupbodyfont[24pt]

\starttext

\hbox{{\framed{Jim}}{\framed{Mary}}{\framed{John}}}
\hbox{{\framed{Patsy}}{\framed{Bob}}{\framed{Linda}}}
\hbox{{\framed{Mike}}{\framed{Babsy}}{\framed{Bill}}}
\hbox{{\framed{Liz}}{\framed{Dave}}{\framed{Jenny}}}
\hbox{{\framed{Dick}}{\framed{Sue}}{\framed{Chuck}}}
\hbox{{\framed{Maggie}}{\framed{Joe}}{\framed{Dolley}}}
\hbox{{\framed{Tom}}{\framed{Lisa}}{\framed{Chris}}}
\hbox{{\framed{Nancy}}{\framed{Paul}}{\framed{Betty}}}
\stoptext

I get small gaps between the horizontal rows which I don't like.
Also, in my (possibly not quite up to date) MkIV, the texts isn't centered. 
In MkII it is.

My questions:

How do I 
-- achieve the desired layout (exact dimensions, frames, no gaps) the right 
way, 
-- without gaps between horizontal rows
-- with text centered in the frames also in MkIV?

Thanks a lot -

Matthias 
___
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] Arranging framed text without gaps

2013-02-28 Thread Matthias Weber
Thanks! 

Matthias

On Feb 28, 2013, at 5:56 PM, Aditya Mahajan adit...@umich.edu wrote:

 How do I
 -- achieve the desired layout (exact dimensions, frames, no gaps) the right 
 way,
 -- without gaps between horizontal rows
 
 \setupframed
  [
   overlay=none,
  ...
  ]
 
 -- with text centered in the frames also in MkIV?
 
 .. align={middle,middle},
 
 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
 ___

___
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] Arranging framed text without gaps

2013-02-28 Thread Matthias Weber
Fascinating. 
Thanks!!

Matthias

On Feb 28, 2013, at 6:00 PM, Marco Patzer home...@lavabit.com wrote:

 On 2013–02–28 Matthias Weber wrote:
 
 -- without gaps between horizontal rows
 -- with text centered in the frames also in MkIV?
 
 See Adityas answer for how to fix your current code.
 
 -- achieve the desired layout (exact dimensions, frames, no gaps) the right 
 way, 
 
 There is no “right” way. Here's how I would approach that:
 
 \usemodule
  [database]
 
 \definefont
  [MyBigFont]
  [Serif at 24pt]
 
 \defineseparatedlist
  [MyTable]
  [before=\bTABLE, after=\eTABLE,
   first=\bTR, last=\eTR,
   left=\bTD, right=\eTD,
   setups=my:table]
 
 \startsetups [my:table]
  \setupTABLE [split=yes, width=5cm, height=4cm, style=MyBigFont]
  \setupTABLE [each] [align={middle,lohi}]
 \stopsetups
 
 \starttext
 
 \startMyTable
  Jim, Mary  , John
  Patsy  , Bob   , Linda
  Mike   , Babsy , Bill
  Liz, Dave  , Jenny
  Dick   , Sue   , Chuck
  Maggie , Joe   , Dolley
  Tom, Lisa  , Chris
  Nancy  , Paul  , Betty
 \stopMyTable
 
 \stoptext
 
 
 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
 ___

___
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] Emoticons ;-)

2013-02-11 Thread Matthias Weber
Dear all,

I hope this doesn't get me banned from the ConTeXt list. What is the 
easiest/best way to add emoticons in ConTeXt as letters/symbols?

In LaTeX, there is a package wasysym that gives \smiley and \frownie. It 
appears to be based at least partially on MetaFont code
by Taco from 1998? 
I am aware that one can use images as characters as well, but I am looking for 
a cleaner solution.

Incidentally (and irrelevant for my current purposes), my dream/nightmare would 
be to have animated emoticons in a PDF file. Is that at all possible?

Thanks,

Matthias

___
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] Emoticons ;-)

2013-02-11 Thread Matthias Weber
Thanks ---

what font are you using for that -- the faces I get this way are a little 
lopsided 
(i.e. the eyes are not centered over the mouth).
And of course I was hoping for something prettier, but this is certainly easy!

Matthias


On Feb 11, 2013, at 7:05 PM, Aditya Mahajan adit...@umich.edu wrote:

 On Mon, 11 Feb 2013, Matthias Weber wrote:
 
 I hope this doesn't get me banned from the ConTeXt list. What is the 
 easiest/best way to add emoticons in ConTeXt as letters/symbols?
 
 \type{:)}
 
 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
 ___

___
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] Was: Opening external documents ... - Can ConTeXt reduce size of images?

2013-01-08 Thread Matthias Weber
Thanks Hans,

I'll give this a try when I am in a daring mood and less busy. 

Matthias

On Jan 7, 2013, at 8:09 PM, Hans Hagen pra...@wxs.nl wrote:

 On 1/8/2013 1:00 AM, Matthias Weber wrote:
 
 So, this clearly is not a  ConTeXt problem. But it causes me major 
 headaches. In my workflow, I have dozens of images
 that I prepare with Adobe Illustrator and save as pdf files that are still 
 editable with Illustrator, i.e. that include another copy of the
 file with layers etc. In other words, my pdf images are about 10 times as 
 big as they need to be. I usually just reduce the file size with preview.
 As this seems to be erroneous now, I am wondering:
 
 it's even worse ... all kind of color and other data is present is such a 
 file .. the pstopdf.rb script (comes with mkii) gets rid of some of that
 
 normally at pragma we do such things either automatically (when graphics are 
 put in repositories) or with acrobat in batch mode (doable if you get the 
 graphics in advance) because doing such thing smanually for thousands of 
 images is no fun
 
 you can play with this:
 
 \startluacode
 local gsp = os.type == windows and gswin32c or gs
 local gsc = %s -q -dEPSCrop -sDEVICE=pdfwrite -dNOPAUSE -dSAFER -dNOCACHE 
 -dBATCH -dProcessColorModel=/DeviceCMYK -sOutputFile=%s %s -c quit
 local pdp = pdftops -eps %s %s
 
 figures.converters.pdf = {
xxx = function(oldname,newname)
local tmpname = oldname .. .ps
local command = string.format(pdp,oldname,tmpname)
os.execute(command)
local command = string.format(gsc,gsp,newname,oldname)
os.execute(command)
end
 }
 
 figures.registersuffix(xxx,pdf)
 \stopluacode
 
 \starttext
 
 \externalfigure[cow.pdf][conversion=xxx]
 
 \stoptext
 
 pdftops comes with xpdf (also in minimals)
 
 if needed I can add a standard converter for it
 
 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
 ___

___
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] Opening external documents with external application

2013-01-07 Thread Matthias Weber
Dear All,

I used to write

\goto{\externalfigure[cuteimage]}[program(file.ext)]

to get an image, that, when clicked, will open an application that will open 
file.ext.

This currently still works on my Mac (10.8) with the TeXShop preview and with 
Skim.
I does not work anymore with Adobe Acrobat Reader. Acrobat now asks permission, 
but doesn't 
do anything when granted. Even worse, on another Mac with an older OS, Skim 
didn't open
the hyperlink either. On Windows, I couldn't find any program that would do the 
job, by I don't
know much about that part of the world.

Is there anything that has changed recently in the way these kind of hyperlinks 
must be written?
(I use MkII)

Thanks,

Matthias
___
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] Was: Opening external documents ... - Can ConTeXt reduce size of images?

2013-01-07 Thread Matthias Weber
Thanks Wolfgang - 

I believed that the question was easy enough as is, but that was of course 
short sighted.
The problem I described does not arise when one just typesets the file, 
everything is good.
What I did was to reduce its file size using OS X's preview. This has 
apparently been improved
so that it changes the behavior  wrt external links.

In case somebody wants to try:

Typeset

\setupinteraction[page=yes,state=start]
\starttext
\goto{click}[program(test.tex)]
\stoptext

Open test.pdf with Acrobat. Clicking on click opens test.tex with your 
designated TeX editor.
Close file in Acrobat.
Open test.pdf in Preview (OS 10.8, I am sure it behaved differently in earlier 
versions).
Export with reduce file size as option checked
Open exported file in Acrobat.
Clicking on click will try to access the absolute file path of the previously 
relative link. In the best case,
the finder will point to that file (instead of opening it). In the worst case, 
it will not be found.


So, this clearly is not a  ConTeXt problem. But it causes me major headaches. 
In my workflow, I have dozens of images
that I prepare with Adobe Illustrator and save as pdf files that are still 
editable with Illustrator, i.e. that include another copy of the
file with layers etc. In other words, my pdf images are about 10 times as big 
as they need to be. I usually just reduce the file size with preview.
As this seems to be erroneous now, I am wondering:

Is there an option in \externalfigure that will strip everything redundant from 
a pdf file?

Thanks again,

Matthias


On Jan 7, 2013, at 3:52 PM, Wolfgang Schuster wolfgang.schus...@gmail.com 
wrote:

 
 Am 07.01.2013 um 19:45 schrieb Matthias Weber matwe...@indiana.edu:
 
 Dear All,
 
 I used to write
 
 \goto{\externalfigure[cuteimage]}[program(file.ext)]
 
 to get an image, that, when clicked, will open an application that will open 
 file.ext.
 
 This currently still works on my Mac (10.8) with the TeXShop preview and 
 with Skim.
 I does not work anymore with Adobe Acrobat Reader. Acrobat now asks 
 permission, but doesn't 
 do anything when granted. Even worse, on another Mac with an older OS, Skim 
 didn't open
 the hyperlink either. On Windows, I couldn't find any program that would do 
 the job, by I don't
 know much about that part of the world.
 
 Is there anything that has changed recently in the way these kind of 
 hyperlinks must be written?
 (I use MkII)
 
 Your chance to get an answer will increase with a *working* minimal example.
 
 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
 ___

___
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] Is startalign broken in mkiv?

2012-07-18 Thread Matthias Weber
Thanks. Now I have my own little sacrilege in the environment file.

Matthias

On Jul 17, 2012, at 11:13 PM, Rogers, Michael K mrog...@emory.edu wrote:

 Here's a backward-compatibility hack that works on your minimal example.  
 Maybe it will save the dozens of files without changing all the s:
 
 \let\oldstartalign=\startalign
 \let\oldstopalign=\stopalign
 \let\oldbs=\\
 \def\startalign{\catcode`=4\let\\=\cr\oldstartalign}
 \def\stopalign{\oldstopalign\catcode`=12\let\\=\oldbs}
 \starttext
 This \ that  the other thing:
 \startformula \startalign
 v = u + at \\
 h = ut + \frac12 gt^2 \\
 \stopalign \stopformula
 That \ this  yet another thing.
 \stoptext
 
 Hope that helps.
 
 Michael
 
 On Jul 17, 2012, at 6:48 PM, Matthias Weber wrote:
 
 It was never a problem in TeX to modify the control characters used 
 according to your own pleasure. For me, the problem is now to change the 
 200+ occurrences of start/stopaligns distributed over dozens of files to the 
 politically correct syntax.
 
 Matthias
 
 On Jul 17, 2012, at 7:41 PM, Khaled Hosny khaledho...@eglug.org wrote:
 
 The use of  (which is a common symbol) as a control character is a long
 standing idiosyncrasy of TeX that I'm glad ConTeXt has got rid of.
 
 On Tue, Jul 17, 2012 at 07:32:09PM -0400, Matthias Weber wrote:
 Thanks - I wasn't aware that the human readable version had been 
 deprecated :(
 
 Matthias
 
 On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote:
 
 On 18-7-2012 00:22, Matthias Weber wrote:
 \starttext
 \startformula \startalign
 v = u + at \\
 h = ut + \frac12 gt^2 \\
 \stopalign \stopformula
 \stoptext
 
 
 
 
 ConTeXt  ver: 2012.07.17 16:42 MKIV  fmt: 2012.7.17  int: english/english
 (...)
 ! Missing $ inserted.
 
 system   tex  error on line 3 in file test.tex: Missing $ 
 inserted ...
 
 1 \starttext
 2 \startformula \startalign
 3   v = u + at \\
 4 h = ut + \frac12 gt^2 \\
 5 \stopalign \stopformula
 6 \stoptext
 
 Thanks -
 
 the context way is:
 
 \startformula \startalign
 \NC v \NC = u + at \NR
 \NC h \NC = ut + \frac12 gt^2 \NR
 \stopalign \stopformula
 
 
 -
   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
 -
 
 
 
 
 This e-mail message (including any attachments) is for the sole use of
 the intended recipient(s) and may contain confidential and privileged
 information. If the reader of this message is not the intended
 recipient, you are hereby notified that any dissemination, distribution
 or copying of this message (including any attachments) is strictly
 prohibited.
 
 If you have received this message in error, please contact
 the sender by reply e-mail message and destroy all copies of the
 original message (including attachments).
 ___
 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
___


[NTG-context] Is startalign broken in mkiv?

2012-07-17 Thread Matthias Weber
\starttext
\startformula \startalign
 v = u + at \\
 h = ut + \frac12 gt^2 \\
\stopalign \stopformula
\stoptext




ConTeXt  ver: 2012.07.17 16:42 MKIV  fmt: 2012.7.17  int: english/english
(...)
! Missing $ inserted.

system   tex  error on line 3 in file test.tex: Missing $ inserted ...

1 \starttext
2 \startformula \startalign
3   v = u + at \\
4 h = ut + \frac12 gt^2 \\
5 \stopalign \stopformula
6 \stoptext

Thanks - 

Matthias

___
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] Is startalign broken in mkiv?

2012-07-17 Thread Matthias Weber
Thanks - I wasn't aware that the human readable version had been deprecated :(

Matthias

On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote:

 On 18-7-2012 00:22, Matthias Weber wrote:
 \starttext
 \startformula \startalign
  v = u + at \\
  h = ut + \frac12 gt^2 \\
 \stopalign \stopformula
 \stoptext
 
 
 
 
 ConTeXt  ver: 2012.07.17 16:42 MKIV  fmt: 2012.7.17  int: english/english
 (...)
 ! Missing $ inserted.
 
 system   tex  error on line 3 in file test.tex: Missing $ inserted 
 ...
 
 1 \starttext
 2 \startformula \startalign
 3   v = u + at \\
 4 h = ut + \frac12 gt^2 \\
 5 \stopalign \stopformula
 6 \stoptext
 
 Thanks -
 
 the context way is:
 
 \startformula \startalign
 \NC v \NC = u + at \NR
 \NC h \NC = ut + \frac12 gt^2 \NR
 \stopalign \stopformula
 
 
 -
  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] Is startalign broken in mkiv?

2012-07-17 Thread Matthias Weber
It was never a problem in TeX to modify the control characters used according 
to your own pleasure. For me, the problem is now to change the 200+ occurrences 
of start/stopaligns distributed over dozens of files to the politically correct 
syntax. 

Matthias

On Jul 17, 2012, at 7:41 PM, Khaled Hosny khaledho...@eglug.org wrote:

 The use of  (which is a common symbol) as a control character is a long
 standing idiosyncrasy of TeX that I'm glad ConTeXt has got rid of.
 
 On Tue, Jul 17, 2012 at 07:32:09PM -0400, Matthias Weber wrote:
 Thanks - I wasn't aware that the human readable version had been deprecated 
 :(
 
 Matthias
 
 On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote:
 
 On 18-7-2012 00:22, Matthias Weber wrote:
 \starttext
 \startformula \startalign
 v = u + at \\
 h = ut + \frac12 gt^2 \\
 \stopalign \stopformula
 \stoptext
 
 
 
 
 ConTeXt  ver: 2012.07.17 16:42 MKIV  fmt: 2012.7.17  int: english/english
 (...)
 ! Missing $ inserted.
 
 system   tex  error on line 3 in file test.tex: Missing $ 
 inserted ...
 
 1 \starttext
 2 \startformula \startalign
 3   v = u + at \\
 4 h = ut + \frac12 gt^2 \\
 5 \stopalign \stopformula
 6 \stoptext
 
 Thanks -
 
 the context way is:
 
 \startformula \startalign
 \NC v \NC = u + at \NR
 \NC h \NC = ut + \frac12 gt^2 \NR
 \stopalign \stopformula
 
 
 -
 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
 ___
___
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] mapsto + SimpleSlides

2012-05-10 Thread Matthias Weber
Yes, that's exactly what I did...

Matthias
On May 10, 2012, at 6:45 PM, Thomas A. Schmitz wrote:

 On 05/10/2012 06:38 PM, Weber, Matthias wrote:
 Hmm, TeXShop reports in the console that I am executing
 
 luatex
 --fmt=/Applications/ConTeXtStandalone/tex/texmf-cache/luatex-cache/context/210a96fef5fbab446fd11afa77acb026/formats/cont-en
 --lua=/Applications/ConTeXtStandalone/tex/texmf-cache/luatex-cache/context/210a96fef5fbab446fd11afa77acb026/formats/cont-en.lui
 --backend=pdf ./test.tex
 
 which points to the ConTeXt installation I did a few days ago, following
 the wiki. However, then it continues with
 
 system  cont-new.mkiv loaded
 (/usr/local/texlive/2011/texmf-dist/tex/context/base/cont-new.mkiv
 system  beware: some patches loaded from cont-new.mkiv
 etc etc
 
 which points to my TeXlive installation, which shouldn't be used at all???
 
 Did I mess up the path variable?
 
 $Path is
 
 /Applications/ConTeXtStandalone/tex/texmf-osx-64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
 
 
 Thanks for any help -
 
 Matthias
 
 Please keep messages on the list, don't send them to me in private.
 
 I haven't used texshop in at least seven years. There's a section on the wiki 
 on it, have you followed it?
 
 http://wiki.contextgarden.net/ConTeXt_Standalone/Mac_Installation
 
 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
 ___

___
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] Pagenumbers doublesided

2012-04-22 Thread Matthias Weber
Delete the blank after marginedge.

Matthias

On Apr 22, 2012, at 2:50 PM, Markus Finke wrote:

 Hi,
 
 I can’t get simple pagenumbers starting right-left-right-etc.
 
 This minimal example results in middle pagenumbers (ConTeXt ver: 2012.04.19):
 
 ---
 
 \setuppagenumbering [ alternative=doublesided,
 location=marginedge ]
 \starttext
 \dorecurse{20}{\input knuth \par}
 \stoptext
 
 ---
 
 This solution doesn’t work for me (How to used it? – I copied the code in my 
 preamble):
 
 http://archive.contextgarden.net/message/20120202.175424.41cbe6f3.en.html#context
 
 TIA!
 ___
 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
___


[NTG-context] ConTeXt in the Cloud?

2012-03-29 Thread Matthias Weber
Dear All,

as the proud owner of one of these tablet thingies  I am trying to make it as 
TeX-friendly as possible. Because the chances
of running TeX on it are slim, I've been looking at alternatives. The major 
goal would be to be able to create a 
presentation in ConTeXt on a tablet. For LaTeX, there is a cloud based services 
called ScribTeX,
which allows you to store (in the free version) up to three projects with up to 
50MB space in the cloud, and have it LaTeXed.
As their cloud can be accessed via an App, you can edit the files on your 
tablet, send them to the cloud, have them TeXed, and
download the pdf.

I am tempted to contact the ScribTeX people and ask them to suport ConTeXt as 
well, but as I am just a little user and wouldn't have 
a clue about legalities, technicalities, etc, I thought I might ask here first.

Thanks!


Matthias
___
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] convert color to black and white documents

2012-01-12 Thread Matthias Weber
Dear all,

 I am working on a text with plenty of figures, using  modes to create both a 
screen and a print version. For the print version,
which will be printed in black and white, I'd like to have all colors 
(including those of the figures) to be converted to grayscale
so that I can softproof the document. Is there a way to do that in ConTeXt? I 
realize that these are multiple problems, addressing
the conversion of the figures as well as the conversion of colored texts and 
other decorations that are done within ConTeXt.

Thanks for any hints,

Matthias
___
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] Placing text in the margin of a header or the top right corner of a page

2011-11-22 Thread Matthias Weber
Dear All,

I am trying to place a framed text in the top right corner of each page of a 
screen document and it looks like (cont-eni)  some
invocation of \setupheadertexts might do the job. Unfortunately, I have only 
been able to place my text in the margin of the body of the page,
using \margintext. Ideally, I would like to have the framed text box flush with 
the top and right edge of a page, but any approximate solution or a pointer
to some document to read (that could educate me) will be much appreciated.

Thanks,

Matthias



___
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] Placing text in the margin of a header or the top right corner of a page

2011-11-22 Thread Matthias Weber
Fascinating. Thanks a lot. That is more than I hoped for, and was easy to adapt 
to what I wanted. 

One small issue: There is a tiny gap between the black layer box and the right 
margin (in white) that doesn't even disappear when I increase hoffset.
Any chance to make that disappear, too?

Thanks again -

Matthias


On Nov 22, 2011, at 11:30 PM, Christian wrote:

 Dear All,
 
 I am trying to place a framed text in the top right corner of each page of a
 screen document and it looks like (cont-eni)  some invocation of
 \setupheadertexts might do the job. Unfortunately, I have only been able to
 place my text in the margin of the body of the page, using \margintext.
 Ideally, I would like to have the framed text box flush with the top and 
 right
 edge of a page, but any approximate solution or a pointer to some document
 to read (that could educate me) will be much appreciated.
 
 Smells like Layers to me. Try this, for starters:
 
 \definelayer[mybg][x=180mm, y=0mm,width=3cm, height=3cm,repeat=yes]
 \setlayer[mybg][hoffset=0cm, voffset=0cm]{\framed[frame=on, width=3cm, 
 height=2cm,background=color,backgroundcolor=black,foregroundcolor=white]{LAYER}}
 \setupbackgrounds[page][background=mybg]
 \starttext
 Test
 \page
 Test1
 \page
 Test2
 \stoptext
 
 More info here:
 http://wiki.contextgarden.net/layers
 
 Hope that helps :)
 
 ___
 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] Fwd: [OS X TeX] ConTeXt issues

2011-09-09 Thread Matthias Weber
Hi,

I do have MacTeX 2011 installed (for LaTeX needs), but use the Standalone 
(former minimals) for CoNTeXt.

Besides being more recent, this has the advantage that one can archive a done 
project together with the Standalone tree
in case changes to CoNText happen break the project. 

The relevant wiki page for installing and configuring with editors  is at

http://wiki.contextgarden.net/ConTeXt_Standalone/Mac_Installation

Matthias

On Sep 9, 2011, at 11:12 AM, Steffen Wolfrum wrote:

 Hi,
 
 does anyone here has MacTeX 2011 installed and could help Joseph?
 (I just saw this on OSX_TEX list, see below). 
 
 Thanks,
 Steffen
 
 
 
 
 
 Anfang der weitergeleiteten E-Mail:
 
 Von: Joseph Wright joseph.wri...@morningstar2.co.uk
 Datum: 9. September 2011 16:48:37 MESZ
 An: macosx-...@email.esm.psu.edu
 Betreff: [OS X TeX] ConTeXt issues
 Antwort an: TeX on Mac OS X Mailing List macosx-...@email.esm.psu.edu
 
 Hello all,
 
 I'm trying to get ConTeXT MkIV working with MacTeX 2011. My system seems
 to be up to date, but running 'context' from the Terminal (MAc OS
 10.6.8) gives:
 
 mtxrun  | forcing cache reload
 resolvers   | resolving | configuration files already identified
 resolvers   | resolving | skipping configuration file
 'selfautoparent:/texmfcnf.lua' (no content)
 resolvers   | resolving | no texmf paths are defined (using TEXMF)
 resolvers   | resolving |
 mtxrun  | the resolver databases are not present or outdated
 resolvers   | resolving | using suffix based filetype 'lua'
 resolvers   | resolving | using suffix based filetype 'lua'
 resolvers   | resolving | remembered file 'mtx-context.lua'
 resolvers   | resolving | using suffix based filetype 'lua'
 mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'
 
 'luatools --generate' gives a similar issue
 
 mtxrun  | forcing cache reload
 resolvers   | resolving | configuration files already identified
 resolvers   | resolving | skipping configuration file
 'selfautoparent:/texmfcnf.lua' (no content)
 resolvers   | resolving | no texmf paths are defined (using TEXMF)
 resolvers   | resolving |
 mtxrun  | the resolver databases are not present or outdated
 resolvers   | resolving | using suffix based filetype 'lua'
 resolvers   | resolving | using suffix based filetype 'lua'
 resolvers   | resolving | remembered file 'mtx-base.lua'
 resolvers   | resolving | using suffix based filetype 'lua'
 mtxrun  | unknown script 'base.lua' or 'mtx-base.lua'
 
 I'm not sure at the moment if this is MacTeX-specific or a TeX Live 2011
 issue. Does anyone have any ideas?
 --
 Joseph Wright
 --- Please Consult the Following Before Posting ---
 TeX FAQ: http://www.tex.ac.uk/faq
 List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
 List Archive: http://tug.org/pipermail/macostex-archives/
 TeX on Mac OS X Website: http://mactex-wiki.tug.org/
 List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
 
 
 ___
 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] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Matthias Weber
I ran into the exact same problem. Aditya resolved the issue as follows:


The wiki info to create  an executable  file ConTeXt-MKIV.engine containing

#!/bin/bash
export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATH
export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache
context $1

in ~/Library/TeXShop/Engines
is slightly but catastrophically outdated. The file needs to read

#!/bin/bash
export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH
export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache
context $1

Matthias



On May 23, 2011, at 2:13 PM, Mathieu DUPONT wrote:

 
 I followed all these steps to install MkIV on a Mac and to run it with either 
 Smultron or TexShop :
 
 http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation
 
 However it works fine with Smultron (but I am more used to TexShop to run TeX 
 files), with TexShop I get :
 
 MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
 
 Even after running the following command line :
 
 luatools --generate
 
 it doesn't help at all.
 
 
 Thanks for any hint,
 
 
 Mathieu
 
 
 ___
 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
___

[NTG-context] MK IV new install /Mac OS X

2011-05-17 Thread Matthias Weber
Dear all,

I've been trying to install the TeX minimals on a new Mac. While MK II works, 
not so MK IV.
I get the error message MTXrun | unknown script 'context.lua' or 
'mtx-context.lua'

Here is what I did:

Downloaded TeXLive 2010 

Then followed the instructions at
http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation

I did this a few years back without a hitch, so I am wondering what is 
different now.

In any case, in the above instructions, under Configuring ConTeXt, instep 4, 
the copies file has already the indicated changes in it.

I used the same paths as indicated and ran luatools --generate as well as 
context --make

Everything went ok without error messages. I then configured TeXShop as 
explained.
As I said, MKII works  fine but MKIV gives the error message.

I searched the wiki for it and there seem to be some related reports, but I 
couldn't find a resolution.

Any suggestions? If all fails I'll try to clone an older installation.


Matthias
___
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] MK IV new install /Mac OS X

2011-05-17 Thread Matthias Weber
I know. I need TeXLive for non-ConTeXt  reasons and thought I should mention it 
in case there are interferences.

Matthias
On May 17, 2011, at 11:45 AM, mathew wrote:

 On Tue, May 17, 2011 at 10:17, Matthias Weber matwe...@indiana.edu wrote:
 I've been trying to install the TeX minimals on a new Mac. While MK II
 works, not so MK IV.
 [...]
 Downloaded TeXLive 2010
 
 I don't think you need or want TeXLive if you're installing minimals.
 
 
 mathew
 ___
 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] MK IV new install /Mac OS X

2011-05-17 Thread Matthias Weber
Thanks Aditya
On May 17, 2011, at 12:36 PM, Aditya Mahajan wrote:
 
 
 Did you run this for TL ConTeXt or the minimals ConTeXt. From a terminal run
 
 source /path-to-context/tex/setuptex
 mtxrun --generate
 
 Then try compiling a test file from the terminal.


this works.


 
 Any suggestions? If all fails I'll try to clone an older installation.
 
 What does `which context` return?


/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/context

Great! Thus the wiki info to create 
 an executable  file ConTeXt-MKIV.engine containing

#!/bin/bash
export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATH
export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache
context $1

in ~/Library/TeXShop/Engines
is slightly but catastrophically outdated. The file needs to read

#!/bin/bash
export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH
export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache
context $1


With that, TeXShop works with MKIV.

Thanks again !

Matthias___
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] Minute not working in unit module?

2011-03-23 Thread Matthias Weber
Thanks - that indeed does work. The wiki suggested to use \Minute.

Matthias

On Mar 22, 2011, at 5:46 PM, Aditya Mahajan wrote:

 On Tue, 22 Mar 2011, Matthias Weber wrote:
 
 Dear all,
 
 \usemodule[units]
 
 \starttext
 $1 \Minute$
 \stoptext
 
 gives an undefined control sequence for \Minute,
 both in mk2 and mk4.
 
 From m-units.mkiv
 
 \getvalue{\v!unit} [Min]   {min} {\labeltext{u:min}}
 
 So, \Min should work.
 
 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
 ___

___
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] Automatic cross reference to next page at automatic page breaks only

2011-03-23 Thread Matthias Weber
Dear all,

I am trying to create a screen document that relies entirely on navigation via 
links.

A typically page has several cross references in it the reader has to choose 
from
(think of multiple choice tests).

Occasionally, a page is too long to fit on a single screen. I would like to 
have 
a link to the next page at the bottom right corner of the screen whenever a 
page break occurs
that is not forced via say a new section. In other words, whenever *automatic* 
page breaks occur,
I want that extra link in the footer. In all other cases, I have my own manual 
links.

Any ideas?


Thanks,

Matthias


___
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] Minute not working in unit module?

2011-03-22 Thread Matthias Weber
Dear all,

\usemodule[units]

\starttext
$1 \Minute$
\stoptext

gives an undefined control sequence for \Minute,
both in mk2 and mk4.

Matthias
___
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] Making contents 'clickable'

2011-03-03 Thread Matthias Weber
\setupinteraction
[state=start]

Matthias


On Mar 3, 2011, at 8:30 AM, Cecil Westerhof wrote:

 In a lot of e-books you see that when you are at the contents that the 
 chapters an sections can be clicked and you go to them. Can ConTeXt make this 
 kind of documents?
 
 -- 
 Cecil Westerhof
 ___
 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] Personalizing a PDF generated with ConTeXt

2011-03-01 Thread Matthias Weber
I use

\setupinteraction
[state=start,
title={My Book},
author={Just Me},
subtitle={(no way)},
keywords={cool}
]

There probably are more options...

Matthias

On Mar 1, 2011, at 10:09 AM, Cecil Westerhof wrote:

 I would like to integrate in the generated PDF's some personal information. 
 What would be the best way to do this?
 
 -- 
 Cecil Westerhof
 ___
 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] Guttenberg's dissertation typeset in ConTeXt

2011-02-21 Thread Matthias Weber
The dissertation was typeset (for publication) by  werksatz • Büro für 
Typografie und Buchgestaltung. Berlin,
and my guess is that they are using ConTeXt.

Matthias


On Feb 21, 2011, at 12:43 PM, Arthur Reutenauer wrote:

 Did anyone on this list know (or did anyone notice yet) that the print
 version of the much-discussed dissertation by Karl-Theodor zu Guttenberg
 was (allegedly) typeset in ConTeXt?
 
  From my German colleague: We should test if he masters ConTeXt.  If
 he doesn't...
 
   Arthur
 
 P-S: Whether that particular piece of information is true or not, it
 will bring some attention to ConTeXt!  The ConTeXt community should try
 and take advantage of that :-)  I wonder how the author of the Wikipedia
 article knows that, though.  Presumably, someone got hold of a PDF
 version of the dissertation?
 ___
 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] slightly OT: tablets

2010-07-19 Thread Matthias Weber

Hi Thomas,

you can even do presentations of PDFs with an iPod touch. You will  
need a dock connector/ TV out cable (http://support.apple.com/kb/ 
ht1454). In iOS 4, you have direct support of PDFs, i.e. you can copy  
PDFs directly to your iPod.

Before that, you needed a separate app to view PDFs.
As for PDF features, you'll be somewhat limited as to what the viewers  
support. For instance, movies within PDFs won't work.


Also, I don't think there is a way to use clickers to control the iPod/ 
iPad.


Matthias

On Jul 19, 2010, at 1:51 PM, Thomas A. Schmitz wrote:


Hi all,

this is slightly OT, but maybe someone here has a helpful  
suggestion: since the announcement of Apple's iPad, tablets have  
become the rage. I am somewhat underwhelmed by this type of  
computer, but I see one area where it might be interesting to have  
one of those babies, and that's presentations. What I'm dreaming  
about: a tablet that would be able to show my manuscript (of course,  
a pdf produced with ConTeXt) on it's own screen and drive a  
presentation (again, pdf) on an external screen/digital projector.  
That way, I would need only one technical device, no paper etc. for  
my presentations. I even called Apple, but they said there is no app  
yet for doing this on an iPad. Do any of you have any insights: is  
there anything on the market yet that would make this possible? Is  
it at all feasible? Does it sound like a reasonable idea?


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
___


___
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] Indents, enumerations, and modes (mk2+mk4)

2010-06-01 Thread Matthias Weber

Dear all,

I have two questions regarding using spacing in enumerations.  
Depending on a mode being enabled, I would like to add a command at  
the beginning of
an enumeration (I want to place something in the margin, but it  
doesn't actually matter what I do, only when).
 As shown in the minimal example below, invoking the macro that does  
something, a little extra space is added.
I don't know why, it is probably something very TeX-basic I am  
ignorant of. So: How do I get rid of the extra space?
The problem occurs both in mk2 and mk4, I would prefer a solution that  
also works in mk2.


Thanks!


Matthias



\def\mma{
\startmode  [mma]
{}
\stopmode
}



\def\enwidth{5em}


\defineenumeration  [example]
[text=Example,
way=bysubsection,
location=hanging,
width=\enwidth,
letter=rm]


\starttext


\enablemode[mma]
\startexample
\mma
\input tufte
\stopexample

%%

\disablemode[mma]
\startexample
\mma
\input tufte
\stopexample

%%

\startexample
\input tufte
\stopexample



\stoptext
___
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] bookmark for index

2010-05-20 Thread Matthias Weber

Dear all,

\completeindex creates the bookmark index . I'd like to have the  
capitalized version Index.

Is there a way to change that?

Thanks,

Matthias
___
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] bookmark for index

2010-05-20 Thread Matthias Weber

Thanks Hans,

is there a mk2 solution as well?

Matthias


On May 20, 2010, at 1:01 PM, Hans Hagen wrote:


On 20-5-2010 6:01, Matthias Weber wrote:

Dear all,

\completeindex creates the bookmark index . I'd like to have the
capitalized version Index.
Is there a way to change that?


\startchapter[title=Index,bookmark=TITLE]
 \placeregister[index]
\stopchapter



-
 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] lmmi12 missing in minimals

2010-04-07 Thread Matthias Weber

I have

ConTeXt  ver: 2010.03.30 18:56 MKIV  fmt: 2010.4.7  int: english/english

and everything is fine here.

Matthias


On Apr 7, 2010, at 8:02 AM, Mikael Persson wrote:


Compiling a larger doc I get

LuaTeX warning (file lmsy10): Font lmsy10 at 441 not found
LuaTeX warning (file msbm10): Font msbm10 at 441 not found
LuaTeX warning (file lmmi10): Font lmmi10 at 315 not found
LuaTeX warning (file lmex10): Font lmex10 at 630 not found
LuaTeX warning (file lmsy10): Font lmsy10 at 630 not found
LuaTeX warning (file lmmi10): Font lmmi10 at 630 not found
LuaTeX warning (file lmmi10): Font lmmi10 at 441 not found
LuaTeX warning (file msbm10): Font msbm10 at 630 not found

so there seems to be more fonts that are not working.

Mikael


On Wed, Apr 7, 2010 at 1:58 PM, Mikael Persson mic...@gmail.com  
wrote:

Dear list,

with a freshly updated minimals, lm math italic seems to have  
disappeared:


\starttext
$a=b$.
\stoptext

gives the attached result. The log is also attached, there is a  
warning:


LuaTeX warning (file lmmi12): Font lmmi12 at 600 not found

Best regards, Mikael


___
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] mkiv: wide gap between name and text of enumerations

2010-04-06 Thread Matthias Weber

Thanks Peter,

that helps, but it means I need to tune all my 20 enumerations...


Matthias


On Apr 6, 2010, at 1:25 AM, Peter Münster wrote:


On Tue, Apr 06 2010, Matthias Weber wrote:


\defineenumeration  [blurb]
[text=Blurb,
way=bysection,
location=hanging]

Blurb 1  Here should only be a small gap.

Is there a way to narrow the gap?


This helps: width=4em
You can also play with distance=
Cheers, Peter

--  
Contact information: http://pmrb.free.fr/contact/



___
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] Latest beta...

2010-04-06 Thread Matthias Weber

No problem here, but I'm running Leopard (intel).

Matthias

On Apr 6, 2010, at 5:06 PM, Mojca Miklavec wrote:


On Tue, Apr 6, 2010 at 21:24, Willi Egger wrote:

I just updated the latest beta in a completely new tree:

I get now the following message:

.../lua60/tex/texmf-osx-intel/bin/context: line 2:  1634 Bus error
mtxrun --script context $@

When running luatools --generate
most of the things work out well, just that in the last line I see:

LuaTools | fileio: loading configuration file
.../lua60/tex/texmf/web2c/texmf.cnf Bus error


This might as well be a mac-intel-only luatex-related problem
(something for Taco in any case), but I cannot reproduce it yet.

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
___


___
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] Splitting a page in given ratios

2010-04-05 Thread Matthias Weber

Thanks Wolfgang,

you made my morning!

Matthias


On Apr 5, 2010, at 3:32 AM, Wolfgang Schuster wrote:


Am 05.04.10 01:10, schrieb Matthias Weber:

Dear all,

this is probably even easy in plain TeX, but as I have never  
learned it properly,

I am asking anyway:


I would like to have a way to split a part of a page into two  
columns of different width, so something like


\startsplitpage[columns=2,spacing=fill]

\startcolumn[1][width=.6 \textwidth]

\input{tufte}
\stopcolumn[1]

\startcolumn[2][width=.3 \textwidth]
\placefigure[theBeerBottle]
\stopcolumn[2]

\stopsplitpage

so that the individual columns are treated (if possible) as  
separate pages with all features (like \framed etc) adapted to the

page width of the smaller sub-pages.

This could replace (for me) the somehow (for me) disfunctional  
figuretext construct.


Is there a way to do this?

http://wiki.contextgarden.net/Columns#Paragraphs

See also http://pragma-ade.com/show-man-9.htm

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
___


___
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] Framed text in paragraphs too wide

2010-04-05 Thread Matthias Weber

Dear all,

my problem with framed text persists in paragraphs: The frame extends  
over the entire page as soon as the

paragraph has more than one line. Problem exists in mkii and mkiv.
Minimal example below.

Thanks,

Matthias


\setupcolors[state=start]
\setupcolor[rgb]


\definetextbackground   [defbackground]
[backgroundcolor=lightgray,
background=color,
frame=on,
location=paragraph]


\defineparagraphs   [TwoThird][n=2]
\setupparagraphs[TwoThird]
[1]
[width=.66\textwidth]


\starttext

\startTwoThird
\starttextbackground[defbackground]
The frame is too wide.
The frame is too wide.
The frame is too wide.
\stoptextbackground
%
\nextTwoThird
\placefigure
[here]
[figure:cow]
{Mooh}
{\externalfigure[cow][width=.3\textwidth]}
\stopTwoThird

\stoptext
___
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] Framed text in paragraphs too wide

2010-04-05 Thread Matthias Weber

Thanks Aditya,

that is what I need. I don't really understand the difference between  
framedtext and textbackground, but all my framing and coloring

desires seem to be realizable with framedtext.

Matthias


On Apr 5, 2010, at 7:50 PM, Aditya Mahajan wrote:


On Mon, 5 Apr 2010, Matthias Weber wrote:


Dear all,

my problem with framed text persists in paragraphs: The frame  
extends over the entire page as soon as the

paragraph has more than one line. Problem exists in mkii and mkiv.
Minimal example below.


I have seen this before when trying to use textbacground to  
highlight stuff in tables. I don't know a solution, but if want to  
highlight whole paragrah, and do not want the ability to split  
across pages, you can use framed texts.


\setupcolors[state=start]
\setupcolor[rgb]


\defineframedtext
 [defbackground]
 [backgroundcolor=lightgray,
  background=color,
  width=broad,
  frame=on,
  location=paragraph]


\defineparagraphs
 [TwoThird][n=2]
\setupparagraphs
 [TwoThird]
 [1]
 [width=.66\textwidth]


\starttext

\startTwoThird
\startdefbackground
The frame is too wide.
The frame is too wide.
The frame is too wide.
\stopdefbackground
%
\nextTwoThird
\placefigure
[here]
[figure:cow]
{Mooh}
{\externalfigure[cow][width=.3\textwidth]}
\stopTwoThird

\stoptext

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
___


___
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] mkiv: wide gap between name and text of enumerations

2010-04-05 Thread Matthias Weber

Dear all,

I use in mkii


\defineenumeration  [blurb]
[text=Blurb,
way=bysection,
location=hanging]

\starttext

\startblurb
Here should only be a small gap.
\stopblurb
\stoptext

to get something like

Blurb 1   Here should only be a small gap.

However, the same input gives in mkiv

Blurb 1  Here should only be a small gap.

Is there a way to narrow the gap?


Thanks,

Matthias
___
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] InteractionsBar - another shot

2010-04-04 Thread Matthias Weber

So what do you recommend:

- not use the interactionbuttons
- pray that they will start working some time in the future
- buy Hans a beer (I would have done that a while ago, but shipping is  
more expensive than the
  product. Maybe there is a service in Holland where you can have  
beer delivered like online florists do for flowers?)



Matthias


On Apr 3, 2010, at 12:14 PM, Hans Hagen wrote:


On 3-4-2010 4:08, Willi Egger wrote:

Hi Mathias,

I played with your example. It looks like that the interactionbuttons
option width works differentlty in MKIV. When replacing this with
.9\textwidth the buttons are placed over the whole area. However  
there

is no spacing between the buttons.

So we must ask Hans what has changed ...


i remember changing something for the sake of configureablility but  
forgot what (i was actually thinking of moving that bit of code to a  
module and extend it it a bit) as i had to switch to do something else


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


[NTG-context] Splitting a page in given ratios

2010-04-04 Thread Matthias Weber

Dear all,

this is probably even easy in plain TeX, but as I have never learned  
it properly,

I am asking anyway:


I would like to have a way to split a part of a page into two columns  
of different width, so something like


\startsplitpage[columns=2,spacing=fill]

\startcolumn[1][width=.6 \textwidth]

\input{tufte}
\stopcolumn[1]

\startcolumn[2][width=.3 \textwidth]
\placefigure[theBeerBottle]
\stopcolumn[2]

\stopsplitpage

so that the individual columns are treated (if possible) as separate  
pages with all features (like \framed etc) adapted to the

page width of the smaller sub-pages.

This could replace (for me) the somehow (for me) disfunctional  
figuretext construct.



Is there a way to do this?

Thanks,

Matthias




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

2010-04-02 Thread Matthias Weber
Yes, that's indeed good to know. My MAIN problem with mkiv is that I  
can't get interaction bars working. I posted two basic setups a while  
ago,
and while they work fine in mkii, they fail in mkiv. Never got a  
response ...



Matthias


On Apr 2, 2010, at 10:12 AM, Hans Hagen wrote:


On 2-4-2010 14:20, John Haltiwanger wrote:

On Fri, Apr 2, 2010 at 1:40 PM, Hans Hagenpra...@wxs.nl  wrote:

well, i use mkiv exclusively so that might be a sign that it's not  
that bad;

the main issue is to keep mkiv and luatex in sync


Good to know :)

I would much prefer mkiv as well, as luatex seems much easier to grok
than TeX. I have the luck to be entering typographical programming at
a new stage. To what degree can luatex be relied on to accomplish all
that TeX macros can? Does certain functionality still require TeX
code?


the same and more, it's still tex but we can now extend using lua so  
we can go beyond what normal tex can do


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


[NTG-context] InteractionsBar - another shot

2010-04-02 Thread Matthias Weber

Dear al,

let me try again:

The following works in mkii but all the buttons get squeezed together  
in mkiv. I have the hunch that I'm doing something that I am not  
supposed

to which just accidentally works in mkii. But I can't figure out what.


Thanks,
Matthias



\setupbodyfont  [10pt]

% Colors

\setupcolors[state=start]
\setupcolor [rgb]


\definecolor [HyperlinkColor] [r=.6,g=.1,b=.2] %Hyperlinks
\definecolor [ContrastColor] [r=.1,g=.2,b=.2] % ?
\definecolor [InteractionColor] [r=.1,g=.3,b=.2] %available actionbar  
bars

\definecolor [ContrastColor2][r=.1,g=.1,b=.4] %current actionbar bar


\setupinteraction   [   state=start,
menu=on,
page=yes,
color=HyperlinkColor,
contrastcolor=ContrastColor]

\setupinteractionmenu
  [bottom]
  [leftoffset=+10pt,
   rightoffset=-10pt]

\startinteractionmenu[bottom]
  \txt \InteractionButtons \\
\stopinteractionmenu

\def\InteractionButtons%
  {\interactionbuttons
 [width=40em,height=1em]
 [PreviousJump,NextJump,
  firstpage,
  firstsubpage,previouspage,nextpage,lastsubpage,
  lastpage,
  CloseDocument]}



\setupinteractionmenu   [   state=start]

% Page Layout

\setuppapersize [S6][S6]

\setuplayout[   bottomspace=.8cm,
bottom=12pt]

\starttext

\dorecurse{10}{\input knuth\par}

\stoptext

___
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] Where is the cow?

2010-03-06 Thread Matthias Weber

Dear all,

maybe a catchy subject line will get attention -:)

Indeed, the cow seems to be missing in mk2 and is overly present in  
mk4 in the sense that my own image cow.jpg within the same directory  
as the
document below gets ignored in favor of the cow that's present in the  
mk4 minimals. These are minor issues, as it is relatively unlikely that
I will need to include images of cows in my documents in the near  
future.


What is bothering me however is my inability to combine figures  
properly together with text in a controlled manner.
I have a bunch ow smallish images (let's call them cows) which I'd  
like to have surrounded by text. I am happy and actually
prefer to do this manually instead of keeping my fingers crossed that  
some automatic algorithm will do the job, but for that I need to
know how which version of ConTeXt is placing the figures. What would  
work for me: A way to split the text width into chunks that have fixed  
widths,
and fill these chunks individually  and vertically with figures or  
text. This might be possible with tables, but there should be a  
simpler way.


Below are my attempts so far - with very frustrating results, both in  
mk2 and mk4.


Matthias

\setupbodyfont[12pt]

\setupcolors[state=start]

\setuplayout[grid=yes]
\showgrid

\setupcolor[rgb]

\definecolor[defc] [r=.9,g=.9,b=.94]

\definetextbackground   [defbackground]
[backgroundcolor=defc,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
frame=on,
framecolor=darkblue,
location=paragraph,
color=darkred]


\defineenumeration  [blurb]

[before={\starttextbackground[defbackground]},
after={\stoptextbackground},
text=Blurb,
way=bysection,
location=hanging,
letter=rm]

\setupframedtexts[background=color,backgroundcolor=defc,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
frame=on,
framecolor=darkblue,
location=paragraph,
color=darkred]

\starttext




\startblurb
Why is the topoffset so small? This happens at the top of a page.
\stopblurb


\placefigure[left]{none}{\externalfigure[cow][width=3cm]}
\startblurb
This is almost working. The figure is too low.
\stopblurb




\startfiguretext
[left]{none}{\externalfigure[cow][width=2in]}

\startblurb
Something is very wrong here.
\stopblurb
\stopfiguretext

\page

\startframedtext
Why is the offset so big?
\stopframedtext


\placefigure[left]{none}{\externalfigure[cow][width=3cm]}
\startframedtext
How do I combine this text with the figure?
\stopframedtext

For some reason, this text is placed correctly.

\stoptext


___
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] framed text backgrounds in enumerations disappear in figuretexts

2010-02-13 Thread Matthias Weber

Dear all,

I have set up enumerations with framed backgrounds, and when I place  
these into a figuretext, the frame+background disappear.
The problem occurs both in mk2 and mk4. In mk4, you can also see the  
unexpected indent I mentioned in my previous email.


Example below.

Thanks,
Matthias



\setupbodyfont[12pt]

\setupcolors[state=start]

\setupcolor[rgb]

\definecolor[defc] [r=.9,g=.9,b=.94]

\definetextbackground   [defbackground]
[backgroundcolor=defc,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
frame=on,
framecolor=darkred,
location=paragraph,
color=darkred]


\defineenumeration  [blurb]

[before={\starttextbackground[defbackground]},
after={\stoptextbackground},
text=Blurb,
way=bysection,
location=hanging,
letter=rm]


\starttext


\startblurb
This is working.
\stopblurb



\startfiguretext
[right]{none}{\externalfigure[cow][width=2in]}

\startblurb
Where is my frame?
\stopblurb
\stopfiguretext

\stoptext






___
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] framed text backgrounds in enumerations disappear in figuretexts

2010-02-13 Thread Matthias Weber

Sure. But that is of course not want I want.

Matthias


On Feb 13, 2010, at 10:29 AM, mpg wrote:


Matthias Weber escribió:

Dear all,

I have set up enumerations with framed backgrounds, and when I  
place these into a figuretext, the frame+background disappear.
The problem occurs both in mk2 and mk4. In mk4, you can also see  
the unexpected indent I mentioned in my previous email.


Example below.

Thanks,
Matthias



\setupbodyfont[12pt]

\setupcolors[state=start]

\setupcolor[rgb]

\definecolor[defc] [r=.9,g=.9,b=.94]

\definetextbackground[defbackground]
   [backgroundcolor=defc,
   corner=round,
   before=\blank,
   after=\blank,
   leftoffset=5pt,
   rightoffset=5pt,
   topoffset=5pt,
   bottomoffset=5pt,
   frame=on,
   framecolor=darkred,
   location=paragraph,
   color=darkred]


\defineenumeration[blurb]
   [before={\starttextbackground[defbackground]},
   after={\stoptextbackground},
   text=Blurb,
   way=bysection,
   location=hanging,
   letter=rm]


\starttext


\startblurb
This is working.
\stopblurb



\startfiguretext
[right]{none}{\externalfigure[cow][width=2in]}

\stopfiguretext



\startblurb
Where is my frame?
\stopblurb


\stoptext






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


___
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] ancient greek module

2010-02-13 Thread Matthias Weber
I was about to ask a similar question. I'd like to include a few greek  
quotes (with correct accents) in an otherwise latin (english) text.

What's the simplest way of doing this?

Matthias


On Feb 13, 2010, at 12:16 PM, Steffen Wolfrum wrote:


Hi,

is t-greek-2008.08.11.zip still valid (and recommended for MkIV?)

From contextgarden:
The requested URL /modules/t-greek/doc/greek/ancientgreek.pdf was  
not found on this server.
The requested URL /modules/t-greek/doc/greek/readme.txt was not  
found on this server.



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
___


___
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] Undesired indent in enumerations (mk4)

2010-02-12 Thread Matthias Weber

Dear all,

when I have an enumeration with empty text (i.e. text={},),
mk4 produces undesired indenting. mk2 works ok. Here a minimal example:

\setupbodyfont  [10pt]

\defineenumeration
[exercise]
[before=\blank,
after=\blank,
way=bysection,
text={},
start=1,
location=hanging,
letter=rm]

\starttext

\section{Addition}


\startexercise
$1+1=?$
\stopexercise

\stoptext
___
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] More numbering trouble with blocks

2010-01-24 Thread Matthias Weber

Dear all,

when pairing exercises with recalled solution blocks it seems that  
both are numbered consecutively

but independently.
When I don't give a solution to an exercise, the subsequent solution  
numbers are incorrect.
What is the proper way to deal with this? Manipulate the counter in  
the exercises without answers somehow?

Basic example attached.

Thanks,

Matthias



numbers.tex
Description: Binary data


___
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] More questions about hiding/reusing blocks

2010-01-22 Thread Matthias Weber

Dear all,

I have two more questions about reusing blocks and interreferencing  
them.


First of all, I have set up problems within different chapters, and  
would like to have a separate chapter at the end that gathers

the solutions chapter by chapter like

\chapter{Solutions}
\section{Solutions from chapter 1}

get these here

\section{Solutions from chapter 2}

get those here


A sample file is attached below that has the layout, but all I know is  
how to retrieve all blocks at once. Would I need to create another  
block at the end of each chapter, and

retrieve these at the end? If so, how?

Then, I'd like to have little inconspicuous hyperlinks from the  
exercise to its solution and back. So far, I can only do this  
manually, as indicated. I would prefer to have the text Exercise in  
the enumeration
to become a hyperlink to the corresponding solution, and vice versa  
for the text Solution.


Is there a way of doing this (or something similar)?

Thanks a lot for all the help!

Matthias





test.tex
Description: Binary data


___
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] Calligraphic letters in Mark IV

2010-01-22 Thread Matthias Weber


Dear all,

what's the best way to use calligraphic letters in LuaTeX?

I am used to

\starttext
\calligraphic{H}
\stoptext

which doesn't work in Mark IV (undefined control sequence).

Thanks,

Matthias


___
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] Calligraphic letters in Mark IV

2010-01-22 Thread Matthias Weber



Yes indeed, I need this just for math.
So do I really need to grab some font that has calligraphic , write/ 
use a typescript, and then write

$text{\calligraphic H}$
or is there a simpler way that works out of the box?

Sorry for asking these simple questions, I just haven't started  
looking into fonts yet...


Matthias Weber


On Jan 22, 2010, at 12:29 PM, Hans Hagen wrote:


On 22-1-2010 16:55, Matthias Weber wrote:


Dear all,

what's the best way to use calligraphic letters in LuaTeX?

I am used to

\starttext
\calligraphic{H}
\stoptext

which doesn't work in Mark IV (undefined control sequence).


that was actually something math

in mkiv you have to define a caligraphic font


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


[NTG-context] Hyperlinks in the table of contents/ Mark IV

2010-01-22 Thread Matthias Weber

Dear all,

it appears that the hyperlinks from the section numbers in the table  
of contents to the actual sections have disappeared in Mark IV.

The following works in Mark II:

\setupinteraction[state=start]
\starttext
\completecontent
\section{A}
\section{B}
\stoptext

There certainly is a magic word to re-open that door?

Thanks,

Matthias
___
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] Calligraphic letters in Mark IV

2010-01-22 Thread Matthias Weber

Thanks!

Matthias
On Jan 22, 2010, at 12:53 PM, Wolfgang Schuster wrote:


Am 22.01.10 18:49, schrieb Matthias Weber:



Yes indeed, I need this just for math.
So do I really need to grab some font that has calligraphic , write/ 
use

a typescript, and then write
$text{\calligraphic H}$
or is there a simpler way that works out of the box?


$H{\cal H}$

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
___


___
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] Text backgrounds once again (follow-up)

2010-01-15 Thread Matthias Weber

Thanks, that solves it!

Matthias


On Jan 14, 2010, at 5:15 PM, Aditya Mahajan wrote:


On Thu, 14 Jan 2010, Matthias Weber wrote:


Thanks, that is what I want to see.
So ConTeXt live is broken as well as TeXlive 2009?


No. Both are (understandably) slightly paranoid, and disable  
\write18 by default. Either enable write18 in Texlive (http://wiki.contextgarden.net/write18 
) or add \runMPgraphicsfalse on top of your file.


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
___


___
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] reusing figures ok - problem with hiding blocks in MKIV

2010-01-15 Thread Matthias Weber

Dear all,

after (finally) installing the minimals,
the  zip with the figures TeXs as expected  with MKII and MKIV.

Now, in MKIV I notice another issue. I use the \hideblocks mechanism  
to hide and reuse answers and get an error message (Undefined control  
sequence) in MKIV while everything is fine

in MKII.  I am attaching a sample file.

Thanks for all the help!

Matthias




test.tex
Description: Binary data


___
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] Text backgrounds once again

2010-01-14 Thread Matthias Weber


Dear all,

after a long break I am returning to two larger projects of mine, and  
to celebrate, I upgraded

to ConTeXt from the current TeXLive.

To my surprise, mostly everything looks as before (which is good), but  
all my text backgrounds are gone.

A little search brought up Wolf-gang's example (from 1-20 2009)

\setupcolors[state=start]

\definetextbackground
[example]
[location=paragraph,
background=color,
backgroundcolor=middlegray,
frame=off]

\starttext

\input knuth

\startexample
\dorecurse{4}{\input knuth\par}
\stopexample

\input knuth

\stoptext

which doesn't produce any backgrounds - neither on my installation,  
nor at ConTeXt live.
What is the current way to produce backgrounds around text snippets?  
I'll need/want it

framed with rounded corners eventually, too.

Thanks!



___
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] Text backgrounds once again (follow-up)

2010-01-14 Thread Matthias Weber
More precisely, what formerly worked (with my 2008 installation, and  
it still works when I switch back)
is the following minimized setup. The frame and the background are  
gone :(, the red text is there.


Matthias

\setupcolors[state=start]

\definecolor[defc][r=.9,g=.9,b=.94]

\definetextbackground
[defbackground]
[background=color,
backgroundcolor=defc,
align=right,
frame=on,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
framecolor=darkred,
location=paragraph,
color=darkred]

\defineenumeration
[definition]
[before={\starttextbackground[defbackground]},
after={\stoptextbackground},
text=Definition,
way=bysection,
location=hanging,
letter=rm]


\starttext

\startdefinition
\input knuth
\stopdefinition


\input knuth

\stoptext 
___

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] Text backgrounds once again (follow-up)

2010-01-14 Thread Matthias Weber

Thanks, that is what I want to see.
So ConTeXt live is broken as well as TeXlive 2009?

Matthias

On Jan 14, 2010, at 4:39 PM, Willi Egger wrote:


Hi Mathias,

I tested your sample-code with the minimals

This is LuaTeX, Version beta-0.50.0-2009122422
ConTeXt  ver: 2010.01.11 14:57 MKIV  fmt: 2010.1.11  int: english/ 
english


The outcome is to my knowledge correct See attachment.

Kind regards
Willi
backgrounds.pdf

On Jan 14, 2010, at 9:55 PM, Matthias Weber wrote:

More precisely, what formerly worked (with my 2008 installation,  
and it still works when I switch back)
is the following minimized setup. The frame and the background are  
gone :(, the red text is there.


Matthias

\setupcolors[state=start]

\definecolor[defc][r=.9,g=.9,b=.94]

\definetextbackground
[defbackground]
[background=color,
backgroundcolor=defc,
align=right,
frame=on,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
framecolor=darkred,
location=paragraph,
color=darkred]

\defineenumeration
[definition]
[before={\starttextbackground[defbackground]},
after={\stoptextbackground},
text=Definition,
way=bysection,
location=hanging,
letter=rm]


\starttext

\startdefinition
\input knuth
\stopdefinition


\input knuth

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


___
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] NOT reusing figures

2010-01-14 Thread Matthias Weber

Dear All,

I just notice another discrepancy between 2009 and earlier ConTeXt:

I organize my project in folders/subfolders according to chapters/ 
sections, and
each section folder contains the files needed for that section: the  
ConTeXt source,

images, and helper files etc.

Now it happens so that some images in different directories have the  
same name.
In my ConTeXt (2009), only the first image is loaded and used instead  
of the local one (which is explicitly referenced
with the correct path). I can clearly rename all file names to become  
unique, but it strikes me as a little odd.


Matthias
___
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] Movie control buttons?

2008-12-04 Thread Matthias Weber
Dear all,

has somebody created simple control buttons (play, pause, etc)  for  
included movies (for instance using metapost)
which I could borrow?

Thanks,

Matthias


___
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] distro info

2008-06-14 Thread Matthias Weber

For a while I thought it doesn't make sense for me to add to this  
thread, but there appears to be
a complete ignorance among many power ConTeXt users about abnormal  
ways to
use ConTeXt, and maybe even computers.

I believe that there are keyboard people and mouse people. I myself  
am mostly a mouse person.

Nevertheless, TeX has its appeal to me, besides its math typesetting  
competence.  I love to formulate
what I write while I am typing, and because I type slowly, this works  
quite well. I found that wysiwyg systems
distract me from finding good formulations, because I pay too much  
attention to the layout while typing.

After producing the content, it is quite easy to change the layout,  
and I like to do that, too -- but it is
a totally different activity.

I found ConTeXt to be more satisfying than LaTeX here, for several  
reasons. One of them is that if I want to achieve
something new in LaTeX, I typically have to choose (carefullly)  
between several different packages,
with the danger of breaking something else or to run into limitations.
With ConTeXt, the Garden is a great resource, and if everything  
else fails, one can ask on this friendly list...

No my confession: I hate digging around in the TeX tree, or compile  
new versions, etc.
While I have done all this, sometimes successfully, sometimes not, I  
just don't need to do it often enough that
I have become familiar enough with the pitfalls so that I can  
overcome potential problems. My memory
is so bad that something I don't do at least weekly will just  
disappear, and I don't have enough time
to exercise the unix installation yoga weekly.
Hence I have been living with the TeXLive ConTeXt distribution(on a  
Mac)  for a while, always afraid that the answer
to a problem will be just upgrade to the newest nightly built. I am  
sure I am not the only one.

But I do not complain. ConTeXt is great, but has a long way to go  
until Hans and company can afford dealing
with a larger user base -- when the volume of this mailing list  
doubles, it will become completely useless
to new users.


Matthias
___
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] distro info

2008-06-13 Thread Matthias Weber

On Jun 13, 2008, at 2:20 PM, Henning Hraban Ramm wrote:


 Even with GUI layout projects I normally have a Terminal open - e.g.
 for quick (batch) renaming (renaming is one of the few really annoying
 mis-features of MacOS X - YES I REALLY WANT TO CHANGE THE EXTENSION
 AND I KNOW WHAT I DO, DAMNED!).



Change your finder preferences for this one. That's about as hard as  
setting a path variable.

Matthias
___
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] InDesign/InCopy vs. TeX and friends

2008-06-01 Thread Matthias Weber
One thing that hasn't been emphasized enough in this thread is the  
beneficial effect of TeX for the scientific community,
in particular the mathematical, physical, and chemical sciences. TeX  
has made it possible to easilyfreely
prepare and distribute manuscripts. There even is a preprint server  
(www.arxiv.org) that accepts mostly TeX,
giving worldwide access to many papers that would after their  
publication only be available through
expensive journals. I don't know whether anybody has ever estimated  
the costs that all these benefits
would have if one was using alternatives to TeX. It must be in the  
billions of dollars.

Besides the ability of TeX to typeset formulas and its costs,  it is  
its level of standardization that makes it
so useful for scientists: TeX is an extremely well-defined system.
My 15 year old TeX files still `TeX',  despite changing computers and  
operating systems multiple times.
The only drawback for the scientific community is that there is no  
easy way to parse TeX into
Mathematics, i.e. make the formulas one can typeset intelligible to a  
computer algebra system.
This is of course possible now with MathML.

Matthias
___
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] Presentation style problem

2007-08-05 Thread Matthias Weber
Hello,

I've been using the green presentation style aka s-pre-02 in a few  
presentations. When I typeset these now,
using ConTeXt  ver: 2007.04.17 12:51 MKII  fmt: 2007.5.18  int:  
english/english, (or LiveConTeXt as of today),
the text runs right up to the green rectangle, leaving no margin  
(left, right, top, bottom). I have fiddled with various options of  
\setuplayout
to not much avail, curiously repeated typesetting gives different  
results (which stabilize after the second pass).

I am once again looking for the right incantation to get the text  
back nicely into its frame.

Thanks,

Matthias


\usemodule[pre-green]
%\setuplayout[leftmargin=.5cm,rightmargin=.5cm]

\starttext

\TitlePage{Title Page\\pre-green}

\Topics{Some Nice Quotes}

\Topic{A Few}

\Subject{Knuth} \input knuth
\Subject{Tufte} \input tufte

\Topic{Some More}

\Subject{Zapf}   \input zapf
\Subject{Bryson} \input bryson

\stoptext
___
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] gwTeX problem

2007-06-06 Thread Matthias Weber
If you don't need the very very latest version, do yourself a favor  
and download the gwTeX installer from

http://www.tug.org/mactex/morepackages.html

It's big, but it does it with one click, and it's only a month old.

On the other hand, it would be convenient if we could quickly upgrade  
to the latest ConTeXt on a Mac.

ctxtools --update

gives me

unable to fetch cont-tmf.zip

Matthias


On Jun 6, 2007, at 2:24 PM, David Arnold wrote:

 All,

 I got myself in trouble by using gwTeX  i-installer and tried to use
 Context Updater. The result was that the format files didn't match
 the base files (error message). Then I tried ctxtools --update. Now I
 have the font problem error described below.

 Here's part of a log file prior to my problem.

 This is pdfTeX, Version 3.141592-1.40.0-rc4 (Web2C 7.5.5)
 (format=cont-en 2007.1.3)  3 JUN 2007 20:21
 entering extended mode
 (/usr/local/gwTeX/texmf.pkgs/web2c/natural.tcx)
 **hans.tex emergencyend
 (./hans.tex

 ConTeXt  ver: 2007.01.02 13:44 MK II  fmt: 2007.1.3  int: english/
 english

 language: language en is active
 system  : cont-new loaded
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-new.tex
 systems : beware: some patches loaded from cont-new.tex
 \boislevel=\count210
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-new.mkii))
 system  : cont-old loaded
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-old.tex
 loading : Context Old Macros
 )
 system  : cont-fil loaded
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-fil.tex
 loading : Context File Synonyms
 )
 system  : cont-sys.rme loaded
 (/usr/local/gwTeX/texmf.pkgs/tex/context/user/cont-sys.rme
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-exa.tex)
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-syn.tex)
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-enc.tex)
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-siz.tex)
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-map.tex)
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-spe.tex)
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-akb.tex))
 bodyfont: 12pt rm is loaded

 You can see that it is using this path:  usr/local/gwTeX/texmf.pkgs.

 After my attempts at updating, note that it is now using an entirely
 different area of my tex tree:

 context $ texmfstart texexec meta
 TeXExec | processing document 'meta'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file meta.top
 TeXExec | using randomseed 890
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en
 This is pdfTeX, Version 3.141592-1.40.0-rc4 (Web2C 7.5.5)
 (/usr/local/gwTeX/texmf.local/web2c/natural.tcx)
 entering extended mode
 (./meta.tex

 ConTeXt  ver: 2007.06.06 09:53 MKII  fmt: 2007.6.6  int: english/ 
 english

 language: language en is active
 system  : cont-new loaded
 (/usr/local/gwTeX/texmf.local/tex/context/base/cont-new.tex
 systems : beware: some patches loaded from cont-new.tex
 (/usr/local/gwTeX/texmf.local/tex/context/base/cont-new.mkii))
 system  : cont-old loaded
 (/usr/local/gwTeX/texmf.local/tex/context/base/cont-old.tex
 loading : Context Old Macros
 )
 system  : cont-fil loaded
 (/usr/local/gwTeX/texmf.local/tex/context/base/cont-fil.tex
 loading : Context File Synonyms
 )
 system  : cont-sys.rme loaded
 (/usr/local/gwTeX/texmf.local/tex/context/user/cont-sys.rme
 (/usr/local/gwTeX/texmf.local/tex/context/base/type-exa.tex)
 (/usr/local/gwTeX/texmf.local/tex/context/base/type-syn.tex)
 (/usr/local/gwTeX/texmf.local/tex/context/base/type-enc.tex)
 (/usr/local/gwTeX/texmf.local/tex/context/base/type-siz.tex)
 (/usr/local/gwTeX/texmf.local/tex/context/base/type-map.tex)
 (/usr/local/gwTeX/texmf.local/tex/context/base/type-spe.tex)
 (/usr/local/gwTeX/texmf.local/tex/context/base/type-akb.tex))


 Note the path: /usr/local/gwTeX/texmf.local

 I think what I should have done after using i-installer, is try using
 texmfstart texexec --make --all.

 Not sure how best to proceed. Does ctxtools have an uninstall? Does
 ctxtools install in texmf.local by default?


 On Jun 6, 2007, at 9:23 AM, Aditya Mahajan wrote:

 Quoting David Arnold [EMAIL PROTECTED]:

 Neither option worked. I am now getting the famous error:

 Transcript written on mfput.log.
 grep: rm-lmr7.log: No such file or directory
 mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
 input rm-lmr7' failed to make rm-lmr7.tfm.
 kpathsea: Appending font creation commands to missfont.log.
 ! Font \*7ptmmmrrm*=rm-lmr7 not loadable: Metric (TFM) file not
 found.
 to be read again

 Usually this is because latin modern fonts are not present. Try to
 download the fonts, unzip them in your texmf tree, run mktexlsr and
 try
 again.

 Aditya
 _ 
 _
 _
 If your question is of 

Re: [NTG-context] testing for broken links to external documents

2007-05-29 Thread Matthias Weber
Thanks, this helps a lot!

Matthias

On May 29, 2007, at 1:22 PM, Peter Münster wrote:

 On Mon, 28 May 2007, Matthias Weber wrote:

 is there a simple TeX/ConTeXt way to test in a TeX file whether a
 link to an external document is broken
   so that I get an error message if not?

 Quick and dirty:

 \def\UseURL[#1][#2]{%
   \executesystemcommand{%
 if wget -qO/dev/null #2 \letterbar\letterbar [ -f #2 ]; then
   echo \letterbackslash\letterbackslash useURL[#1][#2];
 else
   echo \letterbackslash\letterbackslash#1DoesNotExist;
 fi texcmd.tmp}%
   \input texcmd.tmp}

 \setupcolors[state=start]
 \setupinteraction[state=start]

 \UseURL[fileOk][/tmp/real-file]
 \UseURL[fileNotOk][/tmp/not-existing-file]
 \UseURL[urlOk][http://contextgarden.net/]
 \UseURL[urlNotOk][http://no.contextgarden.net/]

 \starttext
 existing file: \from[fileOk]

 not existing file: \from[fileNotOk]

 existing url: \from[urlOk]

 not existing url: \from[urlNotOk]
 \stoptext

 Cheers, Peter

 --  
 http://pmrb.free.fr/contact/
 __ 
 _
 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] testing for broken links to external documents

2007-05-28 Thread Matthias Weber
Dear all,

is there a simple TeX/ConTeXt way to test in a TeX file whether a  
link to an external document is broken
  so that I get an error message if not?

I am using numerous links to external files (on my hard drive) and  
I'd like to make sure that none of
the links are broken without going manually trough them.

Though not an issue at this point, and probably more complicated: Can  
one also check  for broken
links to web pages? I don't even know whether that's possible in  
Acrobat or whether there are tools out there that do that.


Thanks,

Matthias
___
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] GWTEX -- Uninstall before installing the new?

2007-01-03 Thread Matthias Weber
I did both, and both work methods work - I haven't tried to reuse the
deprecated version though.
You have to change in TeXshop the engine from /usr/local/teTeX/bin/ 
powerpc-apple-darwin-current to /usr/local/gwTeX/bin/powerpc-apple- 
darwin-current
to make it work.
If you modified your TeX installation, you might need to do a little  
more work...


Matthias


On Jan 3, 2007, at 9:40 PM, David Arnold wrote:

 All,

 GWTeX has some serious updates.

 Should I uninstall the deprecated tex before installing the new? Or
 can they both be installed at the same time (in case the new doesn't
 work well with my old files).


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

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


Re: [NTG-context] Columns and backgrounds problem

2006-11-10 Thread Matthias Weber
To provide a workaround for my  own question: Using columnsets  
instead of columns works.


Matthias


On Nov 7, 2006, at 9:39 AM, Matthias Weber wrote:

 Hello,

 I am trying to use backgrounds in columns. Typically, the background
 runs into the other column as the following example.

 Is this a limitation, or am I doing something wrong?

 Any help is appreciated.

 Matthias




 \setupcolors[state=start]
 \setuppagenumbering[location=]
 \setupbodyfont[12pt]

 \definecolor[myframecolor][r=.0,g=.5,b=.6]
 \definecolor[myheadcolor][r=.0,g=.5,b=.0]
 \definecolor[myemcolor][r=.6,g=.1,b=.5]
 \definecolor[textcolor][r=.2,g=.02,b=.3]



 \definecolor[thmcolor]
   [r=.94,g=.94,b=.9]
   
 \definetextbackground
 [thmbackground]
 [backgroundcolor=thmcolor,
 %corner=round,
 before=\blank,
 after=\blank,
 leftoffset=5pt,
 rightoffset=5pt,
 topoffset=5pt,
 bottomoffset=5pt,
 frame=on,
 framecolor=darkblue,
 location=paragraph,
 color=darkblue]


 \defineenumeration
 [theorem]
 [before={\starttextbackground[thmbackground]},
 after={\stoptextbackground},
 text=Theorem,
 way=bysection,
 location=hanging,
 letter=rm]


 \setuppapersize[letter][letter]


 \starttext


 \startcolumns[n=2]

 \input tufte

 \starttheorem $1+1=2$
 \stoptheorem

 \input tufte

 \starttheorem $1+1=2$
 \stoptheorem

 \input tufte


 \stopcolumns

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

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


[NTG-context] Columns and backgrounds problem

2006-11-07 Thread Matthias Weber
Hello,

I am trying to use backgrounds in columns. Typically, the background  
runs into the other column as the following example.

Is this a limitation, or am I doing something wrong?

Any help is appreciated.

Matthias




\setupcolors[state=start]
\setuppagenumbering[location=]
\setupbodyfont[12pt]

\definecolor[myframecolor][r=.0,g=.5,b=.6]
\definecolor[myheadcolor][r=.0,g=.5,b=.0]
\definecolor[myemcolor][r=.6,g=.1,b=.5]
\definecolor[textcolor][r=.2,g=.02,b=.3]



\definecolor[thmcolor]
[r=.94,g=.94,b=.9]

\definetextbackground
[thmbackground]
[backgroundcolor=thmcolor,
%corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
frame=on,
framecolor=darkblue,
location=paragraph,
color=darkblue]


\defineenumeration
[theorem]
[before={\starttextbackground[thmbackground]},
after={\stoptextbackground},
text=Theorem,
way=bysection,
location=hanging,
letter=rm]


\setuppapersize[letter][letter]


\starttext


\startcolumns[n=2]

\input tufte

\starttheorem $1+1=2$
\stoptheorem

\input tufte

\starttheorem $1+1=2$
\stoptheorem

\input tufte


\stopcolumns

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


Re: [NTG-context] Printing ConTeXt books on Lulu? (Was: A new manual)

2006-11-01 Thread Matthias Weber
Not unless the copyright holders submit the material to Lulu.

In short, Lulu.com is a print-on-demand publisher with no costs  
involved for the
author: He or she uploads a 'book', specifies bindings and his/her  
royalties,
and if someone purchases the book, it is printed and send to the person.
A percentage o the royalties goes to Lulu. In particular, one can  
choose to publish
a book w/o royalties, then it will only cost the printing expenses.  
Downloads just cost the
royalties, if permitted. Finally, the author can choose among a range  
of copyright options.

Matthias

PS: On my personal wishlist, the #1 item is an updated version of con- 
eni.
I'd prefer a downloadable PDF, but I'd also buy a printed version.

On Nov 1, 2006, at 12:52 PM, Geoffrey Alan Washburn wrote:


   I figured I would try adjusting the subject to make the query a  
 little
 more apparent.  Would it be possible to purchase some of the books on
 ConTeXt via Lulu?

 Geoffrey Alan Washburn wrote:
 John R. Culleton wrote:

 My preferences in order are printed book, downloadable source,
 downloadable pdf and online anything. Information needs to be
 structured, indexed, portable, easily readable.
  
  Speaking of printed manuals, it struck me the other day that an  
 interim
 solution would be to use Lulu (www.lulu.com) to obtain printed  
 copies of
 the existing manuals.  However, it would probably be best if the  
 folks
 at PRAGMA ADE were to handle this to avoid some of the copyright  
 issues,
 and they might as well be the ones receiving any profits from the  
 sales.

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

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


Re: [NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Matthias Weber
Hi Alan,

that's not it, but:
-- the files in /texmf.local/web2C are from September
-- I do not have a pdfetex subdirectory in /texmf.local/web2C
I can't locate any other copies of the files on my machine, either...

Matthias




On Sep 14, 2006, at 12:08 PM, Alan Bowen wrote:

 On Sep 14, 2006, at 11:27 AM, Matthias Weber wrote:

 Dear all,

 I have tried updating ConTeXt with the result that any ConTeXt
 document results in the above
 error message :(

 I have re-installed everything (I hope - deleted teTeX from /usr/
 local/, and the ipackages folder
 from the home directory, then re-installed everything using
 iinstaller) to no avail.
 I tried both the ConTeXt beta and the stable version.

 Any ideas what's wrong?
 Full log file is below.

 Thanks,

 Matthias


 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

 fixing engine variable : pdfetex
  executable : pdfetex
  format : cont-en
   inputfile : Untitled
  output : pdftex
   interface : en
current mode : none
 TeX run : 1

 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
 entering extended mode
 (./Untitled.tex

 ConTeXt  ver: 2006.06.14 20:42  fmt: 2006.6.15  int: english  mes:
 english

 language: language en is active
 protectionstate 0
 system  : cont-new loaded
 (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex

 FatalError  : Your format does not match the base files!

 FormatVersion   : 2006.06.14 20:42
 FilesVersion: 2006.09.13 23:47


 return code : 0
run time : 1 seconds
sorting and checking : running texutil

 TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006
  action : processing commands, lists and registers
  option : sorting IJ under Y
  option : converting high ASCII values
   error : empty input file Untitled

  remark : 'texutil' is now part of 'texexec'
 warning : use 'texmfstart texutil' instead

  total run time : 1 seconds

 warning : use 'texmfstart texexec' instead


 Matthias—

 Check the dates of the files cont-en.fmt and cont-nl.fmt in your
 /texmf.local/web2C and
 /texmf.local/web2C/pdfetex directories.

 My guess is that the ones in the former were created in June than the
 ones in the latter were created in September. If this is right,
 copy the September files from /texmf.local/web2C/pdfetex to /
 texmf.local/web2C.

 That worked for me and I hope that it does for you too.

 Alan

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

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


Re: [NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Matthias Weber
/Users/matthias/Library/texmf/web2c/cont-en.fmt
/usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt

On Sep 15, 2006, at 11:46 AM, Thomas A. Schmitz wrote:

 What is the output of

 kpsewhere cont-en.fmt?

 Thomas

 On Sep 15, 2006, at 5:21 PM, Matthias Weber wrote:

 Hi Alan,

 that's not it, but:
 -- the files in /texmf.local/web2C are from September
 -- I do not have a pdfetex subdirectory in /texmf.local/web2C
 I can't locate any other copies of the files on my machine, either...

 Matthias


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

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


Re: [NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Matthias Weber
Thanks for the detailed instructions.

After step 4, I get the log file below - I then proceeded with step 5  
an 6. Step 6 gave me an error msg saying the file
exists, so I proceeded, and now it seems I am having a working  
ConTeXt installation.


Thanks again!

Matthias



TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
 executable : pdfetex
 format : cont-en
  inputfile : Untitled
 output : pdftex
  interface : en
   current mode : none
TeX run : 1

This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
kpathsea: Running mktexfmt cont-en.fmt
fmtutil: format directory `/usr/local/teTeX/share/texmf.local/web2c'  
is not writable.
Sorry, I can't find the format `cont-en.fmt'; will try `context.fmt'.
kpathsea: Running mktexfmt context.fmt
fmtutil: format directory `/usr/local/teTeX/share/texmf.local/web2c'  
is not writable.
I can't find the format file `context.fmt'!

return code : 256
   run time : 1 seconds

 total run time : 2 seconds

warning : use 'texmfstart texexec' instead





On Sep 15, 2006, at 12:31 PM, Thomas A. Schmitz wrote:


 On Sep 15, 2006, at 5:51 PM, Matthias Weber wrote:
 I can't locate any other copies of the files on my machine,
 either...

 /Users/matthias/Library/texmf/web2c/cont-en.fmt
 /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt


 Then you haven't looked very carefully. There are two, one in your
 private texmf tree, most probably unwanted. To get things going
 again, follow these commands:

 1. rm -r /Users/matthias/Library/texmf/web2c

 2. sudo su

 3. rm /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt

 4. texexec --make --all

 At this point, try and see if your installation works again. If it
 doesn't, you can either edit texmf.cnf or do this:

 5. ln -s /usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-
 en.fmt /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt

 6. ln -s /usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-
 nl.fmt /usr/local/teTeX/share/texmf.local/web2c/cont-nl.fmt

 7. texhash

 5. and 6. have to go into one line; you probably can't copy them from
 this mail. That should place the format in the right subdirectory. The
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

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


[NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-14 Thread Matthias Weber
Dear all,

I have tried updating ConTeXt with the result that any ConTeXt  
document results in the above
error message :(

I have re-installed everything (I hope - deleted teTeX from /usr/ 
local/, and the ipackages folder
from the home directory, then re-installed everything using  
iinstaller) to no avail.
I tried both the ConTeXt beta and the stable version.

Any ideas what's wrong?
Full log file is below.

Thanks,

Matthias


TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
 executable : pdfetex
 format : cont-en
  inputfile : Untitled
 output : pdftex
  interface : en
   current mode : none
TeX run : 1

This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
entering extended mode
(./Untitled.tex

ConTeXt  ver: 2006.06.14 20:42  fmt: 2006.6.15  int: english  mes:  
english

language: language en is active
protectionstate 0
system  : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex

FatalError  : Your format does not match the base files!

FormatVersion   : 2006.06.14 20:42
FilesVersion: 2006.09.13 23:47


return code : 0
   run time : 1 seconds
   sorting and checking : running texutil

TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006
 action : processing commands, lists and registers
 option : sorting IJ under Y
 option : converting high ASCII values
  error : empty input file Untitled

 remark : 'texutil' is now part of 'texexec'
warning : use 'texmfstart texutil' instead

 total run time : 1 seconds

warning : use 'texmfstart texexec' instead

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


[NTG-context] CoNTeXt on Mac OS X with iinstaller still broken

2006-06-15 Thread Matthias Weber
Dear Mac-ConTeXt users (and other experts),

I typically upgrade my least used Mac (my laptop)  to the newest  
ConTeXt release first, and
only go ahead with the desktop when my projects compile fine.
Otherwise, I usually wait until the more proficient users have sorted  
things out.

Now, for a while, the iinstaller ConTeXt version has been broken.  
While there have been
numerous  reports and workaround and fixes on this list, it would be  
most convenient
to have iinstaller working again (or another foolproof solution).

For reference, I attach the log file for

\starttext
ffi
\stoptext

which shows that ligatures aren't shown.

Thanks in advance!

Matthias



This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)  
(format=cont-en 2006.6.13)  13 JUN 2006 11:26
entering extended mode
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
**cont-en test.tex
(./test.tex

ConTeXt  ver: 2006.06.07 23:34  fmt: 2006.6.13  int: english  mes:  
english

language: language en is active
protectionstate 0
system  : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
color   : palette rollover is available
)
system  : cont-old loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns en-ec:ec-1-2:3 uk-ec:ec-2-2:3 de- 
 texnansi:tex
nansi-3-2:3 de-ec:ec-4-2:3 fr-texnansi:texnansi-5-2:3 fr- 
 ec:ec-6-2:3
es-ec:ec-7-2:3 pt-texnansi:texnansi-8-2:3 pt-ec:ec-9-2:3 it- 
 texnansi
:texnansi-10-2:3 it-ec:ec-11-2:3 nl-texnansi:texnansi-12-2:3  
nl-ec:ec-
 13-2:3 cz-il2:il2-14-2:3 cz-ec:ec-15-2:3 sk-il2:il2-16- 
 2:3 sk-ec:ec
-17-2:3 pl-pl0:pl0-18-2:3 pl-ec:ec-19-2:3 pl-qx:qx-20-2:3  
loaded
specials: tex,postscript,rokicki loaded
\openout2 = `test.tui'.

system  : test.top loaded
(./test.top
specials: loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex)
specials: fdf loaded
)
specials: fdf,tpd loaded
)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems : system commands are disabled
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./ 
test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(/usr/local/teTeX/share/texmf.local/tex/context/base/sort-def.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/sort-lan.tex) (./ 
test.tuo)
(./test.tuo)
systems : begin file test at line 3
fonts   : resetting map file list
fonts   : using map file: original-base
fonts   : using map file: ec-public-lm
fonts   : using map file: ec-base
fonts   : using map file: 8r-base
fonts   : using map file: t5-base
fonts   : using map file: original-ams-base
fonts   : using map file: original-ams-euler
fonts   : using map file: original-public-lm
(/usr/local/teTeX/share/texmf.local/tex/context/base/pdfr-ec.tex) [1.1 
{/usr/loc
al/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original- 
empty.map}{/usr/l
ocal/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-base.map
Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/ 
dvipdfm/con
text/original-base.map): invalid entry for `fmvr8x': font file missing

Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/ 
dvipdfm/con
text/original-base.map): invalid entry for `xycmat11': font file missing

Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/ 
dvipdfm/con
text/original-base.map): invalid entry for `xycmbt11': font file missing

Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/ 
dvipdfm/con
text/original-base.map): invalid entry for `xyeuat11': font file missing

Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/ 
dvipdfm/con
text/original-base.map): invalid entry for `xyeubt11': font file missing

Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/ 
dvipdfm/con
text/original-base.map): invalid entry for `xycmat12': font 

Re: [NTG-context] CoNTeXt on Mac OS X with iinstaller still broken

2006-06-15 Thread Matthias Weber
Thanks Taco (and Hans),

replacing the

TEXFONTMAPS =

line

in /usr/local/teTeX/texmf.cnf

by all the stuff below does indeed work (even with today's beta). Is  
there an incantation I could use
so that Gerben's iinstaller does this automatically? I want to talk  
somebody into using ConTeXt
(on a Mac), and this person is even less educated in this kind of  
surgery than I am.

Matthias

On Jun 15, 2006, at 8:24 AM, Taco Hoekwater wrote:



 Matthias Weber wrote:
 Dear Mac-ConTeXt users (and other experts),

 I typically upgrade my least used Mac (my laptop)  to the newest
 ConTeXt release first, and
 only go ahead with the desktop when my projects compile fine.
 Otherwise, I usually wait until the more proficient users have sorted
 things out.

 Cutpaste from an old reply by Hans himself:

 hm, this is due to the fact that context finds the dvipdfmx map files
 first [maybe it's time to get rid of map files altogether and  
 switch to
 maplines]; either delete the files from the dvipdfmx pathm, or adapt
 yout texmf.cnf file

 this is what it should be

 TEXFONTMAPS.dvipdfm  = .;$TEXMF/fonts/map/{dvipdfm,dvips,}//
 TEXFONTMAPS.dvipdfmx = .;$TEXMF/fonts/map/{dvipdfm,dvips,}//
 TEXFONTMAPS.pdftex   = .;$TEXMF/fonts/map/{pdftex,dvips,}//
 TEXFONTMAPS.pdfetex  = .;$TEXMF/fonts/map/{pdftex,dvips,}//
 TEXFONTMAPS.xetex= .;$TEXMF/fonts/map/{xetex,pdftex,dvips,}//
 TEXFONTMAPS.dvips= .;$TEXMF/fonts/map/{dvips,pdftex,}//

 TEXFONTMAPS   =
 .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/ 
 {$progname,pdftex,dvips}/{config,}//


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

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


Re: [NTG-context] Angle braces?

2006-06-08 Thread Matthias Weber
Hi,

this depends -- different fonts contain different kinds of 'angle  
braces',
depending on their purpose. Do you want them for (french style)
quotations, or for typesetting math?

The following is a set of examples -- they might look very different
with other fonts.

Matthias


(\langle and \rangle is math mode only I believe)

\setuplanguage [en] [rightquote=\rightguillemot,leftquote= 
\leftguillemot]


\starttext

foo \leftguillemot bar\rightguillemot{} foo
\leftsubguillemot bar\rightsubguillemot{}
foo $\langle \text{bar}\rangle$ foo.


foo \quote{bar} foo
\stoptext


On Jun 7, 2006, at 3:35 AM, Steven Robertson wrote:

 Hi,

 Annoyingly simple question -- apologies -- but I'm having no luck from
 the web. The ConTeXt wiki isn't turning up anything, and the pragma  
 site
 seems to be broken, so I can't access the ConTeXt manual. So:

 What are the commands in ConTeXt to get angled braces, i.e. `' and  
 ''?
 I've got is \langle and \rangle respectively, but these aren't  
 resulting
 in output -- the dvi has nothing where they should be - foo bar foo
 instead of foo bar foo. Using the braces themselves, eg

 \starttext
 foo bar foo
 \stoptext

 gives me upside-down exclamation and question marks, for left and  
 right
 braces respectively.

 Thanks for any help.

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

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


Re: [NTG-context] Accessing local files -- more precise description

2006-05-03 Thread Matthias Weber
Dear all again,


as a follow-up to my previous question, I think I can
now ask more precisely:

In Acrobat, a linked document can be treated in different ways.
A 'webdocument' is typically just downloaded (and opened in Acrobat  
if possible).
This is the behavior I get when using \from with \useURL.

There is another possible behavior, called 'Open File' in Acrobat,  
which will
launch a program to open the linked document. This is what I want.
Is this feature of Acrobat accessible in ConTeXt?

(I can manually edit the pdf to this effect in Acrobat).

Thanks again,

Matthias


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


Re: [NTG-context] Accessing local files -- relative file names?

2006-05-03 Thread Matthias Weber
Thanks Willi,I mistakenly believed \goto only works within one document.My current solution is to use\goto{3DXM}[program(/test/cycloids.ODE3D)]which works in Acrobat (not in preview though, which is something I can live with)and TeXShop.Curiously enough, if I use relative file names, they still work in Acrobat but not inTeXShop anymore...Thanks again!MatthiasOn May 3, 2006, at 12:18 PM, Willi Egger wrote:Please look the details up in the widget-manual ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


  1   2   >