ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: website
@ 2004-10-06 17:35 Thomas A.Schmitz
  2004-10-06 18:46 ` website Hans Hagen
  2004-10-06 19:27 ` website Nikolai Weibull
  0 siblings, 2 replies; 11+ messages in thread
From: Thomas A.Schmitz @ 2004-10-06 17:35 UTC (permalink / raw)


Very tasteful new look, I like the colors (except for  the "links" 
page, the mauve doesn't go very well with the rest). One has to get 
used to the idea that a website is presented like a pdf document in 
sequential order, but the clean look is quite beautiful. Of course, I 
was impatient and downloaded the latest version, and now I get a couple 
errors when processing, but I hope can straighten that out. 
Congratulations, Hans, wonderful work!

Best

Thomas

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: website
  2004-10-06 17:35 website Thomas A.Schmitz
@ 2004-10-06 18:46 ` Hans Hagen
  2004-10-06 18:53   ` Thomas A.Schmitz
  2004-10-06 19:27 ` website Nikolai Weibull
  1 sibling, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2004-10-06 18:46 UTC (permalink / raw)


Thomas A.Schmitz wrote:

> Very tasteful new look, I like the colors (except for  the "links" page, 
> the mauve doesn't go very well with the rest). One has to get used to 
> the idea that a website is presented like a pdf document in sequential 
> order, but the clean look is quite beautiful. Of course, I was impatient 
> and downloaded the latest version, and now I get a couple errors when 
> processing, but I hope can straighten that out. Congratulations, Hans, 
> wonderful work!

what errors? i need to freeze the new version for tex live -)

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: website
  2004-10-06 18:46 ` website Hans Hagen
@ 2004-10-06 18:53   ` Thomas A.Schmitz
  2004-10-06 19:10     ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas A.Schmitz @ 2004-10-06 18:53 UTC (permalink / raw)


OK, this is not a real error, but the latest version keeps nagging for 
updates:


ConTeXt  ver: 2004.06.10  fmt: 2004.10.6  int: english  mes: english

systems        : pdfTeX version 111 -> please update

systems        : eTeX version 201 -> too old (bugs)

This looks more serious:

(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex
<unprotect 3> <unprotect 4>
system (E-TEX) : [line 2256] \ifcsname
<protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded

! Undefined control sequence.
<argument> \c!gebied
                      ={/Users/tas/}
\xprocesscommaitem #1,#2->\if ,#1
                                  ,\@EA \xprocesscommaitem \else \if 
]#1\@EAE...

\xdogetparameters #1]->\xprocesscommaitem #1,]
                                               ,\@relax@
\dosetupsystem [#1]->\getparameters [\??sv ][#1]
                                                 \setuprandomize 
[\@@svrandom...
l.5 \setupsystem[\c!gebied={/Users/tas/}]

! Undefined control sequence.
<argument> \c!gebied
                      ={/Users/tas/}
\xprocesscommaitem ...ocesscommaitem \else \if ]#1
                                                   \@EAEAEA 
\gobbleoneargumen...

\xdogetparameters #1]->\xprocesscommaitem #1,]
                                               ,\@relax@
\dosetupsystem [#1]->\getparameters [\??sv ][#1]
                                                 \setuprandomize 
[\@@svrandom...
l.5 \setupsystem[\c!gebied={/Users/tas/}]

! Undefined control sequence.
<argument> \c!gebied

\dosetvalue ...!internal!n \ifcsname \k!prefix! #2
                                                   \endcsname \let 
\c!interna...

\p!doassign ... \xshowassignerror \fi \fi {#2}{#3}
                                                   {#4}
\xprocesscommaitem ...@relax@ #1==\empty \@relax@
                                                   \@EAEAEA 
\xprocesscommaite...

\xdogetparameters #1]->\xprocesscommaitem #1,]
                                               ,\@relax@
\dosetupsystem [#1]->\getparameters [\??sv ][#1]
                                                 \setuprandomize 
[\@@svrandom...
l.5 \setupsystem[\c!gebied={/Users/tas/}]

! Undefined control sequence.
<argument> \c!gebied

\dosetvalue ...c!internal!y \@EA \def \csname #1#2
                                                   \fi \endcsname
\p!doassign ... \xshowassignerror \fi \fi {#2}{#3}
                                                   {#4}
\xprocesscommaitem ...@relax@ #1==\empty \@relax@
                                                   \@EAEAEA 
\xprocesscommaite...

\xdogetparameters #1]->\xprocesscommaitem #1,]
                                               ,\@relax@
\dosetupsystem [#1]->\getparameters [\??sv ][#1]
                                                 \setuprandomize 
[\@@svrandom...
l.5 \setupsystem[\c!gebied={/Users/tas/}]

Guess I'll have to either upgrade to the beta or downgrade to the last 
version; I hope I remembered to backup!

Best

Thomas

On Oct 6, 2004, at 8:46 PM, Hans Hagen wrote:

> Thomas A.Schmitz wrote:
>
>> Very tasteful new look, I like the colors (except for  the "links" 
>> page, the mauve doesn't go very well with the rest). One has to get 
>> used to the idea that a website is presented like a pdf document in 
>> sequential order, but the clean look is quite beautiful. Of course, I 
>> was impatient and downloaded the latest version, and now I get a 
>> couple errors when processing, but I hope can straighten that out. 
>> Congratulations, Hans, wonderful work!
>
> what errors? i need to freeze the new version for tex live -)
>
> 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
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: website
  2004-10-06 18:53   ` Thomas A.Schmitz
@ 2004-10-06 19:10     ` Hans Hagen
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2004-10-06 19:10 UTC (permalink / raw)


Thomas A.Schmitz wrote:

> systems        : pdfTeX version 111 -> please update
> 
> systems        : eTeX version 201 -> too old (bugs)

will disappear when you update -)

> This looks more serious:
> 
> (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex
> <unprotect 3> <unprotect 4>
> system (E-TEX) : [line 2256] \ifcsname
> <protect 4> <protect 3>)
> specials       : fdf loaded
> <unprotect 3> <protect 3>)
> specials       : fdf,tpd loaded
> 
> ! Undefined control sequence.
> <argument> \c!gebied

ok, no real problem, check your local cont-sys file for c! and v! 
constants and make 'm english

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: website
  2004-10-06 17:35 website Thomas A.Schmitz
  2004-10-06 18:46 ` website Hans Hagen
@ 2004-10-06 19:27 ` Nikolai Weibull
  2004-10-06 19:51   ` website Hans Hagen
  1 sibling, 1 reply; 11+ messages in thread
From: Nikolai Weibull @ 2004-10-06 19:27 UTC (permalink / raw)


* Thomas A.Schmitz <thomas.schmitz@uni-bonn.de> [Oct 06, 2004 19:50]:
> Very tasteful new look, I like the colors (except for  the "links"
> page, the mauve doesn't go very well with the rest).

Heh, I love those colors.  Nicest composition of them all actually.

Anyway, Hans:

"stand alone" is spelled "stand-alone", or, if you would like to steer
people into treating it as a single word, "standalone" (on the download
page 1)
	nikolai

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: website
  2004-10-06 19:27 ` website Nikolai Weibull
@ 2004-10-06 19:51   ` Hans Hagen
  2004-10-06 20:16     ` figuretext problem Matthias Weber
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2004-10-06 19:51 UTC (permalink / raw)


Nikolai Weibull wrote:


> "stand alone" is spelled "stand-alone", or, if you would like to steer
> people into treating it as a single word, "standalone" (on the download
> page 1)

ok, i've changed it in the xml source files; next time i generate the 
site it will be corrected

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* figuretext problem
  2004-10-06 19:51   ` website Hans Hagen
@ 2004-10-06 20:16     ` Matthias Weber
  2004-10-07  7:29       ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Matthias Weber @ 2004-10-06 20:16 UTC (permalink / raw)


Hello,

I was trying to use \startfiguretext to place a second graphics within 
the figuretext. This makes the main graphics disappear:

\starttext
  \startfiguretext
[left]
{none}
{\externalfigure[graph1][width=2.8in]}
text text more text
  \placefigure
    [here]
    {none}
    {\externalfigure[graph2][width=1.5in]}
\stopfiguretext
\stoptext


The result should look like



graph1           text
graph1           text
graph1           graph2
graph1           graph2

but graph1 1 doesn't show anymore (not even on another page).

Is this a mistake of mine, should I use something else (tables? -- 
never tried so far),
or a missing feature?

The new web site is great.  Now that I can see what the
manuals are about, I am condemned to try it all out. It has already 
cost me this afternoon :)

Matthias

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: figuretext problem
  2004-10-06 20:16     ` figuretext problem Matthias Weber
@ 2004-10-07  7:29       ` Hans Hagen
  2004-10-08  1:23         ` was: figuretext problem --- is: how to modify (presentation) styles Matthias Weber
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2004-10-07  7:29 UTC (permalink / raw)


Matthias Weber wrote:

> Hello,
> 
> I was trying to use \startfiguretext to place a second graphics within 
> the figuretext. This makes the main graphics disappear:
> 
> \starttext
>  \startfiguretext
> [left]
> {none}
> {\externalfigure[graph1][width=2.8in]}
> text text more text
>  \placefigure
>    [here]
>    {none}
>    {\externalfigure[graph2][width=1.5in]}
> \stopfiguretext
> \stoptext
> 
> 
> The result should look like
> 
> 
> 
> graph1           text
> graph1           text
> graph1           graph2
> graph1           graph2
> 
> but graph1 1 doesn't show anymore (not even on another page).
> 
> Is this a mistake of mine, should I use something else (tables? -- never 
> tried so far),
> or a missing feature?

You want the 'impossible': both use the figure floater so the first one 
is forgotten when the second is encountered; tables are a solution, or 
maybe:

\useMPlibrary[dum] \setupcolors[state=start]
\setuplayout[backspace=8cm,leftmargin=6cm,width=middle,cutspace=2cm]

\starttext

\placefigure
   [leftmargin,reset]
   {none}
   {\externalfigure[graph1][width=\leftmarginwidth]}

   \input ward

   \placefigure
     [here]
     {none}
     {\externalfigure[graph2][width=1.5in]}

   \input hawking

\stoptext
\useMPlibrary[dum] \setupcolors[state=start]
\setuplayout[backspace=8cm,leftmargin=6cm,width=middle,cutspace=2cm]

\starttext

\placefigure
   [leftmargin,reset]
   {none}
   {\externalfigure[graph1][width=\leftmarginwidth]}

   \input ward

   \placefigure
     [here]
     {none}
     {\externalfigure[graph2][width=1.5in]}

   \input hawking

\stoptext

> The new web site is great.  Now that I can see what the
> manuals are about, I am condemned to try it all out. It has already cost 
> me this afternoon :)

take a look at: details.pdf

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: was: figuretext problem --- is: how to modify (presentation) styles
  2004-10-07  7:29       ` Hans Hagen
@ 2004-10-08  1:23         ` Matthias Weber
  2004-10-08 13:05           ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Matthias Weber @ 2004-10-08  1:23 UTC (permalink / raw)


Thanks Hans, this was most helpful!

I have another question, though:
After looking at various 'built-in' documentation styles I am wondering 
about the best way
to modify one of these. I couldn't find any documentation besides how 
to use the
styles as they are. So, if I want to make (say) the "green style" blue 
and with smaller buttons,
are there setups for this? If yes, do I learn about these by looking at 
the source, or,  if no,
do I copy the source and try my best to mess around with it?


Matthias

On Oct 7, 2004, at 2:29 AM, Hans Hagen wrote:

> Matthias Weber wrote:
>
>> Hello,
>> I was trying to use \startfiguretext to place a second graphics 
>> within the figuretext. This makes the main graphics disappear:
>> \starttext
>>  \startfiguretext
>> [left]
>> {none}
>> {\externalfigure[graph1][width=2.8in]}
>> text text more text
>>  \placefigure
>>    [here]
>>    {none}
>>    {\externalfigure[graph2][width=1.5in]}
>> \stopfiguretext
>> \stoptext
>> The result should look like
>> graph1           text
>> graph1           text
>> graph1           graph2
>> graph1           graph2
>> but graph1 1 doesn't show anymore (not even on another page).
>> Is this a mistake of mine, should I use something else (tables? -- 
>> never tried so far),
>> or a missing feature?
>
> You want the 'impossible': both use the figure floater so the first 
> one is forgotten when the second is encountered; tables are a 
> solution, or maybe:
>
> \useMPlibrary[dum] \setupcolors[state=start]
> \setuplayout[backspace=8cm,leftmargin=6cm,width=middle,cutspace=2cm]
>
> \starttext
>
> \placefigure
>   [leftmargin,reset]
>   {none}
>   {\externalfigure[graph1][width=\leftmarginwidth]}
>
>   \input ward
>
>   \placefigure
>     [here]
>     {none}
>     {\externalfigure[graph2][width=1.5in]}
>
>   \input hawking
>
> \stoptext
> \useMPlibrary[dum] \setupcolors[state=start]
> \setuplayout[backspace=8cm,leftmargin=6cm,width=middle,cutspace=2cm]
>
> \starttext
>
> \placefigure
>   [leftmargin,reset]
>   {none}
>   {\externalfigure[graph1][width=\leftmarginwidth]}
>
>   \input ward
>
>   \placefigure
>     [here]
>     {none}
>     {\externalfigure[graph2][width=1.5in]}
>
>   \input hawking
>
> \stoptext
>
>> The new web site is great.  Now that I can see what the
>> manuals are about, I am condemned to try it all out. It has already 
>> cost me this afternoon :)
>
> take a look at: details.pdf
>
> 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
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: was: figuretext problem --- is: how to modify (presentation) styles
  2004-10-08  1:23         ` was: figuretext problem --- is: how to modify (presentation) styles Matthias Weber
@ 2004-10-08 13:05           ` Hans Hagen
  2004-10-08 17:16             ` Mojca Miklavec
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2004-10-08 13:05 UTC (permalink / raw)


Matthias Weber wrote:
> Thanks Hans, this was most helpful!
> 
> I have another question, though:
> After looking at various 'built-in' documentation styles I am wondering 
> about the best way
> to modify one of these. I couldn't find any documentation besides how to 
> use the
> styles as they are. So, if I want to make (say) the "green style" blue 
> and with smaller buttons,
> are there setups for this? If yes, do I learn about these by looking at 
> the source, or,  if no,
> do I copy the source and try my best to mess around with it?

just overload them in your own style:

yourstyle.tex :

\usemodule[pre-green]

.. your modufications ..


yourdocument.tex:

\environment yourstyle

.. the text ..


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: was: figuretext problem --- is: how to modify (presentation) styles
  2004-10-08 13:05           ` Hans Hagen
