[NTG-context] changing pre-fuzzy stlye

2014-08-27 Thread Pau
Dear all,

I am preparing a presentation using pre-fuzzy and I would like to make a
modification without altering the style if possible.

It turns out that the meeting I am attending is not using a projector but a
kind of huge monitor with very low frequency and, as a result, a bright
background is unpleasent on the eyes because of that frequency.

I would like to change the background to black and the text to white.

I am unsure where to do this without modifying the main file for the style
pre-fuzzy.

Any hint will be appreciated.

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] Undefined \continueifinputfile on presentation

2013-08-14 Thread Pau
Hi,

something very strange is going on... when I set \runMPgraphicstrue on
top, texexec seems to enter an long process and takes ~10 minutes to
produce a pdf:

/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-text.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-txts.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-shap.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-butt.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-char.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-step.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-grph.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-figs.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-grid.mpii
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-form.mpii
(/usr/local/texlive/2013/texmf-dist/metapost/base/string.mp)
(/usr/local/texlive/2013/texmf-dist/metapost/base/marith.mp
(/usr/local/texlive/2013/texmf-dist/metapost/base/string.mp
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-func.mpii) ) )
(dump occurred when else on line 5 was incomplete)

mpost is running and CTRL+C does not break texexec...

Why is that??

Thanks


On Tue, Aug 13, 2013 at 9:48 PM, Aditya Mahajan adit...@umich.edu wrote:
 On Tue, 13 Aug 2013, Pau wrote:

 Yes, now I am getting my input, thanks!

 But the style seems to be severely broken: I do not become the frames,
 background colors etc as defined in the style.

 Compile your example and compare it with:

 http://wiki.contextgarden.net/Presentation_Styles#05._fuzzy

 Thanks again for your time and help!


 I am getting the correct output.

 Do you have write18 enabled (needed to run metapost in MkII)? Otherwise, set
 \runMPgraphicstrue 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
___


Re: [NTG-context] Undefined \continueifinputfile on presentation

2013-08-14 Thread Pau
Hi,

thanks for your patience... No, it does not work.

I just get a blank page with a 1 on it, but no circle.

I ran texexec example.tex on texlive 2013.

This is very bad. I am giving a talk tomorrow and I was hoping on
recycling some slides from a former talk, and it seems I am stuck!

Thanks...

On Wed, Aug 14, 2013 at 8:24 AM, Aditya Mahajan adit...@umich.edu wrote:
 On Tue, 13 Aug 2013, Pau wrote:

 Hi,

 something very strange is going on... when I set \runMPgraphicstrue on
 top, texexec seems to enter an long process and takes ~10 minutes to
 produce a pdf:

 Why is that??


 I don't know. It has been more than five years since I used MkII.

 Does a minimal file containing just MP graphics work?

 \starttext
 \startMPcode
 draw fullcircle scaled 1cm;
 \stopMPcode
 \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
___


Re: [NTG-context] Undefined \continueifinputfile on presentation

2013-08-14 Thread Pau
adding that makes the circle, yes

That works out also for my presentation, but it takes ~10 minutes for
texexec to create the pdf...


How can I run the old slides through mkiv?


Thanks again...

On Wed, Aug 14, 2013 at 9:54 AM, Aditya Mahajan adit...@umich.edu wrote:
 On Wed, 14 Aug 2013, Pau wrote:

 Hi,

 thanks for your patience... No, it does not work.

 I just get a blank page with a 1 on it, but no circle.

 I ran texexec example.tex on texlive 2013.

 This is very bad. I am giving a talk tomorrow and I was hoping on
 recycling some slides from a former talk, and it seems I am stuck!


 What happens if you add

 \runMPgraphicstrue

 or just run your old slides throught MkIV.

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

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


Re: [NTG-context] Undefined \continueifinputfile on presentation

2013-08-14 Thread Pau
sorry for these newbie questions... but how to enable write18?

context failed to compile it...

I am out of luck, seemingly...

Is this to be envisaged as a regression?

Why a document that used to compile perfectly over many years cannot
be compiled now, if nothing was changed?

Thanks for all of the help!

On Wed, Aug 14, 2013 at 10:38 AM, Aditya Mahajan adit...@umich.edu wrote:
 On 2013-08-14, at 1:04 PM, Pau vim.u...@gmail.com wrote:

 adding that makes the circle, yes

 That works out also for my presentation, but it takes ~10 minutes for
 texexec to create the pdf...

 That actually depends on the number of metapost runs needed to create all the 
 random frames. You might get some sipped up if you enable write18.


 How can I run the old slides through mkiv?

 context filename

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

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


[NTG-context] Undefined \continueifinputfile on presentation

2013-08-13 Thread Pau
Hello,

I have installed texlive and defined the path correctly:

echo $PATH
/usr/local/texlive/2013/bin/x86_64-linux:/usr/libexec/lightdm:/usr/local/bin:/usr/bin:/bin:/home/pau/bin:/usr/local/sbin:/usr/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/sbin:/home/pau/bin:/home/pau/smbin:/home/pau/treball/simulacions/nemo/bin:/opt/local:/opt/local/bin:/home/pau/prawn/bin:/home/pau/treball/simulacions/splash2/bin:/home/pau/andromina/programes_diversos/pyxplot-0.9.2/bin:/home/pau/andromina/programes_diversos/rubber/bin:/home/pau/golang/bin/

(notice that it is the first entry)

I am trying to recompile a presentation that I prepared with context
on texlive2012 and I am getting this problem:

! Undefined control sequence.
l.220 \continueifinputfile
  {s-pre-05.tex}

The whole output is:

==
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:688:
warning: class variable access from toplevel
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:695:
warning: class variable access from toplevel
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:702:
warning: class variable access from toplevel
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:703:
warning: class variable access from toplevel
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
 restricted \write18 enabled.
