[NTG-context] (no subject)

2023-09-05 Thread Ursula Hermann
Dear List,

After compiling the following example, which is from February 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
 width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext





I get:
Command Line:   context.exe --synctex=-1 "blackrule1.tex"
Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive


resolvers   | formats | executing runner 'run luametatex format': 
luametatex --jobname="./blackrule1.tex" --socket --shell-escape 
--fmt=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
 
--lua=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
  --c:currentrun=1 --c:fulljobname="./blackrule1.tex" 
--c:input="./blackrule1.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" 
--c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin"
"\\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive"
CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet.
UNC-Pfade werden nicht untersttzt.
Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt.
system  >
system  > ConTeXt  ver: 2023.09.03 19:03 LMTX  fmt: 2023.9.4  int: 
english/english
system  >
system  > 'cont-new.mkxl' loaded
open source > level 1, order 1, name 
'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 1, order 1, name 
'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system  > files > jobname './blackrule1', input './blackrule1.tex', 
result './blackrule1'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
system  > synctex functionality is enabled, expect 5-10 pct runtime 
overhead!
runtime error : input file './blackrule1.tex' is not found, quitting
mtx-context | fatal error: return code: 1


_

ConTeXt Compilation Report (Pages: 0)

Errors: 0   Warnings: 0   Bad Boxes: 0
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

Re: [NTG-context] (No subject header)

2021-12-27 Thread Hans Hagen via ntg-context

On 12/27/2021 9:27 PM, Thomas Savary via ntg-context wrote:

Thanks, Hans, for your advice.

 > a probably more reliable solution is to 'remove bad stuff' from the
 > loaded font by running over the features and removing bad matches
 > (which is less sensitive for order)

I could edit the font features, indeed, but I run a GNU/Linux OS, and 
Fontforge cannot edit nor generate variable fonts. There seems to be a 
solution (https://www.youtube.com/watch?v=xoQuWARCUWI 
 ), but so far beyond my 
technical capabilities that I cannot consider it.


 > is that really a google font? afaik it doesn't originate there (unless
 > it among those things that google grabs - and at some point possible
 > discards)

Yes, it is, but not from the beginning. A great Garamond, the original 
font was designed by Georg Duffner. A few years ago, Google decided to 
make it a more complete font family : Octavio Pardo has done an 
excellent job with the bolder versions of EB Garamond and its conversion 
to a variable font. However, for whatever reasons, he did quite a rush 
job with the OpenType features ! Many essential features are lacking 
(despite the needed glyphs still being there), and most present features 
are poorly implemented, with a lot of typographic nonsense (concerning 
long s and long Q or the mentioned italic ligatures, for instance).


Strange, so basically only the shapes were taken an not the (in this 
case closely related features)?
https://fonts.google.com/specimen/EB+Garamond 



I will contact Google Fonts shortly to report on the dozens of problems 
I have encountered that make the unfixed new version of EB Garamond 
unusable for anything but the most basic uses.


Fortunately, my significantly more demanding needs for a client were met 
with the invaluable help from LuaTeX, but that won't be enough for my 
own projects, much more complex (facsimile of ancient editions), until 
Google improves this font.
So actually the old pre-google fonts from GD are better? Hopefully they 
then stay available someplace.


Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2021-09-08 Thread Marcus Vinicius Mesquita via ntg-context
Dear list,

Let's say we have two types of synonyms:

\definesynonyms[Abrev][Abrevs][\AbrevExp][\AbrevComp]
\definesynonyms[Rubrica][Rubricas][\RubricaExp][\RubricaComp]

Is it possible to combine them in a unique list of merged Abrevs and
Rubricas?

TIA

Marcus Vinicius

-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2021-07-18 Thread Wolfgang Schuster

T. Kurt Bond schrieb am 17.07.2021 um 08:38:

I have the following file:

\setupfloat[table][default=nonumber]

\starttext
\section[title={Tables without force}]

Here is a table without a caption, unforced.

\startplacetable[location=none]
   \bTABLE
   \bTR\bTD r1c1 \eTD\bTD r1c2\eTD\eTR
   \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR
   \eTABLE
\stopplacetable

Here is a table with a caption, unforced.

\startplacetable[title={Table With A Caption}]
   \bTABLE
   \bTR\bTD r1c1 \eTD\bTD r1c2\eTD\eTR
   \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR
   \eTABLE
\stopplacetable

This is after the table with a caption.


\section[title={Tables with force}]

Here is a table without a caption, forced.

\startplacetable[location={force,none}]
   \bTABLE
   \bTR\bTD r1c1 \eTD\bTD r1c2\eTD\eTR
   \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR
   \eTABLE
\stopplacetable

Here is a table with a caption, forced.

\startplacetable[title={Table With A Caption},location=force]
   \bTABLE
   \bTR\bTD r1c1 \eTD\bTD r1c2\eTD\eTR
   \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR
   \eTABLE
\stopplacetable

This is after the table with a caption.
\stoptext


The second pair of tables have force added.
[...]
Why does the last table have "Table 1", when there is a 
\setupfloat[table][default=nonumber]?


The default value is only used when you provide no arguments to the 
location key which isn't the case for your last table. To get rid of the 
counter add "nonumber" to the location argument, e.g.


\startplacetable[title=...,location={nonumber,force}]

but you can also disable the counter for all table floats with

\setupcaption [table] [number=no].

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2021-07-18 Thread Pablo Rodriguez
On 7/17/21 8:38 AM, T. Kurt Bond wrote:
> I have the following file:
>
> \setupfloat[table][default=nonumber]
>
> \starttext
> \startplacetable[title={Table With A Caption},location=force]
>   \bTABLE
>   \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR
>   \eTABLE
> \stopplacetable
> \stoptext
> [...]
> Why does the last table have "Table 1", when there is
> a \setupfloat[table][default=nonumber]?

Hi Kurt,

I think this might be what you intend:

   \setupcaption[table][number=no]

   \starttext
   \startplacetable[title={Table With A Caption},location=force]
 \bTABLE
 \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR
 \eTABLE
   \stopplacetable
   \stoptext

As to your quetsion, I have no idea why this happens.

Just in case it might help,

Pablo
--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
Hi,

Is there a way to have formula numbers showing all prefix segments?
When I use prefixsegments, I get the desired numbering in the placelist but
not in the formula number itself.

For example:
\starttext
\setupcaption[figure][way=bytext,prefixsegments=1:*]
\setupformulas[way=bytext,prefixsegments=1:*]
\startsection[title=Section]
\startsubsection[title=SubSection]
\startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure
\startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2
\stopformula \stopplaceformula
\stopsubsection
\stopsection
\placelistoffigures[criterium=all]
\placelist[formula][criterium=all]
\stoptext

The figure has number 1.1.1 and is in the list as 1.1.1, the formula has
number 1.1 but is listed as 1.1.1.
I would like to have the formula numbered 1.1.1 as well (as referenced in
the placelist), so with section and subsection numbering.

Adam
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2021-03-13 Thread Jano Kula
Hello!

On Sat, Mar 13, 2021 at 6:09 PM Jeroen  wrote:

> I have the following document, but I want a different
> \setuplayout[backspace] for the titlepage and copyright space. What is
> the best way to achieve this?
>

https://wiki.contextgarden.net/Layout
section Multiple layouts

J.
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2021-03-13 Thread Jeroen
I have the following document, but I want a different
\setuplayout[backspace] for the titlepage and copyright space. What is
the best way to achieve this?





\setupcolors
  [state=start]

\usecolors
  [xwi]

\usetypescriptfile
  [euler]

\definetypeface
  [mainface][rm][serif][pagella][default]

\definetypeface
  [mainface][tt][mono][dejavu][default]

\definetypeface
  [mainface][mm][math][pagellaovereuler][default]

\setupbodyfont
  [mainface,11.5pt]

\setuppapersize
  [A4,
   portrait]

\setuplayout
  [backspace=19mm,
   width=176mm,
   topspace=7mm,
   header=10mm,
   headerdistance=3mm,
   height=middle,
   footerdistance=5mm,
   footer=9mm,
   bottomspace=11mm]

\setuphead
  [chapter]
  [style={\bfb},
   before={\vskip 0mm},
   after={\vskip-\parskip}]

\setuphead
[section]
[style=bold,
   before={\vskip 6mm},
   after={\vskip 2mm}]

\setuppagenumbering
  [alternative=doublesided]

\setupheadertexts
  []

\setupfooter
  [style=\it]

\setupfootertexts
  [{Footer Title} \hfill \pagenumber]

\definemakeup
  [titlepage]
  [align=left]

\definemakeup
  [copyrightpage]

\setupmakeup
  [copyrightpage]
  [align={right,bottom},
   top=\vfill,
   pagestate=stop,
   style=smallbodyfont]

\definealternativestyle
  [authorstyle]
  [\rm\tfb]
  []

\definealternativestyle
  [titlestyle]
  [{\rm\bfd\color[red]}]
  []

\definealternativestyle
  [subtitlestyle]
  [\rm\tfb]
  []

\definealternativestyle
  [publisherstyle]
  [\rm\bfb]
  []


\starttext

\startmakeup[titlepage]
\authorstyle{The Author}
\blank[13*big]
\titlestyle{Title 1}
\blank[5*small]
\titlestyle{Title 2}
\blank[2*big]
\subtitlestyle{Subtitle}
\blank[47*big]
\publisherstyle{Publisher}
\stopmakeup