@ 2004-10-08 17:16             ` Mojca Miklavec
  0 siblings, 0 replies; 11+ messages in thread
From: Mojca Miklavec @ 2004-10-08 17:16 UTC (permalink / raw)




Hans Hagen wrote:
> Matthias Weber wrote:
> 
>> Thanks Hans, this was most helpful!
>>
>> I have another question, though:
>> After looking at various 'built-in' documentation styles I am 
>> wondering about the best way
>> to modify one of these. I couldn't find any documentation besides how 
>> to use the
>> styles as they are. So, if I want to make (say) the "green style" blue 
>> and with smaller buttons,
>> are there setups for this? If yes, do I learn about these by looking 
>> at the source, or,  if no,
>> do I copy the source and try my best to mess around with it?
> 
> 
> just overload them in your own style:
> 
> yourstyle.tex :
> 
> \usemodule[pre-green]
> 
> .. your modufications ..
> 
> 
> yourdocument.tex:
> 
> \environment yourstyle
> 
> .. the text ..

I didn't figure out yet how to know which s-pre-xx.tex defines which 
style, but if you want to use and modify the green one, take a look at 
s-pre-02.tex or even better: general/sources/s-pre-02.pdf at pragma-ade 
website. The documentation there is not visual (like in other manuals), 
but pretty self-evident for someone with at least some minimal 
experience with ConTeXt.

To change the background color, after finding the following line in 
s-pre-02.tex:
    \definecolor [OrnamentColor]    [r= 0, g=.7, b=.4]

it is not difficult to guess that an additional line anywhere at the 
beginning of your document or style file, like:
    \definecolor [OrnamentColor]    [r= 0, g=.4, b=.7]
will change the color from green to blue.

To get smaller buttons, notice the \bottomheight used overall where the 
buttons are drawn. (In page-run.tex you can see that that 'bottom' is 
resposnsible to set the proper bottomheight.) So
    \setuplayout[bottom=.4cm]
should solve your problem. If you want to change the look of buttons 
more dramatically, simply copy and modify the lines:

\startuniqueMPgraphic{RightArrow}{height}
...
\stopuniqueMPgraphic

You can try to play with single portions of settings. A very beautiful 
thing in TeX is that one definition simply overloads the other, so it's 
not too difficult to modify a properly designed style.

Regards, Mojca Miklavec

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-10-08 17:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-06 17:35 website Thomas A.Schmitz
2004-10-06 18:46 ` website Hans Hagen
2004-10-06 18:53   ` Thomas A.Schmitz
2004-10-06 19:10     ` Hans Hagen
2004-10-06 19:27 ` website Nikolai Weibull
2004-10-06 19:51   ` website Hans Hagen
2004-10-06 20:16     ` figuretext problem Matthias Weber
2004-10-07  7:29       ` Hans Hagen
2004-10-08  1:23         ` was: figuretext problem --- is: how to modify (presentation) styles Matthias Weber
2004-10-08 13:05           ` Hans Hagen
2004-10-08 17:16             ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).