entering extended mode
(./TU_Berlin_June_2012.tex

ConTeXt  ver: 2013.04.09 10:38 MKII  fmt: 2013.7.22  int: english/english

system  : cont-new.mkii loaded
(/usr/local/texlive/2013/texmf-dist/tex/context/base/cont-new.mkii
systems : beware: some patches loaded from cont-new.mkii
)
system  : cont-sys.tex loaded
(/home/pau/fitx_confg/texinputs/cont-sys.tex
(/usr/local/texlive/2013/texmf-dist/tex/context/base/type-siz.mkii)
(/usr/local/texlive/2013/texmf-dist/tex/context/base/type-one.mkii))
system  : TU_Berlin_June_2012.top loaded
(./TU_Berlin_June_2012.top)
bodyfont: 12pt rm is loaded
language: patterns nl-texnansi:texnansi-1-2:2 nl-ec:ec-2-2:2 us-
ec:ec-3-2:3 de-texnansi:texnansi-4-3:3 de-ec:ec-5-3:3 da-ec:ec-6-2:2
 sv-ec:ec-7-2:2 af-ec:ec-8-2:2 gb-ec:ec-9-2:2 fr-texnansi:texnansi-1
0-2:2 fr-ec:ec-11-2:2 es-ec:ec-12-2:2 ca-ec:ec-13-2:2 it-texnansi:te
xnansi-14-2:2 it-ec:ec-15-2:2 la-ec:ec-16-2:2 pt-texnansi:texnansi-17
-2:2 pt-ec:ec-18-2:2 ro-ec:ec-19-2:2 pl-pl0:pl0-20-2:2 pl-ec:ec-21-
2:2 pl-qx:qx-22-2:2 cs-il2:il2-23-2:2 cs-ec:ec-24-2:2 sk-il2:il2-25
-2:2 sk-ec:ec-26-2:2 hr-ec:ec-27-2:2 sl-ec:ec-28-2:2 tr-ec:ec-29-2
:2 tk-ec:ec-30-1:2 lt-l7x:l7x-31-2:2 agr-agr:agr-33-2:2 fi-ec:ec-34-
2:2 hu-ec:ec-35-2:2 ru-t2a:t2a-37-2:2 uk-t2a:t2a-38-3:3  loaded
specials: dvips loaded
systems : system commands are enabled
language: language en is active
specials: loading definition file tpd
(/usr/local/texlive/2013/texmf-dist/tex/context/base/spec-tpd.mkii
specials: loading definition file fdf
(/usr/local/texlive/2013/texmf-dist/tex/context/base/spec-fdf.mkii))
system  : module pre-fuzzy loaded
(./s-pre-05.tex
system  : module pre-general loaded
(/usr/local/texlive/2013/texmf-dist/tex/context/base/s-pre-00.tex)
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated
interaction : active
system  : mark Topic defined [chapter]
system  : mark Topicnumber defined [chapternumber]
system  : mark Nopic defined [title]
system  : mark Nopicnumber defined [titlenumber]
system  : mark Subject defined [section]
system  : mark Subjectnumber defined [sectionnumber]
! Undefined control sequence.
l.220 \continueifinputfile
  {s-pre-05.tex}
==

And this is the preamble of the file (apologies for the % signs):

=

\usemodule[pre-fuzzy]
\usemodule[amsl]
\useMPlibrary[txt]


\setupexternalfigures[directory={/home/pau/treball/xerrades/grafiques_xerrades_png,
%

/home/pau/treball/xerrades/grafiques_xerrades}]%



%
 \definestartstop[CapsaTitolBlanca][before={\setupbackground%
[style=\tfx,background=color,backgroundcolor=white, %
frame=on,framecorner=rectangular,framecolor=black,  %
rulethickness=3pt,topoffset=0.25cm,bottomoffset=0.25cm, %
leftoffset=0.25cm,rightoffset=0.25cm,before={\blank[big]}]  %
\startbackground\switchtobodyfont[18pt]},   %
 after=\stopbackground] %
%
 \definestartstop[CapsaTitolRoja][before={\setupbackground  %
[style=\os, background=color,   %
backgroundcolor=lightred,frame=on,framecorner=round,%
backgroundcorner=round

Re: [NTG-context] Undefined \continueifinputfile on presentation

2013-08-13 Thread Pau
Thanks, but it did not work... here you are a minimalistic example:

\usemodule[pre-fuzzy]
\usemodule[amsl]
\useMPlibrary[txt]

\def\continueifinputfile#1%
   {\doifnotfile{#1}{\endinput}}


\TitlePage {
 {\hw [ TITLE ]}

\vfill

 {\tfx \hw Author}
}

\setupbodyfont[13pt]

\starttext

\stoptext




 \contiinueifinputfile is a MkIV macro not defined in MkII. Perhpas you can
 define it in MKII as

 \def\continueifinputfile#1%
{\doifnotfile{#1}{\endinput}}

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

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


Re: [NTG-context] Undefined \continueifinputfile on presentation

2013-08-13 Thread Pau
Thanks Aditya... that worked...

Now I am getting more trouble with the full presenation, not that
short example, and I am not sure where the problem is arising, so that
I cannot prepare a minimalistic version of the presentation:

pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!

Is this related to the amsl module? How do I use those multilines
instead? Can you give me a little example?

If you have an idea of where this might coming from, I can prepare a
short version of the presentation...

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

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


Re: [NTG-context] Undefined \continueifinputfile on presentation

2013-08-13 Thread Pau
thanks but when adding those lines you suggested, while texexec seems
to be working and is producing a pdf, it has nothing to do with my
contents:

Bryson
Imagine trying to live in a world dominated by dihydrogen oxide, a
compound that has no taste or smell and is so viable in its properties
that it is generally benign but at other times swiftly lethal. Depending
on its state, it can scald you or freeze you. In the presence of certain
organic molecules it can form carbonic acids so nasty that they can
strip the leaves from trees and eat the faces off statuary. In bulk,
when agitated, it can strike with a fury that no human edifice could
withstand. Even for those who have learned to live with it, it is often
murderous substance. We call it water.

I guess that this is a default text that comes with pre-fuzzy... why
is this happening? Sorry, I am lost...

Thanks for your time,

Pau


On Tue, Aug 13, 2013 at 5:33 PM, Aditya Mahajan adit...@umich.edu wrote:
 On Tue, 13 Aug 2013, Pau wrote:

 Thanks Aditya... that worked...

 Now I am getting more trouble with the full presenation, not that
 short example, and I am not sure where the problem is arising, so that
 I cannot prepare a minimalistic version of the presentation:

 pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!


 This is a warning that you may safely ignore.


 Is this related to the amsl module? How do I use those multilines
 instead? Can you give me a little example?


 http://wiki.contextgarden.net/Multiline_equations
 http://dl.contextgarden.net/myway/mathalign.pdf

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

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


Re: [NTG-context] Undefined \continueifinputfile on presentation

2013-08-13 Thread Pau
Yes, now I am getting my input, thanks!

But the style seems to be severely broken: I do not become the frames,
background colors etc as defined in the style.

Compile your example and compare it with:

http://wiki.contextgarden.net/Presentation_Styles#05._fuzzy

Thanks again for your time and help!


On Tue, Aug 13, 2013 at 7:38 PM, Aditya Mahajan adit...@umich.edu wrote:
 On Tue, 13 Aug 2013, Pau wrote:

 thanks but when adding those lines you suggested, while texexec seems
 to be working and is producing a pdf, it has nothing to do with my
 contents:


 Sorry. The following works correctly (tested this time)

 \def\continueifinputfile#1%
{\doifnot\inputfilename{#1}{\endinput}}

 \usemodule[pre-fuzzy]

 \TitlePage{Title \vfill Author}

 \starttext
 Whatever
 \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
___


Re: [NTG-context] Accents messed up

2011-03-18 Thread Pau
That did it... thanks...

But it is strange, because I had a similar set up with Spanish and it
worked... in any case, thanks

On 18 March 2011 04:09, Peter Münster pmli...@free.fr wrote:
 Pau vim.u...@googlemail.com writes:

 %\enableregime[utf-8]

 Uncomment this line.


 \enableregime[latin1]

 Remove this line.


 my terminal encoding is set to UTF-8.

 Good.

 --
           Peter

___
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] Accents messed up

2011-03-17 Thread Pau
Hi,

This is TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

I am writing a presentation like this in French:

\language[fr]
\mainlanguage[fr]
%\enableregime[utf-8]
\enableregime[latin1]
\usemodule[pre-fuzzy]
\usemodule[amsl]
\useMPlibrary[txt]

my terminal encoding is set to UTF-8.

Running texec on it yields a bunch of weird characters where the
accents should be.

What am I doing wrong?

thanks,

Pau
___
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] some equivalent of latex beamer \itemuncover@1?

2011-02-20 Thread Pau
Dear Wolfgang,

thanks a lot for your clear and detailed example.

However I seem to be missing the pre-stepwise module and I do not understand why

I have followed step by step this

http://www.tug.org/texlive/acquire-netinstall.html

and everything has worked just fine. As a matter of fact

deukalion(pts/113)| texexec --check | grep source
TeXExec | context source date: 2010.05.24 13:05

Correct me if I am wrong, but isn't texlive supposed to give me a full
working recent version of all of context and its modules?

thanks for everything


On 20 February 2011 09:13, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 Am 19.02.2011 um 21:57 schrieb Pau:

 Obviously I have to define Steps and I am using for my presentation pre-fuzzy

 How could I add Step to pre-fuzzy?

 I have looked into s-pre-61.tex to see whether I could get an idea (I
 apologise for my ignorance).

 To use the step-machanism you can load the file “pre-stepwise”, e.g.

 \usemodule[pre-stepwise]

 \starttext

 \StartSteps

 \startitemize
 \item one \FlushStep
 \item two \FlushStep
 \item three \FlushStep
 \stopitemize

 \StopSteps

 \stoptext

 is enough. To add the function to “pre-fuzzy” you can try

 \usemodule[pre-fuzzy,pre-stepwise]

 \starttext
 ...
 \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
___


Re: [NTG-context] some equivalent of latex beamer \itemuncover@1?

2011-02-20 Thread Pau
Thanks to Wolfgang's (seemingly infinite amount of!!) patience, I have
managed to get this one running.

I have one question, though.

Has anybody been successful at running any other software than
acroread for pdf documents which require javascript functions such as
in this example?

This should probably go to a different thread but, since it is the
first time I run into this snag, it kind of makes sense to have it
stick to the Steps function problem I had

Thanks to everybody for your help, context and everything!

Pau

On 20 February 2011 00:07, Hans Hagen pra...@wxs.nl wrote:
 On 19-2-2011 9:57, Pau wrote:

 Hello Hans,

 thanks for your reply.

 This is

 Installed Packages
 Name        : texlive-context

 the minimals have some more

 -
                                          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] some equivalent of latex beamer \itemuncover@1?

2011-02-19 Thread Pau
Hello,

since I somehow managed to end up in the rpm dependence hell with a
broken update of texlive, I went and did a manual *full* install of
texlive 2010... still, I do not find more examples.

Could you enlighten my ignorance with a concise example?

thanks


On 20 February 2011 00:07, Hans Hagen pra...@wxs.nl wrote:
 On 19-2-2011 9:57, Pau wrote:

 Hello Hans,

 thanks for your reply.

 This is

 Installed Packages
 Name        : texlive-context

 the minimals have some more

 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -

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

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


[NTG-context] some equivalent of latex beamer \itemuncover@1?

2011-02-18 Thread Pau
Hello,

I am trying to implement a similar effect to latex beamer's

\begin{itemize}
\itemuncover@1
\itemuncover@2
\itemuncover@3-
\end{itemize}

What'd be the equivalent/similar/better of that in ConTeXt?

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
___


[NTG-context] curly bracket different values (entries)

2011-02-14 Thread Pau
Hello,

I am trying to get something like the x_n equation here (second one):

http://latex.knobs-dials.com/images/47c5c3f63c4c9dcbdf4b4b4e362b01d00b8cb62b.100.png

but I am failing... this is my pathetic trial... any help would be
appreciated. Thanks!

\placeformula
\startformula
\phi^{N(n)}_m = \left{
\eqalign{
\phi^{R(n)}_m  {\rm inside the worldtube}\,, \cr
\phi_m {\rm outside the worldtube} \,,
}
\stopformula
___
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] curly bracket different values (entries)

2011-02-14 Thread Pau
\startformula
 \phi^{N(n)}_m = \startmathcases
 \NC \phi^{R(n)}_m \MC \text{inside the worldtube}\NR
   \MC \text{outside the worldtube}\NR
 \NC 1
\stopmathcases
\stopformula

Oh, thanks a lot, man!



On 14 February 2011 20:27, Pau vim.u...@googlemail.com wrote:
 Hello,

 I am trying to get something like the x_n equation here (second one):

 http://latex.knobs-dials.com/images/47c5c3f63c4c9dcbdf4b4b4e362b01d00b8cb62b.100.png

 but I am failing... this is my pathetic trial... any help would be
 appreciated. Thanks!

 \placeformula
 \startformula
 \phi^{N(n)}_m = \left{
 \eqalign{
 \phi^{R(n)}_m  {\rm inside the worldtube}\,, \cr
 \phi_m         {\rm outside the worldtube} \,,
 }
 \stopformula

___
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] span figure

2011-02-12 Thread Pau
Hello,

I am trying to take as much place as possible for a centered figure on a page.

For this, I am doing

 \placefigure
   [here]   % Place
   []  % Label
   {}  % Legend
{
 \externalfigure[Figure.pdf]
[factor=broad] % Also: max, fit
%[width=10cm]  % Does not work with factor
}

By playing with width I get something very close to what I need, but I
can see that there's always an initial blank skip at the beginning of
the page which is larger than the skip at the bottom.

I have tried with

\vskip-1.5cm

and similar, but this does not move the figure up.

How can I take as much place as possible in a page for a figure with
identical empty spaces, at the top and the bottom?

If I set it to [top] or [center] or [mid] I do not see any difference.

thanks,

Pau
___
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] pstopdf setting lower-case?

2011-01-04 Thread Pau
No hints? Thanks.

Pau

2010/11/5 Pau vim.u...@googlemail.com:
 Hello,

 why is the ruby script pstopdf renaming files to lower-case?

 See the examples

 deukalion(pts/15)| ps2ps 1.ps U.ps
 deukalion(pts/15)| file U.ps
 U.ps: PostScript document text conforming DSC level 3.0, Level 2
 deukalion(pts/15)| pstopdf U.ps
 PsToPdf | file U.ps does not exist
 deukalion(pts/15)| file U.ps
 U.ps: cannot open `U.ps' (No such file or directory)


 deukalion(pts/15)| cp 1.ps TEST.ps
 deukalion(pts/15)| file TEST.ps
 TEST.ps: PostScript document text conforming DSC level 3.0, type EPS, Level 1
 deukalion(pts/15)| ls -lartsh TEST.ps
 12K -rw---. 1 pau pau 11K Nov  5 19:03 TEST.ps
 deukalion(pts/15)| pstopdf TEST.ps
 PsToPdf | file TEST.ps does not exist

 Thanks,

 Pau

___
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] pstopdf setting lower-case?

2010-11-05 Thread Pau
Hello,

why is the ruby script pstopdf renaming files to lower-case?

See the examples

deukalion(pts/15)| ps2ps 1.ps U.ps
deukalion(pts/15)| file U.ps
U.ps: PostScript document text conforming DSC level 3.0, Level 2
deukalion(pts/15)| pstopdf U.ps
PsToPdf | file U.ps does not exist
deukalion(pts/15)| file U.ps
U.ps: cannot open `U.ps' (No such file or directory)


deukalion(pts/15)| cp 1.ps TEST.ps
deukalion(pts/15)| file TEST.ps
TEST.ps: PostScript document text conforming DSC level 3.0, type EPS, Level 1
deukalion(pts/15)| ls -lartsh TEST.ps
12K -rw---. 1 pau pau 11K Nov  5 19:03 TEST.ps
deukalion(pts/15)| pstopdf TEST.ps
PsToPdf | file TEST.ps does not exist

Thanks,

Pau
___
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] linking to equations with leqalignno?

2010-09-04 Thread Pau
Hello,

I am a bit lost. I am using this format for an equation:

-
\placeformula[nohair]
\startformula
\leqalignno{
 - M^{}_{\bullet}a^{2}_{\bullet} =  M^{}_{2} = -
\frac{J^{2}_{1}}{M^{}_{0}} \,, \cr
 - M^{}_{\bullet}a^{3}_{\bullet} =  J^{}_{3} =
\frac{M^{}_{2}J^{}_{1}}{M^{}_{0}}\,. \cr
   }
\stopformula
-

but then,using  \in[nohair] to link to the equation in the text of the
document does not work.

I get a [??]

I think this is related to leqalignno, because \in[] works fine without it.

What should I do in this case?

thanks,

Pau
___
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] leqalignno and labels

2009-11-02 Thread Pau
Hello,

thanks again for all answers regarding labelling. It has mostly worked but I am
now having a particular problem with leqalignno.

It turns out that the \placeformula[mylabel] works as expected but for
\leqalignno

This is an example:

--
\placeformula[Pflux]
\startformula
\leqalignno{
 f_{q}^{p}(v) = \frac{32}{5} \nu^{10} v^{10} \left[1 +
\log\left(v\right) \left(\sum_{i\geq6}^{k} \ell_{i} v^{i} \right)
\right]\cr
 \times P_{q}^{p} \left[\left(1 - \frac{v}{v_{\p}} \right)
\sum_{i=0}^{k} {\cal{F}}_{i}^{\lf} v^{i} \right],\cr
   }
\stopformula
--

Then, when doing  Eq.~\in[Pflux] in the text, it will produce an ?? in
the resulting pdf.

Any help will be appreciated.

Thanks,

Pau
___
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] labelling again: tables? And captions?

2009-10-30 Thread Pau
Hello,

how can I add a label and a caption to a table?

I guess that the label is

\starttable[|l|l|l|l|l|l|l|l|][MyLabel]

But what about the caption?

I have been looking in http://wiki.contextgarden.net/Table

Thanks a lot for the help...

Cheers,

Pau
___
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] \label equivalent in a section?

2009-10-29 Thread Pau
Hello,

how do I translate


\section{Introduction}
\label{intro}

In Section \ref{intro}, we show an example of labelling


in ConTeXt?

I have looked in the wiki, and googled and I haven't found out...

Thanks a lot,

Pau
___
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] \label equivalent in a section?

2009-10-29 Thread Pau
Thanks!

now, this is a friendly mailing list!

I was trying to guess it with \section{Introduction}[label=intro]

but that didn't work out.

The main problem is to find the keywords. My English is not exactly
excellent and sometimes I find it difficult to find the right place to
look at...

Thanks again,

Pau

2009/10/29 Matthijs Kooijman matth...@stdin.nl:
 Hi Pau,

 
 \section{Introduction}
 \label{intro}

 In Section \ref{intro}, we show an example of labelling
 
 \section[intro]{Introduction}

 In \in{Section}[intro] (on \at{Page}[intro]), we show an example of labelling.

 

 This should work. There's some info at
 http://wiki.contextgarden.net/References

 Gr.

 Matthijs

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAkrpwCQACgkQz0nQ5oovr7z//gCfViE/S/fH7qXZ6WritVypRg4R
 RZwAoMdDTuuOboMRJGH/8bSgID+CLaQi
 =c/DG
 -END PGP SIGNATURE-


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

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


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

2009-06-25 Thread Pau
Hello,

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

thanks in any case

Pau

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

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


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

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

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

 \setuplabeltext[en][figure=]

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

 thanks a lot

 Pau


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

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

 Thank you very much for the hint

 Pau

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

 Hello,

 thanks a _lot_

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

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

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

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

 Hans


 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -




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




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




-- 
Let there be peace on earth. And let it begin with misc
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


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

2009-06-24 Thread Pau
Hello,

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


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

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

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

\setuplabeltext[en][figure=]

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

thanks a lot

Pau


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

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

 Thank you very much for the hint

 Pau

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

 Hello,

 thanks a _lot_

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

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

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

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

 Hans


 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -




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




-- 
Let there be peace on earth. And let it begin with misc
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


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

2009-06-13 Thread Pau
Hello,

thanks a _lot_

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

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

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

thanks,

Pau

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

 Hello,

 thanks for the hint. The legend worked very well.

 Nevertheless, I still have not understood what the equivalent in
 ConTeXt of LaTeX \ref{} --- \label{} is

 label is always an optional arg

 refs go like: \in{figure}[label] or \at{page}[label]



 ---
 \begin{equation}
 1 + 1 = 2
 \label{eq.1}
 \end{equation}

 In Eq. \ref{eq.1}, we show that one plus one equals two

 

 How would you write that in ConTeXt?

 \placeformula[label]
  \startformula
   .
  \stopformula

 And for a figure?

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

 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -




-- 
Let there be peace on earth. And let it begin with misc
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


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

2009-06-13 Thread Pau
Thanks again!

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

Thank you very much for the hint

Pau

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

 Hello,

 thanks a _lot_

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

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

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

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

 Hans


 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -




-- 
Let there be peace on earth. And let it begin with misc
___
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] label, caption and eps in figures?

2009-06-12 Thread Pau
Hello,

I am struggling to get something equivalent to this in ConTeXt:

-
\begin{figure}
\resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip]
{MyFigure.eps}}
\caption{My Caption
\label{fig.mylabel}
}
\end{figure}
-