\startmakeup[copyrightpage]
Title \crlf
Subtitle
\blank
Geprint in Country. \crlf
Document Reference ABC-ABC-001. \crlf
Eerste draft versie, gepubliceerd op \date. \crlf
Dit document is getypset met \CONTEXT\ LMTX op Microsoft Windows 10.
\blank
\startalignment[flushmiddle]
Copyright \copyright\ 2021, Publisher. Alle rechten voorbehouden. \crlf
Niets uit deze uitgave mag worden verveelvoudigd, opgeslagen in een
geautomatiseerd gegevensbestand en/of openbaar gemaakt in enige vorm of op
enige wijze, hetzij elektronisch, mechanisch, door fotokopieën, opnamen of
op enige andere manier zonder voorafgaande schriftelijk bevestigde
toestemming van Publisher.
\stopalignment
\stopmakeup

\startcolumns[2]

\startchapter[title={Bryson and Tufte}]

\dorecurse{5}{
  \startsection[title={Bryson}] \input{bryson} \stopsection
  \startsection[title={Tufte}] \input{tufte} \stopsection}

\stopchapter

\startchapter[title={Zapf and Ward}]

\dorecurse{5}{
  \startsection[title={Zapf}] \input{zapf} \stopsection
  \startsection[title={Ward}] \input{ward} \stopsection}

\stopchapter

\stopcolumns

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2020-06-18 Thread Malte Frank Gerdes
I am rarely using mailing lists, so i hope that i do it right :).

Thanks for the help, Taco.

I added an entry to the Wiki, but i'm not sure if it is sufficient this
way and if it needs approval/review or something.

Malte
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2020-06-17 Thread Hans Hagen

On 6/17/2020 3:46 PM, Taco Hoekwater wrote:


Like this (an arrangement that uses two physical pages, that is
where the \poparrangedpagesAB and \arrangedpageA / \arrangedpageB
come from):

\installpagearrangement 1*4*reversed
   {\dosetuparrangement{2}{2}{4}{3}{3}% X,Y,Total,hcutmarks,vcutmarks
\pusharrangedpageFOURSINGLESIDEDFOLDEDREVERSED\poparrangedpagesAB\relax}