I am especially having difficulties with caption (I would need a bold
Fig. 1 on it) and with the label. \ref{fig.mylabel} is not
recognised (see below).

Also, texexec seems to not understand the eps format

The closest I have got is this:

-
\placeexternalfigure{\externalfigure[MyFigure][label=fig.mylabel,factor=broad,method=eps]
\addlegendentry{My Caption}
}
-

Any help will be appreciated a lot

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

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


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

2009-06-12 Thread Pau
Hello,

thanks for the hint. The legend worked very well.

Nevertheless, I still have not understood what the equivalent in
ConTeXt of LaTeX \ref{} --- \label{} is

---
\begin{equation}
1 + 1 = 2
\label{eq.1}
\end{equation}

In Eq. \ref{eq.1}, we show that one plus one equals two


How would you write that in ConTeXt?

And for a figure?

thanks for your patience,

Pau


 Fig. 1 on it) and with the label. \ref{fig.mylabel} is not
 recognised (see below).


 \setuplabeltext[en][figure=Fig. ]

 \starttext

 \placefigure
    [fig.MyCaption]
    {My Caption}
    {\externalfigure[MyFigure.eps][factor=broad]}

 \stoptext




-- 
Let there be peace on earth. And let it begin with misc
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Inverted exclamation / question marks

2009-02-19 Thread Pau
Hello,

thanks to all of you for your answers. Yes, it seems to be an encoding problem.
After using \enableregime[latin1] in the preamble, the characters are
fixed, but I would like to understand the problem of the encoding.

If I open the file with nvi or vim, I can see the characters
displayed correctly in the terminal with the default encodings. Now,
if I add this to my vimrc:

set encoding=utf-8
set termencoding=utf-8

then I get strange symbols when writing, instead of the accents like
á instead of á (now the question is what you see!)

I will do a bit more of research, because I see a potential source of
problems here...

Thanks to all,

Pau

2009/2/19 Taco Hoekwater t...@elvenkind.com:
 Pau wrote:

 Can you please try this?

 
 \language[es]
 \mainlanguage[es]
 \enableregime[utf-8]
 \starttext
 ¡Hola! ¿Me ves bien?
 \stoptext
 

 Works fine here: ConTeXt  ver: 2009.02.06 19:27,
 pdftex 1.49.9 as well as luatex trunk

 Best wishes,
 Taco






-- 
Let there be peace on earth. And let it begin with misc
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Inverted exclamation / question marks

2009-02-19 Thread Pau
This seems to be doing it for vim:

set fileencodings=ucs-bom,utf-8,latin1

The already recorded characters are displayed correctly and I can also
use accents etc in vim.