\def\pusharrangedpageFOURSINGLESIDEDFOLDEDREVERSED#1%
  {\advancearrangedpageN
   \reportarrangedpage\arrangedpageN
   \ifcase\arrangedpageN
   \or \handlearrangedpageXandY{#1}010\arrangedpageA %  1 rot,hskip,vskip
   \or \handlearrangedpageXandY{#1}111\arrangedpageA %  2
   \or \handlearrangedpageXandY{#1}101\arrangedpageA %  3
   \or \handlearrangedpageXandY{#1}000\arrangedpageA %  4
   \or \handlearrangedpageXandY{#1}000\arrangedpageB %  5
   \or \handlearrangedpageXandY{#1}010\arrangedpageB %  6
   \or \handlearrangedpageXandY{#1}001\arrangedpageB %  7
   \or \handlearrangedpageXandY{#1}011\arrangedpageB %  8
 \poparrangedpages
   \fi}

Best wishes,
Taco
You forgot to mention that the price to pay for this nice solution it 
that Malte needs to wikify it ...


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2020-06-17 Thread Taco Hoekwater

Like this (an arrangement that uses two physical pages, that is
where the \poparrangedpagesAB and \arrangedpageA / \arrangedpageB 
come from):

\installpagearrangement 1*4*reversed
  {\dosetuparrangement{2}{2}{4}{3}{3}% X,Y,Total,hcutmarks,vcutmarks
   \pusharrangedpageFOURSINGLESIDEDFOLDEDREVERSED\poparrangedpagesAB\relax}

\def\pusharrangedpageFOURSINGLESIDEDFOLDEDREVERSED#1%
 {\advancearrangedpageN
  \reportarrangedpage\arrangedpageN
  \ifcase\arrangedpageN
  \or \handlearrangedpageXandY{#1}010\arrangedpageA %  1 rot,hskip,vskip
  \or \handlearrangedpageXandY{#1}111\arrangedpageA %  2
  \or \handlearrangedpageXandY{#1}101\arrangedpageA %  3
  \or \handlearrangedpageXandY{#1}000\arrangedpageA %  4
  \or \handlearrangedpageXandY{#1}000\arrangedpageB %  5
  \or \handlearrangedpageXandY{#1}010\arrangedpageB %  6
  \or \handlearrangedpageXandY{#1}001\arrangedpageB %  7
  \or \handlearrangedpageXandY{#1}011\arrangedpageB %  8
\poparrangedpages
  \fi}

Best wishes,
Taco



> On 17 Jun 2020, at 13:31, Malte Frank Gerdes  wrote:
> 
> Hi,
> 
> I'm new to context and found this
> 
> ```
> \installpagearrangement 1*4*reversed
>   {\dosetuparrangement{2}{2}{4}{3}{3}% X,Y,Total,hcutmarks,vcutmarks
>
> \pusharrangedpageFOURSINGLESIDEDFOLDEDREVERSED\poparrangedpagesTWO\relax}
> 
> \def\pusharrangedpageFOURSINGLESIDEDFOLDEDREVERSED#1%
>  {\advancearrangedpageN
>   \reportarrangedpage\arrangedpageN
>   \ifcase\arrangedpageN
>   \or \handlearrangedpageXandY{#1}010\arrangedpageA %  1 rot,hskip,vskip
>   \or \handlearrangedpageXandY{#1}111\arrangedpageA %  2
>   \or \handlearrangedpageXandY{#1}101\arrangedpageA %  3
>   \or \handlearrangedpageXandY{#1}000\arrangedpageA %  4
> \poparrangedpages
>   \fi}
> 
> \setuppapersize [A10][A8]
> \setuparranging [1*4*reversed]
> \setuplayout[margin=0pt, width=fit]
> 
> \showframe
> 
> \starttext
> \dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
> \stoptext
> ```
> 
> imposition scheme in the garden wiki and tried it out. Now i noticed
> that this sets the imposition scheme for *every* page, but i would like
> to have a different scheme on the second page (1*4), how do i set that
> (if this is even possible)? 
> 
> The result should look like 
> 
> ```
> P4 P1
> R3 R2
> 
> P5 P6
> P7 P8
> ```
> 
> where 5-8 should be on the back of 1-4 (double sided).
> 
> Thanks in advacne for any help :)
> 
> Malte
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

Taco Hoekwater
Elvenkind BV




___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2020-06-17 Thread Malte Frank Gerdes
Hi,

I'm new to context and found this

```
\installpagearrangement 1*4*reversed
   {\dosetuparrangement{2}{2}{4}{3}{3}% X,Y,Total,hcutmarks,vcutmarks

\pusharrangedpageFOURSINGLESIDEDFOLDEDREVERSED\poparrangedpagesTWO\relax}

\def\pusharrangedpageFOURSINGLESIDEDFOLDEDREVERSED#1%
  {\advancearrangedpageN
   \reportarrangedpage\arrangedpageN
   \ifcase\arrangedpageN
   \or \handlearrangedpageXandY{#1}010\arrangedpageA %  1 rot,hskip,vskip
   \or \handlearrangedpageXandY{#1}111\arrangedpageA %  2
   \or \handlearrangedpageXandY{#1}101\arrangedpageA %  3
   \or \handlearrangedpageXandY{#1}000\arrangedpageA %  4
 \poparrangedpages
   \fi}

\setuppapersize [A10][A8]
\setuparranging [1*4*reversed]
\setuplayout[margin=0pt, width=fit]

\showframe

\starttext
\dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
\stoptext
```

imposition scheme in the garden wiki and tried it out. Now i noticed
that this sets the imposition scheme for *every* page, but i would like
to have a different scheme on the second page (1*4), how do i set that
(if this is even possible)? 

The result should look like 

```
P4 P1
R3 R2

P5 P6
P7 P8
```

where 5-8 should be on the back of 1-4 (double sided).

Thanks in advacne for any help :)

Malte
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2020-04-18 Thread Jairo A. del Rio
I've seen the following solution in Stack Exchange to add referenceable
enumeration labels to a framed enumeration environment:

https://tex.stackexchange.com/questions/438588/context-and-metafun-framed-enumeration-with-counter-as-part-of-overlay

It uses \wrappedcurrentconstruction. However, it only prints the counter
label and the counter name. What if I need the text enclosed by braces in
the frame header too? E. g. \starttheorem[thm1]{Residue theorem} so the
framed title includes "Residue theorem" also. Thank you in advance.
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2019-07-23 Thread Denis Maier
Hi,
I am typesetting a newsletter using newcolumnsets, and I am struggling with
placing my graphics. Why isn't the graphic on page 2 at the bottom (code
below)?
Best,
Denis

```
\usemodule[newcolumnsets,simulate]

\useMPlibrary[dum]

\setupbodyfont
[palatino]

\setuphead[section][style=\bfa\ss]

\setuplayout
[grid=yes]

\setuplayout
[backspace=20mm,
cutspace=15mm,
width=middle,
height=middle]

\setupsystem
[random=1234]

\setuppagenumbering [
alternative=,
location=,
]

\setupfootertexts
[Laubblatt 2019/1] [{\externalfigure[cow][height=15mm]}]

\setupfooter
[style=\ss]

\setuptolerance
[verytolerant,stretch]

\definecolor[color-1][.5(red,green)]
\definecolor[color-2][.5(green,blue)]
\definecolor[color-3][.5(blue,red)]
\definecolor[color-4][.5(white,black)]
\definecolor[color-5][.5(white,color-4)]

\startuniqueMPgraphic{frame}
fill OverlayBox withcolor \MPcolor{color-1} ;
\stopuniqueMPgraphic

\startuniqueMPgraphic{contrast}
fill OverlayBox withcolor \MPcolor{color-2} ;
\stopuniqueMPgraphic

\defineoverlay[frame]   [\uniqueMPgraphic{frame}]
\defineoverlay[contrast][\uniqueMPgraphic{contrast}]

\definecolumnset[example][n=2]

%\setupcolumnsetstart[example][1][1][2]
%\setupcolumnsetstart[example][1][2][4]
%\setupcolumnsetlines[example][1][1][-5]
%\setupcolumnsetlines[example][1][2][-5]



\definecolumnsetspan[wide] [n=2,
background=contrast,
color=white,
]


\starttext

\startcolumnset[example]



\startcolumnsetspan[wide]
\subject{Einleitung}
{\tfx\setupinterlinespace\em
\dorecurse{1}{\fakewords{50}{100}\par}
}
\stopcolumnsetspan

\placefigure [btrl,none]
{}
{
\externalfigure[placeholder][width=\columnsetspanwidth{1}]
}

\dorecurse{5}{\fakewords{50}{100}\par}

\placefigure [btrl,none]
{}
{
\externalfigure[placeholder][width=\columnsetspanwidth{2}]
}

\dorecurse{5}{\fakewords{50}{100}\par}

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2019-05-18 Thread Dmitry Starostin
Thank you for the instructions on how to make one's own style.

I only need to change the formatting in the bibliography list, the
formatting of the notes in the text is entirely up to the requirement.

A strange effect (full MWE in attachment):

\btxdoifelse {address} {
   {\btxspace \emdash \btxspace \btxflush{address} \btxcomma}
   }

   \btxdoifelse {year} {
  {\btxspace \btxflush{year} \btxperiod}
  }

gives "year 2000", but throw out the "address" part, and the year goes
straight without the 'year' part.

   \btxdoifelse {year} {
  {\btxspace \btxflush{year} \btxperiod}
  }

if you add publisher between the address and the year, then it says
"publisher Brill"

\btxdoifelse {publisher} {
{\btxspace \btxflush{publisher} \btxcomma}
}

Where does it pull it up from?


Context_bib.tex
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2019-04-04 Thread Hans Hagen

On 4/4/2019 9:30 PM, Dmitry Starostin wrote:

In terminal:

mtxrun --autogenerate --script context --autopdf Test.tex

->

resolvers       | initialization | fatal error: kpse library is accessed 
(key: default_texmfcnf)
this normally means that there is no file database ... context mkiv nor 
lmtx doesn't use kpse


Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2019-04-04 Thread Dmitry Starostin
In terminal:

mtxrun --autogenerate --script context --autopdf Test.tex

->

resolvers   | initialization | fatal error: kpse library is accessed
(key: default_texmfcnf)

All works from within TexShop.
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2019-03-22 Thread Dmitry Starostin
I started getting a bug, updated today and am still getting it. I hope
someone can at least make a note of it, if not provide a
suggestion/solution.

MWE included.

The bug is the 'incollection' and 'inbook' entries in the bibliography have
1. have page numbers in parentheses for apa and chicago 2. have no book
title.

It worked just a week ago.


Test_Context_html.tex
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2019-03-22 Thread Alan Braslau
On Fri, 22 Mar 2019 14:34:25 +0300
dstaros...@yandex.ru wrote:

> specification=chicago

Doesn't exist, hasn't been written...
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (no subject)

2019-03-22 Thread dstarostin
All worked well until recently, but suddenly 'incollection' and 'book' entries show up in the bibliography with pages in parentheses, which they should not do. A bug?

Test_Context_html.tex
Description: TeX document
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2019-01-04 Thread Hans Hagen

On 1/4/2019 1:39 AM, Lars wrote:

Hi there,

somehow floats that I place with keywords location=left or 
location=rightcreate a blank page first. Am I missing anything? I am 
sure that this wasn't the case before 19.12.2018. Right now I have the 
recent 03.01.2019 version.


My MWE and an image of the output:

i'll fix it


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] (no subject)

2019-01-03 Thread Lars

Hi there,

somehow floats that I place with keywords location=left or 
location=rightcreate a blank page first. Am I missing anything? I am 
sure that this wasn't the case before 19.12.2018. Right now I have the 
recent 03.01.2019 version.


My MWE and an image of the output:

\starttext

  \startplacefigure[
    title={Caption},
    location=left]
    \externalfigure[logo--context][width=]
  \stopplacefigure

  \input tufte

\stoptext


Greetings, Lars.


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (no subject)

2016-07-18 Thread Fabrice Couvreur
Hi Otared,
thanks, in fact, the placement of the \placerecipe{}{} in the text determines
the placement of the framed in the right margin if I understand.
Fabrice

2016-07-17 10:46 GMT+02:00 Otared Kavian :

> Hi Fabrice,
>
> If you want the framed box to be placed on the same baseline as the letter
> A, in the example, then you have to tell ConTeXt to place a margin material
> right after A, as in
>
>
> A\\ \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
> B \\ C
>
> and you can play with setupframed by choosing an option « low » or » high
> » according to your desire.
>
> Best regards: Otared
>
>
> > On 16 Jul 2016, at 23:23, Fabrice Couvreur 
> wrote:
> >
> > Hi Kavian,
> > Okay, but I do not understand why the top of the framed can not be on
> the baseline of the letter A.
> > Fabrice
> >
> > 2016-07-16 11:28 GMT+02:00 Otared Kavian :
> > Hi Fabrice,
> >
> > Indeed you can place your float a little bit higher in th emargin, as in
> the example below, by using the keyword « high ».
> >
> > Best regrads: Otared K.
> > % begin fabrice-inmargin.tex
> > \setuplayout
> >   [width=13cm,
> >rightmargin=5cm]
> >
> > \setupbodyfont[pagella,11pt]
> >
> > \definefloat
> >[recipe]
> >[figure]
> >
> > \setupfloat
> >[recipe]
> >[default={rightmargin,none,high}]
> >
> > \setupframed
> >   [frame=on,
> >width=\rightmarginwidth,
> >align=justify,
> >offset=2pt,
> >location=low,
> >rulethickness=1pt,
> >framecolor=darkred,
> >corner=00]
> >
> > \showgrid
> > \showframe
> >
> > \starttext
> >
> > A\\ B \\ C
> > \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
> >
> > \input ward.tex
> >
> > \setupfloat
> >[recipe]
> >[default={rightmargin,none,low}]
> >
> > A\\ B \\ C
> > \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
> >
> > \stoptext
> > % end fabrice-inmargin.tex
> >
> > > On 16 Jul 2016, at 00:44, Fabrice Couvreur <
> fabrice1.couvr...@gmail.com> wrote:
> > >
> > > Hi Kavian (your first name ?)
> > > Thank you for your suggestion but it is still a little problem: why
> the baseline of the framed is the thirdA and not the first ?
> > > thank you,
> > > Fabrice
> > >
> > > \useMPlibrary [dum]
> > >
> > > \setuplayout
> > >   [width=13cm,
> > >rightmargin=5cm]
> > >
> > >
> > > \setupbodyfont[pagella,11pt]
> > >
> > > \definefloat
> > >[recipe]
> > >[figure]
> > >
> > > \setupfloat
> > >[recipe]
> > >[default={rightmargin,none}]
> > >
> > > \setupframed
> > >   [frame=on,
> > >width=\rightmarginwidth,
> > >align=justify,
> > >offset=2pt,
> > >location=low,
> > >rulethickness=1pt,
> > >framecolor=darkred,
> > >corner=00]
> > >
> > > \starttext
> > >
> > > \showframe
> > >
> > >
> > > A\\A\\A
> > > \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
> > >
> > >
> > >
> > > \stoptext
> >
> >
> ___
> > If your question is of interest to others as well, please add an entry
> to the Wiki!
> >
> > maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> > archive  : http://foundry.supelec.fr/projects/contextrev/
> > wiki : http://contextgarden.net
> >
> ___
> >
> >
> ___
> > If your question is of interest to others as well, please add an entry
> to the Wiki!
> >
> > maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> > archive  : http://foundry.supelec.fr/projects/contextrev/
> > wiki : http://contextgarden.net
> >
> ___
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>
___
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] (no subject)

2016-07-17 Thread Otared Kavian
Hi Fabrice,

If you want the framed box to be placed on the same baseline as the letter A, 
in the example, then you have to tell ConTeXt to place a margin material right 
after A, as in


A\\ \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
B \\ C

and you can play with setupframed by choosing an option « low » or » high » 
according to your desire.

Best regards: Otared


> On 16 Jul 2016, at 23:23, Fabrice Couvreur  
> wrote:
> 
> Hi Kavian,
> Okay, but I do not understand why the top of the framed can not be on the 
> baseline of the letter A.
> Fabrice
> 
> 2016-07-16 11:28 GMT+02:00 Otared Kavian :
> Hi Fabrice,
> 
> Indeed you can place your float a little bit higher in th emargin, as in the 
> example below, by using the keyword « high ».
> 
> Best regrads: Otared K.
> % begin fabrice-inmargin.tex
> \setuplayout
>   [width=13cm,
>rightmargin=5cm]
> 
> \setupbodyfont[pagella,11pt]
> 
> \definefloat
>[recipe]
>[figure]
> 
> \setupfloat
>[recipe]
>[default={rightmargin,none,high}]
> 
> \setupframed
>   [frame=on,
>width=\rightmarginwidth,
>align=justify,
>offset=2pt,
>location=low,
>rulethickness=1pt,
>framecolor=darkred,
>corner=00]
> 
> \showgrid
> \showframe
> 
> \starttext
> 
> A\\ B \\ C
> \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
> 
> \input ward.tex
> 
> \setupfloat
>[recipe]
>[default={rightmargin,none,low}]
> 
> A\\ B \\ C
> \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
> 
> \stoptext
> % end fabrice-inmargin.tex
> 
> > On 16 Jul 2016, at 00:44, Fabrice Couvreur  
> > wrote:
> >
> > Hi Kavian (your first name ?)
> > Thank you for your suggestion but it is still a little problem: why the 
> > baseline of the framed is the thirdA and not the first ?
> > thank you,
> > Fabrice
> >
> > \useMPlibrary [dum]
> >
> > \setuplayout
> >   [width=13cm,
> >rightmargin=5cm]
> >
> >
> > \setupbodyfont[pagella,11pt]
> >
> > \definefloat
> >[recipe]
> >[figure]
> >
> > \setupfloat
> >[recipe]
> >[default={rightmargin,none}]
> >
> > \setupframed
> >   [frame=on,
> >width=\rightmarginwidth,
> >align=justify,
> >offset=2pt,
> >location=low,
> >rulethickness=1pt,
> >framecolor=darkred,
> >corner=00]
> >
> > \starttext
> >
> > \showframe
> >
> >
> > A\\A\\A
> > \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
> >
> >
> >
> > \stoptext
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

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

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

Re: [NTG-context] (no subject)

2016-07-16 Thread Fabrice Couvreur
Hi Kavian,
Okay, but I do not understand why the top of the framed can not be on the
baseline of the letter A.
Fabrice

2016-07-16 11:28 GMT+02:00 Otared Kavian :

> Hi Fabrice,
>
> Indeed you can place your float a little bit higher in th emargin, as in
> the example below, by using the keyword « high ».
>
> Best regrads: Otared K.
> % begin fabrice-inmargin.tex
> \setuplayout
>   [width=13cm,
>rightmargin=5cm]
>
> \setupbodyfont[pagella,11pt]
>
> \definefloat
>[recipe]
>[figure]
>
> \setupfloat
>[recipe]
>[default={rightmargin,none,high}]
>
> \setupframed
>   [frame=on,
>width=\rightmarginwidth,
>align=justify,
>offset=2pt,
>location=low,
>rulethickness=1pt,
>framecolor=darkred,
>corner=00]
>
> \showgrid
> \showframe
>
> \starttext
>
> A\\ B \\ C
> \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
>
> \input ward.tex
>
> \setupfloat
>[recipe]
>[default={rightmargin,none,low}]
>
> A\\ B \\ C
> \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
>
> \stoptext
> % end fabrice-inmargin.tex
>
> > On 16 Jul 2016, at 00:44, Fabrice Couvreur 
> wrote:
> >
> > Hi Kavian (your first name ?)
> > Thank you for your suggestion but it is still a little problem: why the
> baseline of the framed is the thirdA and not the first ?
> > thank you,
> > Fabrice
> >
> > \useMPlibrary [dum]
> >
> > \setuplayout
> >   [width=13cm,
> >rightmargin=5cm]
> >
> >
> > \setupbodyfont[pagella,11pt]
> >
> > \definefloat
> >[recipe]
> >[figure]
> >
> > \setupfloat
> >[recipe]
> >[default={rightmargin,none}]
> >
> > \setupframed
> >   [frame=on,
> >width=\rightmarginwidth,
> >align=justify,
> >offset=2pt,
> >location=low,
> >rulethickness=1pt,
> >framecolor=darkred,
> >corner=00]
> >
> > \starttext
> >
> > \showframe
> >
> >
> > A\\A\\A
> > \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
> >
> >
> >
> > \stoptext
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] (no subject)

2016-07-16 Thread Otared Kavian
Hi Fabrice,

Indeed you can place your float a little bit higher in th emargin, as in the 
example below, by using the keyword « high ».

Best regrads: Otared K.
% begin fabrice-inmargin.tex
\setuplayout
  [width=13cm,
   rightmargin=5cm]

\setupbodyfont[pagella,11pt]

\definefloat
   [recipe]
   [figure]
 
\setupfloat
   [recipe]
   [default={rightmargin,none,high}]

\setupframed
  [frame=on,
   width=\rightmarginwidth,
   align=justify,
   offset=2pt,
   location=low,
   rulethickness=1pt,
   framecolor=darkred,
   corner=00]

\showgrid
\showframe

\starttext

A\\ B \\ C
\placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}

\input ward.tex

\setupfloat
   [recipe]
   [default={rightmargin,none,low}]

A\\ B \\ C
\placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}

\stoptext
% end fabrice-inmargin.tex

> On 16 Jul 2016, at 00:44, Fabrice Couvreur  
> wrote:
> 
> Hi Kavian (your first name ?)
> Thank you for your suggestion but it is still a little problem: why the 
> baseline of the framed is the thirdA and not the first ?
> thank you,
> Fabrice
> 
> \useMPlibrary [dum]
> 
> \setuplayout
>   [width=13cm,
>rightmargin=5cm]
>   
> 
> \setupbodyfont[pagella,11pt]
> 
> \definefloat
>[recipe]
>[figure]
>  
> \setupfloat
>[recipe]
>[default={rightmargin,none}]
> 
> \setupframed
>   [frame=on,
>width=\rightmarginwidth,
>align=justify,
>offset=2pt,
>location=low,
>rulethickness=1pt,
>framecolor=darkred,
>corner=00]
> 
> \starttext
> 
> \showframe
> 
> 
> A\\A\\A
> \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}
> 
> 
> 
> \stoptext

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

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

Re: [NTG-context] (no subject)

2016-07-15 Thread Fabrice Couvreur
Hi Kavian (your first name ?)
Thank you for your suggestion but it is still a little problem: why the
baseline of the framed is the third A and not the first ?
thank you,
Fabrice

\useMPlibrary [dum]

\setuplayout
  [width=13cm,
   rightmargin=5cm]


\setupbodyfont[pagella,11pt]

\definefloat
   [recipe]
   [figure]

\setupfloat
   [recipe]
   [default={rightmargin,none}]

\setupframed
  [frame=on,
   width=\rightmarginwidth,
   align=justify,
   offset=2pt,
   location=low,
   rulethickness=1pt,
   framecolor=darkred,
   corner=00]

\starttext

\showframe


A\\A\\A
\placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}}



\stoptext



2016-07-15 18:51 GMT+02:00 Otared Kavian :

> Hi Fabrice,
>
> You can give an option to \framed, as in:
>
> \placerecipe{}{\framed[align=justify,offset=2pt]{La vie n'est pas un long
> fleuve tranquille !}}
>
> You may also (in the above example) replace « fleuve » by « fleu||ve » in
> order to get a hyphenation.
>
> Best regards: OK
>
> > On 15 Jul 2016, at 16:19, Fabrice Couvreur 
> wrote:
> >
> > Hi Wolfgang,
> > Thank you. Now I want the figures or boxes with text are automatically
> placed in the right margin. Is this the best way ?
> > How have justified text in the boxes ?
> > Fabrice
> >
> > 
> > \useMPlibrary [dum]
> >
> > \setuplayout
> >   [width=13cm,
> >rightmargin=5cm]
> >
> > \setupbodyfont[pagella,11pt]
> >
> > \definefloat
> >[recipe]
> >[figure]
> >
> > \setupfloat
> >[recipe]
> >[default={rightmargin,none}]
> >
> > \setupframed
> >   [frame=on,
> >width=\rightmarginwidth,
> >align=flushleft,
> >location=low,
> >rulethickness=1pt,
> >framecolor=blue,
> >corner=00]
> >
> > \starttext
> >
> > \showframe
> >
> > \placerecipe{}{\externalfigure [dummy] [width=\rightmarginwidth]}
> >
> > \placerecipe{}{\framed{La vie n'est pas un long fleuve tranquille !}}
> >
> > \stoptext
> > ###
> >
> >
> > 2016-07-15 13:26 GMT+02:00 Wolfgang Schuster <
> schuster.wolfg...@gmail.com>:
> >> Fabrice Couvreur 15. Juli 2016 um 13:17
> >>
> >> Hello everyone,
> >> The document
> https://drive.google.com/file/d/0B-mkD83s36jbREZmbGdPaGVHUDg/view?usp=sharing
> shows what I would do at the place reserved for the text and that reserved
> for comments, ratings ...
> >> Must use two columns or predefine the dimensions of the paper ?
> > Change the layout of the page, the blue boxes are margin texts.
> >
> > \setuplayout
> >   [width=13cm,
> >rightmargin=5cm]
> >
> > \showframe
> >
> > \starttext
> > \page[dummy]
> > \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
> >
> ___
> >
> >
> ___
> > If your question is of interest to others as well, please add an entry
> to the Wiki!
> >
> > maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> > archive  : http://foundry.supelec.fr/projects/contextrev/
> > wiki : http://contextgarden.net
> >
> ___
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] (no subject)

2016-07-15 Thread Otared Kavian
Hi Fabrice,

You can give an option to \framed, as in:

\placerecipe{}{\framed[align=justify,offset=2pt]{La vie n'est pas un long 
fleuve tranquille !}}

You may also (in the above example) replace « fleuve » by « fleu||ve » in order 
to get a hyphenation.

Best regards: OK

> On 15 Jul 2016, at 16:19, Fabrice Couvreur  
> wrote:
> 
> Hi Wolfgang,
> Thank you. Now I want the figures or boxes with text are automatically placed 
> in the right margin. Is this the best way ?
> How have justified text in the boxes ?
> Fabrice
> 
> 
> \useMPlibrary [dum]
> 
> \setuplayout
>   [width=13cm,
>rightmargin=5cm]
> 
> \setupbodyfont[pagella,11pt]
> 
> \definefloat
>[recipe]
>[figure]
>  
> \setupfloat
>[recipe]
>[default={rightmargin,none}]
> 
> \setupframed
>   [frame=on,
>width=\rightmarginwidth,
>align=flushleft,
>location=low,
>rulethickness=1pt,
>framecolor=blue,
>corner=00]
> 
> \starttext
> 
> \showframe
> 
> \placerecipe{}{\externalfigure [dummy] [width=\rightmarginwidth]}
> 
> \placerecipe{}{\framed{La vie n'est pas un long fleuve tranquille !}}
> 
> \stoptext
> ###
> 
> 
> 2016-07-15 13:26 GMT+02:00 Wolfgang Schuster :
>> Fabrice Couvreur 15. Juli 2016 um 13:17
>>  
>> Hello everyone,
>> The document 
>> https://drive.google.com/file/d/0B-mkD83s36jbREZmbGdPaGVHUDg/view?usp=sharing
>>  shows what I would do at the place reserved for the text and that reserved 
>> for comments, ratings ...
>> Must use two columns or predefine the dimensions of the paper ? 
> Change the layout of the page, the blue boxes are margin texts.
> 
> \setuplayout
>   [width=13cm,
>rightmargin=5cm]
> 
> \showframe
> 
> \starttext
> \page[dummy]
> \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
> ___
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

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

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

Re: [NTG-context] (no subject)

2016-07-15 Thread Fabrice Couvreur
Hi Wolfgang,
Thank you. Now I want the figures or boxes with text are automatically
placed in the right margin. Is this the best way ?
How have justified text in the boxes ?
Fabrice


\useMPlibrary [dum]

\setuplayout
  [width=13cm,
   rightmargin=5cm]

\setupbodyfont[pagella,11pt]

\definefloat
   [recipe]
   [figure]

\setupfloat
   [recipe]
   [default={rightmargin,none}]

\setupframed
  [frame=on,
   width=\rightmarginwidth,
   align=flushleft,
   location=low,
   rulethickness=1pt,
   framecolor=blue,
   corner=00]

\starttext

\showframe

\placerecipe{}{\externalfigure [dummy] [width=\rightmarginwidth]}

\placerecipe{}{\framed{La vie n'est pas un long fleuve tranquille !}}

\stoptext
###


2016-07-15 13:26 GMT+02:00 Wolfgang Schuster :

> Fabrice Couvreur 
> 15. Juli 2016 um 13:17
> Hello everyone,
> The document
> https://drive.google.com/file/d/0B-mkD83s36jbREZmbGdPaGVHUDg/view?usp=sharing 
> shows
> what I would do at the place reserved for the text and that reserved for
> comments, ratings ...
> Must use two columns or predefine the dimensions of the paper ?
>
> Change the layout of the page, the blue boxes are margin texts.
>
> \setuplayout
>   [width=13cm,
>rightmargin=5cm]
>
> \showframe
>
> \starttext
> \page[dummy]
> \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
>
> ___
>
___
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] (no subject)

2016-07-15 Thread Wolfgang Schuster

Fabrice Couvreur 
15. Juli 2016 um 13:17
Hello everyone,
The document 
https://drive.google.com/file/d/0B-mkD83s36jbREZmbGdPaGVHUDg/view?usp=sharing 
shows what I would do at the place reserved for the text and that 
reserved for comments, ratings ...

Must use two columns or predefine the dimensions of the paper ?

Change the layout of the page, the blue boxes are margin texts.

\setuplayout
  [width=13cm,
   rightmargin=5cm]

\showframe

\starttext
\page[dummy]
\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
___

[NTG-context] (no subject)

2016-07-15 Thread Fabrice Couvreur
Hello everyone,
The document
https://drive.google.com/file/d/0B-mkD83s36jbREZmbGdPaGVHUDg/view?usp=sharing
shows
what I would do at the place reserved for the text and that reserved for
comments, ratings ...
Must use two columns or predefine the dimensions of the paper ?
thanks,
Fabrice
___
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] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Sytse Knypstra

Thank you, Wolfgang,

I changed 'special' into another word and replaced 'incrementnumber=yes' 
by 'incrementnumber=list'.

But the result does still not reach my second goal:
my exercise numbers are still 1 and 1 instead of having chapter number 
prefixes (1.1 and 2.1).


Sytse

Sytse Knypstra 
30. November 2015 um 13:06
Dear list,



In the following minimal example I would like to have:

- the headings of \special in the toc, unnumbered

- in the text, the numbers of the exercises preceded by the chapter 
number

The first goal is achieved when uncommenting the two options under 
\setuphead,


the latter is achieved when uncommenting only the second option.
How can I realize both simultaneously ?


Thank you in advance,



Sytse

%%%

\definehead[special][subject]

Please use a different name because \special is a existing TeX command 
(but not used by ConTeXt MkIV).

\setuphead[special]

 [

%number=no,

%incrementnumber=yes,

]

Use only "incrementnumber=list".

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] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Wolfgang Schuster

Sytse Knypstra 
30. November 2015 um 13:06
Dear list,



In the following minimal example I would like to have:

- the headings of \special in the toc, unnumbered

- in the text, the numbers of the exercises preceded by the chapter 
number

The first goal is achieved when uncommenting the two options under 
\setuphead,


the latter is achieved when uncommenting only the second option.
How can I realize both simultaneously ?


Thank you in advance,



Sytse

%%%

\definehead[special][subject]

Please use a different name because \special is a existing TeX command 
(but not used by ConTeXt MkIV).

\setuphead[special]

 [

%number=no,

%incrementnumber=yes,

]

Use only "incrementnumber=list".

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

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

[NTG-context] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Sytse Knypstra

Dear list,



In the following minimal example I would like to have:

- the headings of \special in the toc, unnumbered

- in the text, the numbers of the exercises preceded by the chapter number

The first goal is achieved when uncommenting the two options under 
\setuphead,


the latter is achieved when uncommenting only the second option.
How can I realize both simultaneously ?


Thank you in advance,



Sytse

%%%

\definehead[special][subject]

\setuphead[special]

 [

%number=no,

%incrementnumber=yes,

]


\setuplist[special][]

\definecombinedlist[content][chapter,section,special]



\defineenumeration[exercise]

[
text={},
way=bychapter,

prefix=chapter,

] 


\starttext

\placecontent

\chapter{First chapter}

\section{First section}

\special{Exercises}

\startexercise

This is my first exercise

\stopexercise

\chapter{Second chapter}

\special{Remaining exercises}

\startexercise

   Second exercise

\stopexercise

\stoptext

%%%

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

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

[NTG-context] (no subject)

2014-10-13 Thread Fabrice Couvreur
hi,
In the following code, the default stopper is the point.

\starttext
\startitemize[columns,a,joinedup]
\item $f(0)$
\item $g(0,3)$
\item $f(\sqrt 2)$
\item $g(-4)$
\stopitemize
\stoptext

How to have a break ?
Best regards,
Fabrice
___
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] (no subject)

2014-01-28 Thread DesdeChaves
Some features of m-steps does not work in mkiv.
For example, I can not change colors and the shapes (first example), add
steps from the cell (n) to the cell (n+m, m=2,3,4...) and reverse steps.


\usemodule[steps,mathml]



\starttext
\startSTEPtable
\setupSTEPcells [alternative=5, framecolor=red]
\setupSTEPtexts [framecolor=green]
\setupSTEPlines [alternative=5]
\cell {initial concentration,  $C_i$}
\text {$\div C_f$, final concentration}
\cell {diluation factor, $f$}
\text {inverse}
\cell {$\frac{1}{f}$}
\text {$\times V_f$, volume of the volumetric flask}
\cell {pipette volume, $V_p$}
\stopSTEPtable


From the manual:


\startSTEPchart
\cell {A}
\cell {one} \texts{}{+2} \texts{}{+3}
\cell {two}
\cell {three} \texts{+4}{} \texts{+5}{}
\cell {four}
\cell {five}
\stopSTEPchart


\stoptext


Jorge
___
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] (no subject)

2013-10-11 Thread Xan
 On 2013–10–10 Xan wrote:
 
  ! Undefined control sequence.
  
  system   tex  error on line 28 in file 
  /home/xan/fems/proves-context/prova.tex: Undefined control sequence ...
  
  18   \starttikzpicture
  19 [decoration={
  20markings,
  21mark=
  22between positions 0 and 1 step 0.5
  23with {
  24 \draw (0,-2pt) -- (0,2pt);
  25}
  26  }
  27 ]
  28   \coordinate (F) at (0,0);
 
 I can reproduce it now. Funnily it works on my regular installation
 (same version). When I run it on a clean minimal installation I get
 the same error. No clue what's going on and I don't have much time
 to check at the moment.
 
 Marco

Perhaps anyone could see us with this minimal example.
Does anyone?

Thanks in advance,
Xan
___
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] (no subject)

2013-03-20 Thread Wolfgang Schuster

Am 20.03.2013 um 03:22 schrieb non-null hwit...@gmail.com:

 Here is a simple example:
 
 \starttext
 \startitemize[1,packed]  Introduction text to the list below.
 \item some item text1
 \item some item text2
 \stopitemize
 
 I want to be able to adjust the vertical white space between the list
 introduction text and the list of items.  How can this be
 accomplished?

\starttext
Introduction text to the list below.
\startitemize[1,packed,joinedup]
\item some item text1
\item some item text2
\stopitemize

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] (no subject)

2013-03-20 Thread Sietse Brouwer
non-null hwit...@gmail.com wrote:
 I want to be able to adjust the vertical white space between the list
 introduction text and the list of items.  How can this be
 accomplished?

Probably \setupitemgroup[itemize][before={\blank[0em]}] will do what
you want. For a complete list of parameters:
http://wiki.contextgarden.net/Command/setupitemgroup

\starttext

\setupitemgroup[itemize][before={\blank[0em]}]

\starttext
\startitemize[packed]
asdf asdf asdf asdf
\item asdf
\item asdf
\item asdf
\stopitemize
\stoptext

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

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


Re: [NTG-context] (no subject)

2013-03-20 Thread Sietse Brouwer
 This is more of a follow-up question than an answer: wouldn't
 \blank[nowhite] be better?

Quite possibly. When I read I want to be able to adjust the vertical
white space my mind went towards adding whitespace instead of
removing it, but that was just an assumption. I admit that I didn't
look up the original thread. :-)

Cheers,
Sietse

On 20 March 2013 13:09, Marcin Borkowski mb...@wmi.amu.edu.pl wrote:
 Dnia 2013-03-20, o godz. 12:35:11
 Sietse Brouwer sbbrou...@gmail.com napisał(a):

 non-null hwit...@gmail.com wrote:
  I want to be able to adjust the vertical white space between the
  list introduction text and the list of items.  How can this be
  accomplished?

 Probably \setupitemgroup[itemize][before={\blank[0em]}] will do what
 you want. For a complete list of parameters:
 http://wiki.contextgarden.net/Command/setupitemgroup

 This is more of a follow-up question than an answer: wouldn't
 \blank[nowhite] be better?

 Best,

 --
 Marcin Borkowski
 http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
 Adam Mickiewicz University
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!

 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] (no subject)

2013-01-23 Thread Taco hoekwater


Op 24 jan. 2013 om 01:59 heeft Alfredo Catalina 



User kicked off the list.

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

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


Re: [NTG-context] (no subject)

2012-12-03 Thread Taco Hoekwater

On 12/03/2012 10:34 AM, Peter Fiets wrote:

http://laptop-gadgets.com/wp-content/themes/twentyeleven/google.html


That subscriber is going away now ...
___
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] (no subject)

2012-03-18 Thread Alan Bowen
In placing the heads and subheads of indices, \index defaults to

Headlocator
Head
subheadlocator

I need to get the subhead without repeating the Head, as in
Headlocator
subheadlocator

How can I do this? Is there some documentation on this that I can read?

Alan
___
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] (no subject)

2011-09-10 Thread Honza Hejzl
Great, thanks, we are close to success.

I can see the pdf file but it is broken and the console seems like it wants
some next interaction:

/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1, subpage 1
pagesflushing realpage 2, userpage 2
pagesflushing realpage 3, userpage 3
pagesflushing realpage 4, userpage 4
pagesflushing realpage 5, userpage 5
))
*

Any suggestions?

Thanks. Honza
___
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] (no subject)

2011-03-01 Thread Tom
The following code seems to ignore both justification (to the extent that a
mono-spaced font could be justified) and the right margin. I recall seeing
something that deals with this problem somewhere but can't recall where.

\starttext
\tt 
Janet had gone away to get the bath ready, when my aunt, to my great alarm,
became in one moment rigid with indignation, and had hardly voice to cry
out, {\quotation Janet! Donkeys!}
Upon which, Janet came running up the stairs as if the house were in flames,
darted out on a little piece of green in front, and warned off two
saddle-donkeys, lady-ridden, that had presumed to set hoof upon it; while my
aunt, rushing out of the house, seized the bridle of a third animal laden
with a bestriding child, turned him, led him forth from those sacred
precincts, and boxed the ears of the unlucky urchin in attendance who had
dared to profane that hallowed ground.
\rm  
\stoptext


Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com





___
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] (no subject)

2010-04-18 Thread Tom
The following example computes page numbers correctly, places the correct
entries into the TOC, and produces the desired page headers on the first
pages of chapters. However, there are some things it doesn't do properly:

1. It puts headers on blank pages at the ends of chapters even after I
inserted the code that takes care of that problem.

2. It seems to ignore some commands or wait until the next chapter to
implement them. An example is the header on page vi. It's supposed to read
viContents

3. It seems that commands in the \startsectionenvironment  frontmatter block
are ignored or overridden by commands that are for the body part. That is
why I have so many setup commands ib the \starttext section.



%figure on left - chapter number and title on right
\def\MyChapterCommandM#1#2% #1 is number, #2 is text
   {\startfiguretext[left]{none}
 {\externalfigure[cow][width=.2\textwidth]}
 {\framed[frame=off,align=middle,width=broad]
 {\switchtobodyfont[15pt] #1\\\blank[small] #2}}
\stopfiguretext}

%no figure on left - chapter number and title on right
\def\MyFrontMatterCommandM#1#2% #1 is number, #2 is text
 {\framed[frame=off,align=middle,width=broad]
 {\switchtobodyfont[15pt] #1\\\blank[small] #2}}

%eliminate headers on blank page at end of chapter
\definepagebreak[mychapterpagebreak][yes,header,next]

%put pagenumber on bottom of first page of chapter
\definetext[chapter][footer][pagenumber]
\setuphead[chapter][header=high,footer=chapter,page=right]
\setuppagenumbering[location=]


\startsectionblockenvironment[frontpart]

\definehead[mycontenttitle][chapter]
\setuphead[mycontenttitle]
 [command=\MyFrontMatterCommandM, number=no,textstyle=\ss\bf,
header=empty,footer=empty,page=mychapterpagebreak,
  numbercommand=\ss\bf\em\tfd,after=\vskip 0.5in
\placeinitial  %comment out this line to eliminate drop capitals
] 

\stopsectionblockenvironment

\startsectionblockenvironment[bodypart]
\setupheadertexts
[chapter][pagenumber][pagenumber][Content Example]

\setuphead[chapter][page=mychapterpagebreak]

\setuphead[chapter]
 [command=\MyChapterCommandM,textstyle=\ss\bf,  
  header=empty,footer=empty,page=mychapterpagebreak,
  numbercommand=\ss\bf\em\tfd,after=\vskip 0.5in,before=\vskip 1.0in
\placeinitial  %comment out this line to eliminate drop capitals
] 

\stopsectionblockenvironment

\startsectionblockenvironment[appendix]

\setupsectionblock[appendix][page=appendicespagebreak] 

\stopsectionblockenvironment

\starttext 

\startfrontmatter

\setuppagenumbering[state=start,alternative=doublesided,conversion=romannume
rals]

Some random text to occupy front matter pages.
\blank[medium]
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\page[right]


%\starthiding
\setuphead[title]
 [command=\MyFrontMatterCommandM, number=no,textstyle=\ss\bf,
header=empty,footer=pagenumber,page=mychapterpagebreak,
  numbercommand=\ss\bf\em\tfd,after=\vskip 0.5in
\placeinitial  %comment out this line to eliminate drop capitals
] 
\setupheadertexts
[Contents][pagenumber][pagenumber][Contents]

\title{Content}

%\stophiding

%\mycontenttitle{Content}  %displays Contents but drops the TOC

\placecontent[alternative=c]

\blank[medium]
Random text added to push TOC onto a second page to test page headers.
\blank[medium]

\input knuth
\input knuth
\input knuth
\input knuth

\setupheadertexts
[chapter][pagenumber][pagenumber][Content Example]

\setuphead[chapter]
 [command=\MyFrontMatterCommandM, number=no,textstyle=\ss\bf,
header=empty,footer=pagenumber,page=mychapterpagebreak,
  numbercommand=\ss\bf\em\tfd,after=\vskip 0.5in
\placeinitial  %comment out this line to eliminate drop capitals
] 

\chapter{Preface}
\input knuth
\page[right]

%switch from lower case Roman numberals to Arabic numbers
\setuppagenumbering[state=start,alternative=doublesided,conversion=numbers]
\setuppagenumber[state=start,number=1]

\setuphead[chapter]
 [command=\MyChapterCommandM,textstyle=\ss\bf,
  header=empty,footer=pagenumber,page=mychapterpagebreak,
  numbercommand=\ss\bf\em\tfd,after=\vskip 0.5in,before=\vskip 1.0in
 \placeinitial  %comment out this line to eliminate drop capitals
] 

\chapter{Introduction}
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth

\stopfrontmatter

\startbodymatter

\chapter{Chapter One}
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth

\chapter{Chapter Two}
\input knuth
\stopbodymatter

\startappendices

\page[stop]

\stopappendices

\stoptext

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey






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

maillist : 

[NTG-context] (no subject)

2010-02-22 Thread Roger Mason
Hello,

I'm working on a project to set up exams, basing the work on Aditya's
asignment class that was published in Practex in 2006.

I have a problem getting title information printed correctly.  This is a
cut-down version:

\setupcolors  [state=start]
\definecolor  [colorone][r=0.625,g=0,b=0] %dark red
\definecolor  [colortwo][b=0.625,g=0,r=0] %dark blue

\def\exam[#1]
  {\getrawparameters
[Exam]
[ title=
 course=,
   date=,
  start=,
   stop=,
  #1]
  \title{\Examtitle}}

\definefont [BigFontOne]  [RegularSlanted sa 2.5]
\definefont [BigFontTwo]  [Regular sa 1.5]

\setuphead[title]
 [  style=\BigFontOne,
  command=\examtitle,
   before={},
after={\blank[big] \bgroup \colortwo
 Date: \expanded{\date[Examdate]}
\hfill
Start: \expanded{Examstart}
Stop: \expanded{Examstop}
   \egroup\blank},
 ]

%D This macro does the actual typesetting of the title
\def\examtitle#1#2%
  {\framed[
  width=broad,
  frame=off,
  align=middle,
foregroundcolor=colortwo,
 % I want a shadow around the title frame
 background=shadow]
  {#2\\{Examcourse}}}

\exam[
  title=Mid-term 2010,
  course=ES2917,
  date={d=17,m=2,y=2010},
  start={9:00 am},
  stop={11:00 am}
]

I'm processing this with Mark II.  The problems are that

(1) The literal 'Examcourse' is typeset;
(2) Today's date is typset, not the one entered in the interface;
(3) The start and stop times are typeset as literals 'Examstart' 
'Examstop'

Thanks for any help,
Roger


%%% Local Variables: 
%%% mode: context
%%% TeX-master: t
%%% End: 
___
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] (no subject)

2008-04-24 Thread richard . stephens
 I have consulted the manuals and even the source (core-con.tex) but I 
 cannot find a way of getting a three-letter month using the \date 
command.
 For example, I would like to display today's date as 23-Apr-08.  This 
 gives a short display suitable for use in a margin, but avoids the 
 confusion of American (04-23-08) vs English (23-04-08) ordering when 
using 
 numbers.
 Can anyone help?

These are available (sort of)

   \currentdate[day,--,{\monthshort\normalmonth},--,year] % lowercase

or

   \currentdate[day,--,{\MONTHSHORT\normalmonth},--,year] % uppercase


Thanks, Taco, that does the job for now. 
Now all we need is something called \Monthshort which puts the 
first letter in uppercase (Jan, Feb etc)!!!

Thanks,

Richard
___
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] (no subject)

2008-03-26 Thread Wolfgang Schuster
On Tue, Mar 25, 2008 at 7:27 PM, Horacio Suarez
[EMAIL PROTECTED] wrote:
 Hello all,

 I have a stupid cuestion:

 I´m making a long 12 pages table. I´m using \setupfootertexts for the
 pagenumber. I don´t want page numbers in the header at all.

 header=hight or header=empty in the \title setup is not enough, I still have
 a page number centered in the header.

 How can I supress the page number or the header totally in the whole
 document?

\setuppagenumbering[location=]

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

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

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


Re: [NTG-context] (no subject)

2008-03-26 Thread Horacio Suarez

thankyou very much Wolfgang y Peter.


Horacio Suarez
Editorial Antropofagia
www.eantropofagia.com.ar

 Date: Wed, 26 Mar 2008 08:14:10 +0100
 From: [EMAIL PROTECTED]
 To: ntg-context@ntg.nl
 Subject: Re: [NTG-context] (no subject)
 
 On Tue, Mar 25, 2008 at 7:27 PM, Horacio Suarez
 [EMAIL PROTECTED] wrote:
  Hello all,
 
  I have a stupid cuestion:
 
  I´m making a long 12 pages table. I´m using \setupfootertexts for the
  pagenumber. I don´t want page numbers in the header at all.
 
  header=hight or header=empty in the \title setup is not enough, I still have
  a page number centered in the header.
 
  How can I supress the page number or the header totally in the whole
  document?
 
 \setuppagenumbering[location=]
 
 \starttext
 \dorecurse{10}{\input knuth\par}
 \stoptext
 
 Wolfgang
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE___
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] (no subject)

2008-03-25 Thread Horacio Suarez

Hello all,

I have a stupid cuestion:

I´m making a long 12 pages table. I´m using \setupfootertexts for the 
pagenumber. I don´t want page numbers in the header at all.

header=hight or header=empty in the \title setup is not enough, I still have a 
page number centered in the header.

How can I supress the page number or the header totally in the whole document?

Thankyou in advance.



Horacio Suarez
Editorial Antropofagia
www.eantropofagia.com.ar
_
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vistamkt=en-USform=QBRE___
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] (no subject)

2008-03-25 Thread Peter Rolf
Hi Horacio,

Horacio Suarez schrieb:
 Hello all,
 
 I have a stupid cuestion:
 
 I´m making a long 12 pages table. I´m using \setupfootertexts for the 
 pagenumber. I don´t want page numbers in the header at all.
 
 header=hight or header=empty in the \title setup is not enough, I still 
 have a page number centered in the header.
 
 How can I supress the page number or the header totally in the whole 
 document?

you can try

\setupheadertexts[]

I guess you have already looked at
http://wiki.contextgarden.net/Headers_and_Footers

[and please use a subject next time]

Best wishes, Peter

 Thankyou in advance.
 
 
 
 Horacio Suarez
 Editorial Antropofagia
 www.eantropofagia.com.ar
 
 Discover the new Windows Vista Learn more! 
 http://search.msn.com/results.aspx?q=windows+vistamkt=en-USform=QBRE
 
 
 
 
 ___
 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] (no subject)

2007-01-29 Thread NY Park
HI Update 2007.1.24 in OSX
but when i texexec -pdf test.tex
next error massage why???
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))
bodyfont : 12pt rm is loaded
kpathsea: Running mktextfm lmmi7
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface 
abbreviation mm for lmmi7.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update 
/usr/local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input lmmi7
This is METAFONT, Version 2.71828 (Web2C 7.5.5)
kpathsea: Running mktexmf lmmi7
! I can't find file `lmmi7'.
lt;* ...e:=ljfour; mag:=1; nonstopmode; input lmmi7
 
Please type another input file name
! Emergency stop.
lt;* ...e:=ljfour; mag:=1; nonstopmode; input lmmi7
 
Transcript written on mfput.log.
grep: lmmi7.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
lmmi7' failed to make lmmi7.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \*7ptmmmirm*=lmmi7 not loadable: Metric (TFM) file not found.
 
 \relax 
\xxdododefinefont ...tspec {#4}\newfontidentifier 
 \let \localrelativefontsiz...
\dodosetmathfamilyA ...amily \fontsize \endcsname 
 \else \ifcsname \fontbody ...
\dosetmathfamily ...athfamily \scriptscriptfont #1
 \let \fontbody #3\dodosetm...
 ...\scriptscriptface \c!mi \empty 
 \dosetmathfamily \syfam \t...
\synchronizemath ...athfonts \the \mathstrategies 
 \fi 
...
l.1 
 
\starttext 
This Test
\stoptext
?
새로운 기부문화의 씨앗, 해피빈
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] (no subject)

2007-01-29 Thread Mojca Miklavec
On 1/28/07, 박내엽(NY Park) wrote:

 HI Update 2007.1.24 in OSX
 but when i  texexec -pdf test.tex
 next error massage why???

 (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))
 bodyfont: 12pt rm is loaded
 kpathsea: Running mktextfm lmmi7

/etc./

I can't assure you that everything will be fixed, but you really need
to upgrade to TeXLive-based instead of tetex-based installation. See
http://wiki.contextgarden.net/Mac_Installation

After you upgrade, please check if there's a file
/usr/local/gwTeX/texmf.texlive/map/dvipdfm/context/lm-math.map
present in the distribution. If not, installing a new version of LM
fonts might help.

Please report if the installation will be successfull or not. (You
need to download more than 200 MB.)

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


[NTG-context] (no subject)

2005-11-18 Thread Hans van der Meer

In the top of file type-pre.tex it can be read:
%D This file is obsolete. We now have latin modern and proper
%D typescripts. Forget about this file.
However, tracing execution of \startformula[bold] shows it is still  
read then, whereas on \startformula (without the bold) it is not.


Isn't this an anomaly? Just curious (I hope curiosity is permitted in  
this group).


Hans van der Meer


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


[NTG-context] (no subject)

2005-03-14 Thread wei jm
unsubscribe

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


Re: [NTG-context] title, subject table of contents

2005-02-13 Thread cormullion
VnPenguin [EMAIL PROTECTED] said on 2005-02-13, 1:02 (+0100 GMT):

 
 \setuphead
 [chapter]
 [number=no]
 
 and use \chapter instead of \title. So I can obtain the TOC. But I
 dont why there is no clickable link in the TOC at all :(

\setuplist[chapter,section][interaction=all] ?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] title, subject table of contents

2005-02-13 Thread VnPenguin
On Sun, 13 Feb 2005 11:44:11 +, cormullion [EMAIL PROTECTED] wrote:
 VnPenguin [EMAIL PROTECTED] said on 2005-02-13, 1:02 (+0100 GMT):
 
  
  \setuphead
  [chapter]
  [number=no]
  
  and use \chapter instead of \title. So I can obtain the TOC. But I
  dont why there is no clickable link in the TOC at all :(
 
 \setuplist[chapter,section][interaction=all] ?

Great! works well ;)
Thank you so much,
Q.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] title, subject table of contents

2005-02-13 Thread h h extern
VnPenguin wrote:
But if I replace \chapter by \title; \section by \subject, I can not
have a TOC at all. This is the code:
that's because those are not written to the list;
\startfrontmatter
\charter{xxx}
\stopfrontmatter
gives you unnumbered entries but written to the list;
(it is possible to configure section handlers to number, write to list etc, but 
this is the easiest way)

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


Re: [NTG-context] title, subject table of contents

2005-02-12 Thread VnPenguin
On Sat, 12 Feb 2005 21:00:22 +0100, Thomas A. Schmitz
[EMAIL PROTECTED] wrote:
 Hi,
 
 I had a similar problem some weeks ago. Here's what Hans wrote in
 November 2004:
 
  \title never ends up in the toc, unless configured
 
  however, you can add section structure (bodypart, appendix, etc) and
  within such a part, a \chapter command will act as \title (toc entry,
  but no number)
 

Thank you.
I try :

\setuphead
[chapter]
[number=no]

and use \chapter instead of \title. So I can obtain the TOC. But I
dont why there is no clickable link in the TOC at all :(

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


[NTG-context] title, subject table of contents

2005-02-11 Thread VnPenguin
Hi all,
When I use:
---
\setuplist
[chapter]
[before=\blank,
after=\blank,
style=bold]
\setuplist [section] [alternative=c]

\starttext

\placelist[chapter,section][alternative=c]

\chapter{One}
\section{One A}
Blahblah
\section{One B}
Blahblah

\chapter{Two}
\section{Two A}
Blahblah
\section{Two B}
Blahblah

\stoptext

I got TOC perfectly. 
But if I replace \chapter by \title; \section by \subject, I can not
have a TOC at all. This is the code:
--
\setuplist
[title]
[before=\blank,
after=\blank,
style=bold]
\setuplist [subject] [alternative=c]

\starttext

\placelist[title,subject][alternative=c]

\title{One}
\subject{One A}
Blahblah
\subject{One B}
Blahblah

\title{Two}
\subject{Two A}
Blahblah
\subject{Two B}
Blahblah

\stoptext
---
Any ideas for help me ?
Thank you in advance,

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


[NTG-context] (no subject)

2004-03-09 Thread Adam Tee
Hi all,

Is it possible to place some text in two columns into either the table  
or figure environments without the columns getting ignored.

I have some data which I do not want to put in table form but require  
it in two columns with either a figure ot table label at the bottom.
For example

a   c   
b   d
  Table x: foo
Will this have to be done manually ??

Also, I'm having some problems with using columns,  what is happening  
is that whenever the columns finish the text afterwards runs off the  
end of the page.  I'm using

\startcolumns[n=2, tolerance=verytolerant]

Thanks

Adam
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] (no subject)

2004-02-08 Thread Hans Hagen
At 07:15 05/02/2004, you wrote:
Hallo,

it seems to me that text surrounding is ignored for floats inside columns,
see the code below. Am I right?
yes; see columns.pdf for the many figure options in column sets

Hans  

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] (no subject)

2004-02-07 Thread Vit Zyka
Hallo,

it seems to me that text surrounding is ignored for floats inside columns,
see the code below. Am I right?

Vit Zyka


 \starttext
\startcolumns[n=2]
\placefigure[left,none]{}{\framed[width=1cm,height=3ex]{!}}
\input knuth
\stopcolumns
\stoptext


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] (no subject)

2004-02-01 Thread Vit Zyka
Hallo ConTeXt debater,

this buffer storage works perfectly:

\starttext
 \startbuffer[TMP]
 Bla
 \stopbuffer
 \getbuffer[TMP]
\stoptext


but why not this one?


\starttext
\def\tmp{%
  \startbuffer[TMP]
  Bla
  \stopbuffer
}
  \tmp
  \getbuffer[TMP]
\stoptext


Thanks
Vit Zyka

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] (no subject)

2004-01-24 Thread hl590we
Hello,everybody,
   
 I have a problem while using context to create some flowcharts. The 
beginning of 
my tex source file looks like:
 
 \setupoutput[pdftex]
 \usemodule[chart]

 Naturally I got a flowchart in pdf version. But a pdf version flowchart is 

not suitable for inserting into a paper or a report. Then I try to use software 
to convert it from pdf format into some other imgage formats. But none of them 
was satisfied. 
I wonder how can I direct get a flowchart in some imgage formats (e.g. in png, 
jpg format) from the source tex file. Are there some 
tricks in the settings of the tex source file?


   Thanks in advance!

   Best regards 

[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@wei jm
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@2004-01-20

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] (no subject)

2004-01-24 Thread Nigel King
wei jm,

Why do you want it in a different format? What application are you 
using for your report?

Nigel

On 21 Jan 2004, at 08:54, hl590we wrote:

Hello,everybody,

 I have a problem while using context to create some flowcharts. The
beginning of
my tex source file looks like:
 \setupoutput[pdftex]
 \usemodule[chart]
 Naturally I got a flowchart in pdf version. But a pdf version 
flowchart is

not suitable for inserting into a paper or a report. Then I try to use 
software
to convert it from pdf format into some other imgage formats. But none 
of them
was satisfied.
I wonder how can I direct get a flowchart in some imgage formats (e.g. 
in png,
jpg format) from the source tex file. Are there some
tricks in the settings of the tex source file?

   Thanks in advance!

   Best regards   			

[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@wei jm
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@2004-01-20
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
Nigel King - CTO Orthogon Systems

True non-Line-of-Sight

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] (no subject)

2003-12-10 Thread David Arnold
confirm 901767

-- 
David Arnold
College of the Redwoods.
Mathematics Department
7351 Tompkins Hill Road
Eureka, CA 95501
Office phone: 707-476-4222
Fax: 707-476-4424
Home page: http://online.redwoods.edu/instruct/darnold/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] (no subject)

2003-09-23 Thread Thomas A . Schmitz
Sorry if this is a double post; I sent this message on Friday, and I 
think it somehow got lost.

In March/April 2002, Hans and Idris had an interesting exchange about 
the topic critical editions in context here in ntg-context; the main 
question was whether the functionality of edmac could be implemented in 
context. I'd be curious to know whether anything came out of it, I 
couldn't find any follow-up.
Best
Thomas

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] (no subject)

2003-09-22 Thread Jens-Uwe Morawski
On Sun, 21 Sep 2003 21:24:04 +0200 (MEST)
Severin Obertuefer [EMAIL PROTECTED] wrote:

 how can I cut the the part of the path c between A and B, so that the result
 is like a cheese :)

path cheese ;
cheese := c rotated angle B ;
cheese := cheese cutafter (origin--A) ;


Jens
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] (no subject)

2003-09-20 Thread Jean-Pierre Le Narzul
Hi,

I'm trying to configure my itemization environment so that
second level switches to a smaller font.
The following code does not produce the expected result (no change in 
font size).

I imagine I'm doing something wrong but could not figure what ...
(setupitemize[1][before=\tx] is works well)
 Any idea ?

 jp

\starttext

\setupitemize[2][before=\tx]

\startitemize
\item First Level
\startitemize
\item Second Level
\stopitemize
\stopitemize
\stoptext

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] (no subject)

2003-09-19 Thread Steffen Wolfrum
Jens-Uwe Morawski [EMAIL PROTECTED] wrote:

 On Fri, 19 Sep 2003 11:38:03 +0200
 Patrick Gundlach [EMAIL PROTECTED] wrote:
  Holger Schöner [EMAIL PROTECTED] writes:
  
   For some reason the example you provided does not work at all for me
   (there is no page break before chapters; perhaps my ConTeXt is too
   old), so I'm sorry, I could not test this suggestion.
 
  how old is your ConTeXt Version? It must be more than one year old
  (that is if my memory serves me right).
 AFAIK No. Yesterday before my update to the current beta i tested the example
 and it did not work. The version installed was from july this year.
 With the current beta it works, but gives in the bad result Steffen mentioned
 if \[start|stop][front|body]matter is present in the file. Esp.
that it adds an empty
 odd page 15. Without those *matter's  it works as expected.
 Jens


Thank you. But no project structure without matters.

So what to do now?

Is there some help from above?

Steffen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context