But, still, I seem to still need \enableregime[latin1] in the
preamble. When I comment it out:

! Improper alphabetic constant.
to be read again
   \blank
\utffouruniglph @b *(`#2-\...@g )+\...@a *(`#3
  -\...@g )+`#4-\...@g \relax }
l.68   \blank[
  5cm]  ...

Pau


2009/2/19 Pau vim.u...@googlemail.com:
 Hello,

 thanks to all of you for your answers. Yes, it seems to be an encoding 
 problem.
 After using \enableregime[latin1] in the preamble, the characters are
 fixed, but I would like to understand the problem of the encoding.

 If I open the file with nvi or vim, I can see the characters
 displayed correctly in the terminal with the default encodings. Now,
 if I add this to my vimrc:

 set encoding=utf-8
 set termencoding=utf-8

 then I get strange symbols when writing, instead of the accents like
 á instead of á (now the question is what you see!)

 I will do a bit more of research, because I see a potential source of
 problems here...

 Thanks to all,

 Pau

 2009/2/19 Taco Hoekwater t...@elvenkind.com:
 Pau wrote:

 Can you please try this?

 
 \language[es]
 \mainlanguage[es]
 \enableregime[utf-8]
 \starttext
 ¡Hola! ¿Me ves bien?
 \stoptext
 

 Works fine here: ConTeXt  ver: 2009.02.06 19:27,
 pdftex 1.49.9 as well as luatex trunk

 Best wishes,
 Taco






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




-- 
Let there be peace on earth. And let it begin with misc
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Inverted exclamation / question marks

2009-02-18 Thread Pau
Hello,

I am trying to write a text in Castillian and I don't get the inverted
exclamation symbol right. I am using

\language[es]
\mainlanguage[es]

in the preamble and I also tried playing with utf without success.
Instead of ¡ and ¿ I get an a with a cedilla and a pound symbol,
respectively

Of course, I can use {!`} and {?`}, but I was wondering why I don't
get these right using \language

I have done my homework and have googled, yahoo'ed and even clustied

hint?

thanks,

Pau
___
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] Inverted exclamation / question marks

2009-02-18 Thread Pau
Can you please try this?


\language[es]
\mainlanguage[es]
\enableregime[utf-8]
\starttext
¡Hola! ¿Me ves bien?
\stoptext


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


Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-29 Thread Pau
thanks for the answer; unfortunately it does not work; it protests
about a runaway argument...

If somebody has a fix for this, please let me know as soon as possible

Pau

2009/1/29 J.A.J. Pater jajpa...@gmail.com:
 \citep[see][]{jon90} --(see Jones et al., 1990)
 \citep[see][chap. 2]{jon90} --(see Jones et al., 1990,
 chap. 2)

 I guess you could do that with

 \def\citep[#1][#2][#3]{#1\ \citealt[#3], #2}

 or something like that...

 Guess it would be nice to have all natbib commands in a macro-file.
 And add that to the wiki.

 Adriaan

 On Thu, 29 Jan 2009, Pau wrote:

 nice!

 I have defined this to \def\citealt{\cite[left=,right=]}
 for the equivalent

 what's the equivalent in ConTeXt of citep??

 What is \citep supposed to do?

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




-- 
Let there be peace on earth. And let it begin with misc
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Bibtex problems

2009-01-28 Thread Pau
I don't know why, but doing this:

\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=cole]
%\setuppublications[numbering=yes, sort=author, criterium=all]

and then

\completepublications

then cleaning the garbage,

rm *mp* GW2.bib GW2.blg GW2.log GW2.bbl GW2.aux GW2.tmp GW2.tui GW2.tuo

fixed it...

anyway... I hope this helps somebody

Pau



2009/1/27 Pau vim.u...@googlemail.com:
 Hello,

 I have followed the indications of the wiki. In my document, I have:


 \usemodule[bib]
 \usemodule[bibltx]
 \setupbibtex[database=cole]
 \setuppublications[numbering=yes, sort=author, criterium=all]

 where cole.bib contains entries such as

 ---
 @ARTICLE{Baker07,
   author = {{Baker}, J.~G. and {Boggs}, W.~D. and {Centrella}, J. and
 {Kelly}, B.~J. and
{McWilliams}, S.~T. and {Miller}, M.~C. and {van Meter}, J.~R.
},
title = {Modeling Kicks from the Merger of Nonprecessing Black
 Hole Binaries},
  journal = {Astrophysical Journal},
   eprint = {arXiv:astro-ph/0702390},
  keywords = {Black Hole Physics, Galaxies: Nuclei, Gravitational
 Waves, Relativity},
 year = 2007,
month = oct,
   volume = 668,
pages = {1140-1144},
  doi = {10.1086/521330},
   adsurl = {http://adsabs.harvard.edu/abs/2007ApJ...668.1140B},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
 }

 @ARTICLE{Baker08,
   author = {{Baker}, J.~G. and {Boggs}, W.~D. and {Centrella}, J. and
 {Kelly}, B.~J. and
{McWilliams}, S.~T. and {Miller}, M.~C. and {van Meter}, J.~R.
},
title = {Modeling Kicks from the Merger of Generic Black Hole Binaries},
  journal = {Astrophysical Journal},
 archivePrefix = arXiv,
   eprint = {0802.0416},
  keywords = {Black Hole Physics, Galaxies: Nuclei, Gravitational
 Waves, Relativity},
 year = 2008,
month = jul,
   volume = 682,
pages = {L29-L32},
  doi = {10.1086/590927},
   adsurl = {http://adsabs.harvard.edu/abs/2008ApJ...682L..29B},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
 }
 ---

 Later in the ConTeXt document, I have

 \completepublications[criterium=all]

 Nevertheless, when I try to texexec it, I get:

 --
 Completed box being shipped out [11.10]
 Memory usage before: 12219652992; after: 3054650077; still untouched: 
 2428943

 title   : - References
 ! Undefined control sequence.
 \@@p...@journal -\apj

 argument ... \it \csname @@p...@journal\endcsname
  \egroup
 \firstoftwoarguments #1#2-#1

 \@@pvdataarticle ... } {\insertcrossref {In }{}{}}
  \insertvolume {, } {\inser...

 \dotypesetapublication ...ve {\getvalue {pbdt-#1}}
  \fi \egroup
 argument ...etapublication {2007ApJ...668.1140B}
  \strut
 ...
 l.906 \completepublications[criterium=all]
 ?
 ---

 \apj is the shortcut used in bibtex for Astrophysical Journal but, as
 you can see, I have substituted it for the full name everywhere in the
 cole.bib file

 As a matter of fact, and just in case of,

 grep 'apj' GW2.tex

 and

 grep 'apj' cole.bib

 yield nothing


 A bit more of information: This is

 spree(p3)| uname -a
 OpenBSD spree 4.4 GENERIC#1638 i386

 and

 spree(p3)| texexec -v
 TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

 The full output of texexec follows below. As you can see, there are a
 lot of warnings, but they look as they look when in LaTeX I compile
 for the first time the document. The warnings disappear when I
 recompile it, because it needs a second time. I'm not sure of the
 meaning in ConTeXt.

 Any hint?

 Help will be appreciated

 Pau

 -
 spree(p3)| texexec GW2.tex
 TeXExec | processing document 'GW2.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file GW2.top
 TeXExec | using randomseed 534
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en
 This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
  %-line parsing enabled.
  (/usr/local/share/texmf/web2c/natural.tcx)
 entering extended mode
 (./GW2.tex

 ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2009.1.13  int: english/english

 language: language en is active
 system  : cont-new loaded
 (/usr/local/share/texmf-dist/tex/context/base/cont-new.tex
 systems : beware: some patches loaded from cont-new.tex
 (/usr/local/share/texmf-dist/tex/context/base/cont-new.mkii)
 (/usr/local/share/texmf-dist/tex/context/base/cont-mtx.tex))
 system  : cont-old loaded
 (/usr/local/share/texmf-dist/tex/context/base/cont-old.tex
 loading : Context Old Macros
 )
 system  : cont-fil loaded

Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-28 Thread Pau
nice!

I have defined this to \def\citealt{\cite[left=,right=]}
for the equivalent

what's the equivalent in ConTeXt of citep??



2009/1/29 Aditya Mahajan adit...@umich.edu:
 On Wed, 28 Jan 2009, J.A.J. Pater wrote:

 I think I've got it.

 The macro should be: \def\onlinecite[#1]{\cite[left=,right=][#1]}
 - with [] around the first #1
 now \onlinecite[myRef] works

 You can remove the redunent [#1] from both sides.

 \def\onlinecite{\cite[left=,right=]}

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




-- 
Let there be peace on earth. And let it begin with misc
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Bibtex problems

2009-01-27 Thread Pau
Hello,

I have followed the indications of the wiki. In my document, I have:


\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=cole]
\setuppublications[numbering=yes, sort=author, criterium=all]

where cole.bib contains entries such as

---
@ARTICLE{Baker07,
   author = {{Baker}, J.~G. and {Boggs}, W.~D. and {Centrella}, J. and
{Kelly}, B.~J. and
{McWilliams}, S.~T. and {Miller}, M.~C. and {van Meter}, J.~R.
},
title = {Modeling Kicks from the Merger of Nonprecessing Black
Hole Binaries},
  journal = {Astrophysical Journal},
   eprint = {arXiv:astro-ph/0702390},
 keywords = {Black Hole Physics, Galaxies: Nuclei, Gravitational
Waves, Relativity},
 year = 2007,
month = oct,
   volume = 668,
pages = {1140-1144},
  doi = {10.1086/521330},
   adsurl = {http://adsabs.harvard.edu/abs/2007ApJ...668.1140B},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

@ARTICLE{Baker08,
   author = {{Baker}, J.~G. and {Boggs}, W.~D. and {Centrella}, J. and
{Kelly}, B.~J. and
{McWilliams}, S.~T. and {Miller}, M.~C. and {van Meter}, J.~R.
},
title = {Modeling Kicks from the Merger of Generic Black Hole Binaries},
  journal = {Astrophysical Journal},
archivePrefix = arXiv,
   eprint = {0802.0416},
 keywords = {Black Hole Physics, Galaxies: Nuclei, Gravitational
Waves, Relativity},
 year = 2008,
month = jul,
   volume = 682,
pages = {L29-L32},
  doi = {10.1086/590927},
   adsurl = {http://adsabs.harvard.edu/abs/2008ApJ...682L..29B},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
---

Later in the ConTeXt document, I have

\completepublications[criterium=all]

Nevertheless, when I try to texexec it, I get:

--
Completed box being shipped out [11.10]
Memory usage before: 12219652992; after: 3054650077; still untouched: 2428943

title   : - References
! Undefined control sequence.
\@@p...@journal -\apj

argument ... \it \csname @@p...@journal\endcsname
  \egroup
\firstoftwoarguments #1#2-#1

\@@pvdataarticle ... } {\insertcrossref {In }{}{}}
  \insertvolume {, } {\inser...

\dotypesetapublication ...ve {\getvalue {pbdt-#1}}
  \fi \egroup
argument ...etapublication {2007ApJ...668.1140B}
  \strut
...
l.906 \completepublications[criterium=all]
?
---

\apj is the shortcut used in bibtex for Astrophysical Journal but, as
you can see, I have substituted it for the full name everywhere in the
cole.bib file

As a matter of fact, and just in case of,

grep 'apj' GW2.tex

and

grep 'apj' cole.bib

yield nothing


A bit more of information: This is

spree(p3)| uname -a
OpenBSD spree 4.4 GENERIC#1638 i386

and

spree(p3)| texexec -v
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

The full output of texexec follows below. As you can see, there are a
lot of warnings, but they look as they look when in LaTeX I compile
for the first time the document. The warnings disappear when I
recompile it, because it needs a second time. I'm not sure of the
meaning in ConTeXt.

Any hint?

Help will be appreciated

Pau

-
spree(p3)| texexec GW2.tex
TeXExec | processing document 'GW2.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file GW2.top
TeXExec | using randomseed 534
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %-line parsing enabled.
 (/usr/local/share/texmf/web2c/natural.tcx)
entering extended mode
(./GW2.tex

ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2009.1.13  int: english/english

language: language en is active
system  : cont-new loaded
(/usr/local/share/texmf-dist/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/local/share/texmf-dist/tex/context/base/cont-new.mkii)
(/usr/local/share/texmf-dist/tex/context/base/cont-mtx.tex))
system  : cont-old loaded
(/usr/local/share/texmf-dist/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/local/share/texmf-dist/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded
(/home/pau/treball/texinputs/cont-sys.tex
(/usr/local/share/texmf-dist/tex/context/base/type-tmf.tex)
(/usr/local/share/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/share/texmf-dist/tex/context/base/type-one.tex)
(/usr/local/share/texmf-dist/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns en

Re: [NTG-context] how to comment several lines at once ?

2008-07-03 Thread Pau
in vim(rc):

function! CommentTeX()
  map - :s/^/% /CR:nohlsearchCR
  map _ :s/^\s*% \=//CR:nohlsearchCR
  set comments=:%
endfunction

autocmd FileType tex   call CommentTeX()

This way, in visual you select the part of the document you want to
comment, then press -
and, voila, you get a % in fornt of every line. To uncomment, press _

2008/7/2 Diego Depaoli [EMAIL PROTECTED]:
 2008/7/2 Alan Stone [EMAIL PROTECTED]:
 Hi,

 Guess this is (Plain) TeX stuff - haven't found the answer...

 How do you comment several lines at once, instead of prefixing each line
 with the % sign ?
 in vim
 :A,Bs/^/%
 A=start line
 B=end line

 --
 Diego Depaoli
 ___
 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] (scientific) poster

2008-06-13 Thread Pau
Hi,

I have googled, looked in the pragma site etc for a template (style)
of an a0 poster. Doing this with latex is a bit of a nightmare and the
result is not very appealing.
I am looking for something in the size of a0 with embedded boxes with
plots, equations etc. If such a file existed and was to be found
somewhere I'd be grateful if you gave me a link.

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


[NTG-context] LaTeX maths with array...

2008-04-19 Thread Pau
Hi,

I am preparing an e-journal for astro and I have many articles with
lots of equations. Unfortunately, authors are using LaTeX maths and
this is giving me trouble.

I have read and followed the steps of

http://wiki.contextgarden.net/LaTeX_Math_in_ConTeXt

and

http://wiki.contextgarden.net/Math_with_newmat

and it has helped me a lot but there's a snag I run all the time in: array

Typically, the equation giving troubles is of the kind:

\begin{equation}
\begin{array}{rl}
h  \sim \mu M^{2/3}f^{2/3}/r\\
   \sim M_{ch}^{5/3}f^{2/3}/r\\
\end{array}
\end{equation}

when I try to compile, I get

! Misplaced alignment tab character .
l.484 h
\sim \mu M^{2/3}f^{2/3}/r\\

Of course, when I use

\startformula\eqalign{
h  \sim \mu M^{2/3}f^{2/3}/r   \cr
   \sim M_{ch}^{5/3}f^{2/3}/r  \cr
}\stopformula


everything runs smoothly but I cannot convert all equations containing
a {array}{rl} or similar, because I would never end... I guess that
writing a script to convert them in eqlign would be feasible, but it's
a very... precarious way... I would prefer to fix the problem from
ConTeXt itself...

how??

thanks,

Pau
___
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] LaTeX maths with array...

2008-04-19 Thread Pau
Thanks for the answer.

 The (now deprecated) amsl module provided something similar to LaTeX array. 
 Have you  tried using that part of the code?

yes, I followed exactly the steps of the wiki...

For now the only way of fixing this was to rewrite the arrays per
hand. But LaTeX compiles them, so that I don't think this was an error
from the author

... anyway...



2008/4/19, Aditya Mahajan [EMAIL PROTECTED]:
 On Sat, 19 Apr 2008, Pau wrote:


  Hi,
 
  I am preparing an e-journal for astro and I have many articles with
  lots of equations. Unfortunately, authors are using LaTeX maths and
  this is giving me trouble.
 
  I have read and followed the steps of
 
  http://wiki.contextgarden.net/LaTeX_Math_in_ConTeXt
 
  and
 
  http://wiki.contextgarden.net/Math_with_newmat
 
  and it has helped me a lot but there's a snag I run all the time in: array
 
  Typically, the equation giving troubles is of the kind:
 
  \begin{equation}
  \begin{array}{rl}
  h  \sim \mu M^{2/3}f^{2/3}/r\\
\sim M_{ch}^{5/3}f^{2/3}/r\\
  \end{array}
  \end{equation}
 

  The correct way to translate array in ConTeXt is

  \startformula
   \startmatrix[align={right,left}]
\NC h \NC \sim \mu M^{2/3}f^{2/3}/r \NR
\NC   \NC \sim M_{ch}^{5/3} f^{2/3}/r \NR
  \stopmatrix
  \stopformula

  However, I think that the original input is wrong. The autor probably
 wanted to use split (or align), rather than array.



  when I try to compile, I get
 
  ! Misplaced alignment tab character .
  l.484 h
\sim \mu M^{2/3}f^{2/3}/r\\
 
  Of course, when I use
 
  \startformula\eqalign{
  h  \sim \mu M^{2/3}f^{2/3}/r   \cr
\sim M_{ch}^{5/3}f^{2/3}/r  \cr
  }\stopformula
 
 
  everything runs smoothly but I cannot convert all equations containing
  a {array}{rl} or similar, because I would never end... I guess that
  writing a script to convert them in eqlign would be feasible, but it's
  a very... precarious way... I would prefer to fix the problem from
  ConTeXt itself...
 
  how??
 

  Do you want ConTeXt to parse \begin{array}{...} ... \end{array} and typeset
 it? This is possible, but essentially involves rewritting array in ConTeXt,
 without any of the configuration options that ConTeXt provides.

  The (now deprecated) amsl module provided something similar to LaTeX array.
 Have you tried using that part of the code?

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


[NTG-context] using mag and myway

2008-04-15 Thread Pau
Hi,

I am worried because I would like to use mag-01 to write a document and
then upload it to the arxiv.org. Of course, I have a title for the document and
I would like to use it instead of having My Way written in the front page
(which nobody would understand)

I see that

-
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
-

I found this file on the net.  at

www.tug.org/teTeX/tetex-texmfdist/doc/context/base/mreadme.pdf

I see that it is (basically?) GPL.

Ok... now, in mag-01 I read that:

% This style is used for producing explanationary documents.
% Don't misuse it for other purposes, since it may confuse
% users. Don't change the title either, since it provides a
% way to categorize documents. Numbers are disabled in
% instances produced outside PRAGMA ADE.

Don't change the title either

?!?!

and

% These are reserved for PRAGMA-ADE, don't use them yourself!

% \setvariables[magazine][main=Tricky]
% \setvariables[magazine][main=Update]
% \setvariables[magazine][main=HOWTO]

% \setvariables[magazine][main=This Way]  % preludes to a/the manual
% \setvariables[magazine][main=A Better Way]  % dirty versus clean
% \setvariables[magazine][main=No Way]% how users should not do
% it
% \setvariables[magazine][main=Your Way]  % how users do it
% \setvariables[magazine][main=My Way]% how users do it
% \setvariables[magazine][main=Our Way]   % how we do things at
% pragma
% \setvariables[magazine][main=Their Way] % how to do latex things
% in context


What does this mean? Am I free to use the style but forced to write
My Way on the top of
it? Cannot I modify mag-01.tex, rename it to something which do not
lead to confusion (say JourDiffTitle.tex) and -of course leaving the
comments there- use it as I want?

Are the example tex files under the gpl or cannot one modify them?

I am asking to avoid posterior problems.

Thanks,

Pau
___
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] using mag and myway

2008-04-15 Thread Pau
Hi Hans,

Dank u!

That was a quick answer.

Also, thanks a lot for your software, and for making it free. You have
made true a lot of little perversions of mine which usually cost me
sweat and blood with latex (no offense please, your work is great,
this is just intented to be a nice little joke)

It's amazing to see how I get the same result with context in one line
(or even one command) when I needed something like 20 lines or so with
latex!

You have gained a new ardent context fan.

Pau


2008/4/15, Hans Hagen [EMAIL PROTECTED]:
 Pau wrote:

  Hi,
 
  I am worried because I would like to use mag-01 to write a document and
  then upload it to the arxiv.org. Of course, I have a title for the
 document and
  I would like to use it instead of having My Way written in the front
 page
  (which nobody would understand)
 
  I see that
 
  -
  %C This module is part of the \CONTEXT\ macro||package and is
  %C therefore copyrighted by \PRAGMA. See mreadme.pdf for
  %C details.
  -
 
  I found this file on the net.  at
 
 
 www.tug.org/teTeX/tetex-texmfdist/doc/context/base/mreadme.pdf
 
  I see that it is (basically?) GPL.
 
  Ok... now, in mag-01 I read that:
 
  % This style is used for producing explanationary documents.
  % Don't misuse it for other purposes, since it may confuse
  % users. Don't change the title either, since it provides a
  % way to categorize documents. Numbers are disabled in
  % instances produced outside PRAGMA ADE.
 
  Don't change the title either
 
  ?!?!
 
  and
 
  % These are reserved for PRAGMA-ADE, don't use them yourself!
 
  % \setvariables[magazine][main=Tricky]
  % \setvariables[magazine][main=Update]
  % \setvariables[magazine][main=HOWTO]
 
  % \setvariables[magazine][main=This Way]  % preludes
 to a/the manual
  % \setvariables[magazine][main=A Better Way]  % dirty versus clean
  % \setvariables[magazine][main=No Way]% how users should not do
  % it
  % \setvariables[magazine][main=Your Way]  % how users
 do it
  % \setvariables[magazine][main=My Way]% how users do it
  % \setvariables[magazine][main=Our Way]   % how we do
 things at
  % pragma
  % \setvariables[magazine][main=Their Way] % how to do
 latex things
  % in context
 
 
  What does this mean? Am I free to use the style but forced to write
  My Way on the top of
  it? Cannot I modify mag-01.tex, rename it to something which do not
  lead to confusion (say JourDiffTitle.tex) and -of course leaving the
  comments there- use it as I want?
 
  Are the example tex files under the gpl or cannot one modify them?
 

  it's just that we don't want confusion .. a context user expects a
 myway/yourway to be a kind of manual

  so, if you use one of the reserved titles, then it should preferaby be a
 kind of manual thing; often these end up on the garden or alongside modules

  i have no problem if you create a document using another title

  at the top of your document you can change the title using \setvariables so
 there is no real reason for a copy

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


[NTG-context] texexec s-pre-04.tex

2008-03-22 Thread Pau Amaro-Seoane
Hi,

I am a total newbie to ConTeXt; I have been playing with it since yesterday.

I am trying to modify a bit s-pre-04.tex but I have realised that I
cannot even compile it!

http://source.contextgarden.net/s-pre-04.tex

texexec s-pre-04.tex will yield
--
(.)
(/usr/local/share/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/share/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/share/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/share/texmf-dist/tex/context/base/type-akb.tex))
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated
interaction : active
system  : mark Topic defined [chapter]
system  : mark Topicnumber defined [chapternumber]
system  : mark Nopic defined [title]
system  : mark Nopicnumber defined [titlenumber]
system  : mark Subject defined [section]
system  : mark Subjectnumber defined [sectionnumber]
)
*^Cx
! Interruption.
--

Why is that?


Thanks,

Pau
___
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] texexec s-pre-04.tex

2008-03-22 Thread Pau Amaro-Seoane
Thanks for the quick answer!

Ok... now... for instance, how can I take the windows style and add
to it the progress bar of
colorful? I am trying to include in the presentation tex file some
bits of code from the style of colorful, but it is not working...

thanks in advance,

Pau

---
\usemodule[pre-windows]
\setuplayout[location=middle]

\setupcolors [state=start]
\definecolor [StepColor] [r=.6,g=.6] \definecolor[white][StepColor]
\setupinteractionbar
  [alternative=f,
   width=\textwidth,
   height=\bottomheight,
   distance=10pt,
   color=NoneColor,
   contrastcolor=StepColor]
\setupbottomtexts
  [\interactionbar]
\def\CloseButton
  {\button
 [width=\rightedgewidth,height=\bottomheight,offset=overlay,
  background=color,backgroundcolor=ExitColor,frame=off]
 {}%
 [CloseDocument]}
\setupbottomtexts
  [edge][][\CloseButton]

\TitlePage {Blablabla\\Pau Amaro-Seoane}

\page

\starttext

\switchtobodyfont[modern,40pt]

${\cal M}_{\bullet}=10^6M_{\odot}$

\page

o

\page

lili

\stoptext
---

   http://source.contextgarden.net/s-pre-04.tex
  
   texexec s-pre-04.tex will yield


 Presentation styles are modules and meant to be loaded in your
  document, the following example is from s-pre-04.

  \usemodule[pre-04] % pre-colorful

  \starttext

  \TitlePage{Title Page\\pre-colorfull}

  \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

  Save these lines in a new document and compile this document with
  texexec documentname. You could either use pre-04 or pre-colorful
  as arguments for \usemodule.

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

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

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