in the current beta. Minimal example:
\setuppublications[criterium=all,numbering=no]
\setupbibtex[database=sample,sort=author]
\starttext
\startsection[title=Whatever]
\cite[hh2010a]
\placepublications[criterium=text]
\stopsection
\stoptext
ends with
\12:77:abc
Greetings all,
The document element exported by this small example appears to be prematurely
closed.
Removing either the footnote or the second chapter will hide the problem.
Do I have something wrong here?
Thanks,
Matt
\setupbackend[export=yes]
\starttext
\startchapter
\startsection
]
\stoptitle
\stopfrontmatter
\startbodymatter
\starttitle[title=This is a \tex{title}]
\input knuth
\stoptitle
\startchapter[title=This is a \tex{chapter}][list=yes]
\startsection[title=Tufte]
\input tufte
\stopsection
\startsection[title=Ward]
\input ward
\stopsection
\stopchapter
]
\bTR \bTD abc \eTD \bTD def \eTD \eTR
\bTR \bTD ghi \eTD \bTD jkl \eTD \eTR
\eTABLE
\stopbuffer
\starttext
\startchapter [title=First]
\startsection [title=1st Section]
\startplacetable
\startcombination [2*1]
{\getbuffer} {(a)}
{\getbuffer} {(b
\startchapter [title=First]
\startsection [title=1st Section]
\startplacetable
\startcombination [2*1]
{\getbuffer} {(a)}
{\getbuffer} {(b)}
\stopcombination
\stopplacetable
\stopsection
\stopchapter
\startchapter [title=Second]
\startplacetable
Hi all,
This works as expected* (empty section title with 5 6 7 8 on the next line
\definenumber[examplecounter]
\setnumber[examplecounter]{5}
\starttext
\startsection
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\getnumber[examplecounter]
\incrementnumber[examplecounter
Am 16.01.2012 um 15:43 schrieb Felix Ingram:
Hi all,
This works as expected* (empty section title with 5 6 7 8 on the next line
\definenumber[examplecounter]
\setnumber[examplecounter]{5}
\starttext
\startsection
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\getnumber
, but the following shows the current interface.
\usemodule[complexslides][colorscheme=..., fontscheme=..., extras=]
\starttext
\setvariables
[talk]
[title=...,
shorttitle=...,
author=,
shortauthor=...,
institute=...,
location=...,
]
\startsection[title
\startsection[title=first head]
\getbuffer
\stopsection
\startsection[title=second head]
\getbuffer
\stopsection
%% try to comment this section
\startsection[title=third head]
\getbuffer
\stopsection
\stoptext
The section-title order is now 3, 1, 2 (in the XHTML output). This problem
[alphabets=1.8]
\starttext
\completelist
\startsection [title={Sectiontitle},
list={Sectiontitle abc abc abc abc abc abc abc abc abc
abc abc abc abc abc abc abc abc abc abc abc abc abc}]
\stopsection
\stoptext
]
\starttext
\startchapter[title=Chapter]
\startsection[title=section]
\dorecurse{2}{\input knuth }
\startplacetable[title={My Table},location=split]
\bTABLE[option=stretch]
\bTABLEhead
\bTR
\bTH C1 \eTH
\bTH C2 \eTH
\eTR
\eTABLEhead
[table][location=top]
\setuplabeltext[table={Tabelle ,:}]
\starttext
\startchapter[title=Chapter]
\startsection[title=section]
\dorecurse{2}{\input knuth }
\startplacetable[title={My Table},location=split]
\bTABLE[option=stretch]
\bTABLEhead
\bTR
\bTH C1 \eTH
Am 20.11.2011 um 00:56 schrieb Aditya Mahajan:
Hi,
I have a tex file that looks like follows:
\startsection[title=...][review=yes]
...
\stopsection
\startsection[title=...][review=no]
...
\stopsection
When I compile the document with --mode=review, I want that all
in the ConTeXt showcase by
Hans: http://pragma-ade.com/show-man.pdf
I want to include such an overview in my slides, but am not sure if it can
be done without using a separate tex file. My slides look like this (sorry
Thomas, I am not using simpleslides at the moment)
\starttext
\startsection[title
On Sun, 20 Nov 2011, Wolfgang Schuster wrote:
Am 20.11.2011 um 00:56 schrieb Aditya Mahajan:
Hi,
I have a tex file that looks like follows:
\startsection[title=...][review=yes]
...
\stopsection
\startsection[title=...][review=no]
...
\stopsection
When I compile the document
simpleslides at the moment)
\starttext
\startsection[title={...}]
\stopsection
\startsection[...]
...
\stopsection
\stoptext
Each section spans over multiple pages. What I want is to have a last page
which is equivalent to the following:
\startcombination[n*n]
{\externalfigure
Hi,
I have a tex file that looks like follows:
\startsection[title=...][review=yes]
...
\stopsection
\startsection[title=...][review=no]
...
\stopsection
When I compile the document with --mode=review, I want that all sections
that have `review=no` should not be displayed
like this
(without any special typesetting, for the moment) stupidly as:
\def\sectionbis#1{{\it #1}\blank}
\startsection [title=Section title]
\sectionbis{\input ward}
\input tufte
\definestartstop[sectionbis][style=italic,inbetween=\blank]
Wolfgang
[referencetable][setups=reference:table]
\starttext
\section[sec:table]{Values for the reference command}
\starttyping
\startsection[reference=sec:table,title={Values for the reference command}]
\stoptyping
\referencetable[sec:table]
\startbuffer
\reference[ref:test]{Is this the text or the title
?
it is also a side effects of using buffers
say that you do
\startsection[title=\xmlflush{#1}]
in fact what you then get is a reference to an xml node and that one is
quite likely gone when you finish typesetting the buffer (that is, there
is then a reference to a non existing node or maybe another one
,
]
[numbers]
\setuphead [sectionconversionset=myset]
\setuphead
[subsection]
[sectionsegments=subsection]
\starttext
\startsection [title=Foo]
\startsubsection [title=Bar, reference=bar]
\stopsubsection
\in{subsection}[bar]
\stopsection
\stoptext
Hi,
I am using the \startsection (\startparagraph ...) to structure my
document and export it to XML. But for all the environments, for each
\startsection I have to put a \stopsection even if I start a new section
right after.
Is it be possible to automatically stop the previous section
On 7-10-2011 18:24, Charles wrote:
Hi,
I am using the \startsection (\startparagraph ...) to structure my
document and export it to XML. But for all the environments, for each
\startsection I have to put a \stopsection even if I start a new section
right after.
Is it be possible
On Fri, Oct 7, 2011 at 18:24, Charles wrote:
Hi,
I am using the \startsection (\startparagraph ...) to structure my document
and export it to XML. But for all the environments, for each \startsection I
have to put a \stopsection even if I start a new section right after.
Configure your text
Am 07.10.2011 um 20:24 schrieb Mojca Miklavec:
On Fri, Oct 7, 2011 at 18:24, Charles wrote:
Hi,
I am using the \startsection (\startparagraph ...) to structure my document
and export it to XML. But for all the environments, for each \startsection I
have to put a \stopsection even if I
\starttext
\startchapter[title=First]
\startsection[title=One] \dorecurse{5}{\input Ward} \stopsection
\startsection[title=Two] \dorecurse{5}{\input Ward} \stopsection
\startsection[title=Three] \dorecurse{5}{\input Ward} \stopsection
\startsection[title=Four
}}
\def\startsection#1%
{\section[#1]{#1}\index{#1}}
\def\startsubsection#1%
{\subsection[#1]{#1}\index{#1}}
\def\startsubsubsection#1%
{\subsubsection[#1]{#1}\index{#1}}
\def\StartTimelineDate#1%
{\subsubsubject{\bf #1}}
\def\StopTimelineDate%
{
\crlf
}
\def\StartTimelineDocument%
{
\crlf
!doublesided]
\def\startchapter#1%
{\chapter[#1]{#1}\index{#1}\bookmark{#1}}
\def\startsection#1%
{\section[#1]{#1}\index{#1}\bookmark{#1}}
\def\startsubsection#1%
{\subsection[#1]{#1}\index{#1}\bookmark{#1}}
\def\startsubsubsection#1%
{\subsubsection[#1]{#1}\index{#1}\bookmark{#1}}
\def
\href#1#2
a new page.
(Subsections I want to have divided, but the combo section/subsection
not.) Is this possible?
Yes, it is:
\setuphead [subsection] [page=yes]
\starttext
\dorecurse{5}{%
\startsection [title=Sec]
\stopsection
\startsection [title=New Sec]
\startsubsection [title=Sub Sec
Hello,
How can one avoid these bad page breaks here:
\starttext
\dorecurse{10}{
\startsection[title=test]
\startitemize[columns, intro]
\item bla
\stopitemize
\input tufte
\stopsection
}
\stoptext
TIA for any hints,
--
Peter
On Mon, Jun 6, 2011 at 1:48 PM, Peter Münster pmli...@free.fr wrote:
Hello,
How can one avoid these bad page breaks here:
\starttext
\dorecurse{10}{
\startsection[title=test]
\startitemize[columns, intro]
\item bla
\stopitemize
\input tufte
\stopsection
}
\stoptext
On Mon, Jun 06 2011, luigi scarso wrote:
\starttext
\dorecurse{10}{
\startsection[title=test]
\startitemize[columns, intro]
\item bla
\stopitemize
\input tufte
\stopsection
}
\stoptext
\setuphead[section][before={\testpage[5]\blank}]
I've already tried that...
Please
Hello,
How can I avoid a page break here:
\setuplayout[height=2cm]
\starttext
\startsection[title=test]
\startitemize[columns, intro]
\item bla
\stopitemize
\stopsection
\stoptext
TIA for any hints!
--
Peter
Am 01.06.2011 um 09:03 schrieb Peter Münster:
Hello,
How can I avoid a page break here:
\setuplayout[height=2cm]
\starttext
\startsection[title=test]
\startitemize[columns, intro]
\item bla
\stopitemize
\stopsection
\stoptext
TIA for any hints!
It would help when you give
On Wed, Jun 01 2011, Wolfgang Schuster wrote:
How can I avoid a page break here:
\setuplayout[height=2cm]
\starttext
\startsection[title=test]
\startitemize[columns, intro]
\item bla
\stopitemize
\stopsection
\stoptext
It would help when you give ConTeXt space for the text
\dorecurse{10}
{\startsection[title=Section \recurselevel]
\input knuth \page
\stopsection}
\stoptext
Works here with MkIV 2011.05.18 22:26
Marco
___
If your question is of interest to others as well, please
]}}]
\setupbackgrounds [text] [rightmargin] [background=side]
\starttext
\dorecurse{10}
{\startsection[title=Section \recurselevel]
\input knuth \page
\stopsection}
\stoptext
Works here with MkIV 2011.05.18 22:26
Marco
On 23-4-2011 9:02, Reviczky, Adam wrote:
\startbodymatter
\startpart [title={Table of Contents}]
\startchapter [title={Chapter}]
\startsection [title={Section}]
some day leaving out the \stop's will backfire on you
\stopbodymatter
\stoptext
add added a fallback in the beta
={Chapter}]
\startsection [title={Section}]
\stopbodymatter
\stoptext
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
code? There is a little difference between
\startsection \stopsection
\starttheorem \stoptheorem
except that in enumerations the title is optional and there are a few
predefined header styles (location=whatever), and enumerations have a
closesymbol.
That will easily allow
\setuppublications
[refcommand=authoryear]
\starttext
\startsection[title=Test]
\cite[said2001]
\placepublications[criterium=all]
\stopsection
\stoptext
It looks like it's the author's name Sa{\\i}d, but this works in normal text,
just not in a bibliography. Can you see what's
=.]). Example:
1. Title (what I get)
1. Title (what I want)
% if you know how to get the width of 1 space:
\setuphead[section][stopper=., distance=WidthOf1Space]
% if you don't know, workaround:
\setuphead[section][stopper=.~\strut, distance=0pt]
\starttext
\startsection[title=test]
bla
[section][stopper=.~\strut, distance=0pt]
\starttext
\startsection[title=test]
bla
\stopsection
\stoptext
Related question: is there a macro, that returns the width of some
content, so that one can use distance=\widthof{ }?
http://www.ntg.nl/pipermail/ntg-context/2007/024390.html
Wolfgang
\startsection[ownnumber=1., title={sectionhead}] % no dot at all
text\par
\stopsection
\stopchapter
\stoptext
Thanks,
Achim
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
On Sun, 28 Nov 2010 19:00:37 +0100, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
\startsection[title={AAA aaa},list={AAA}]
...
\stopsection
... OK, the example above works well when called from ConTeXt. But from Lua? -
This Lua code seems to be wrong:
---
\enableregime
Am 30.11.2010 um 17:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
On Sun, 28 Nov 2010 19:00:37 +0100, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
\startsection[title={AAA aaa},list={AAA}]
...
\stopsection
... OK, the example above works well when called from
where you can set a different
test for the table of contents with
\startsection[title={AAA aaa},list={AAA}]
...
\stopsection
Wolfgang
___
If your question is of interest to others as well, please add an entry
://wiki.contextgarden.net/MkIV_Differences#Nomarking.2FSelect
A alternative is to use the start/stop-commands where you can set a different
test for the table of contents with
\startsection[title={AAA aaa},list={AAA}]
...
\stopsection
Wolfgang
\structureuservariable{date}}}%
{\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
% \blank
{\em\structureuservariable{info}}%
\egroup}
\starttext
\startsection[title={A Section}]
\startsubsection
[title={The detailled topic (which takes more than one
{\leftaligned{\em\structureuservariable{date}}}%
{\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
\blank
{\em\structureuservariable{info}}%
\egroup}
\starttext
\startsection[title={A Section}]
\startsubsection
[title={The detailled topic (which takes more
\structureuservariable{topic}}
% \blank
{\em\structureuservariable{info}}%
\egroup}
\starttext
\startsection[title={A Section}]
\startsubsection
[title={The detailled topic (which takes more than one line)}]
[date={The date},topic={Knuth’s topic},info={some text}]
\input knuth
\stopsubsection
}\wordright{\tfx\structureuservariable{topic}}
% \blank
{\em\structureuservariable{info}}%
\egroup}
\starttext
\startsection[title={A Section}]
\startsubsection
[title={The detailled topic (which takes more than one line)}]
[date={The date},topic={Knuth’s topic},info={some text
On Tue, Oct 12 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
The problem is that typesetting n-th \subsubject doesn't go to the next
page, but is typeset on the same page, so that the last ones disappear.
This works, but I can't explain why:
\starttext
\dorecurse{30}{\startsection[title
\startsection [title=first section]
\stopsection
\startsection [title=second section]
\stopsection
\stopchapter
\startchapter [title=second chapter]
\placecontent
\startsection [title=first section]
\stopsection
\startsection [title=second section]
\stopsection
\stopchapter
\stopbodymatter
\stopalignment}]
\starttext
\startchapter[]
test
\stopchapter
\startsection[
title={title},
bookmark={bookmark},
mark={mark},
list={list}]
test\page test \page test
\stopsection
\stoptext
___
If your question
”.
I don't understand.
In context-excursion it says ...
After the definition texts can be marked by:
\marking[.1.]{.2.}
.1. name .2. text
and recalled by:
\getmarking[.1.][.2.]
But in MkIv sections there is already text marked ...
\startsection[
title={title},
bookmark={bookmark},
mark={mark
.}
.1. name .2. text
and recalled by:
\getmarking[.1.][.2.]
But in MkIv sections there is already text marked ...
\startsection[
title={title},
bookmark={bookmark},
mark={mark},
list={list}]
At least it looks as if there were some text marked by mark={mark}!
\startsection[...,marking
the definition texts can be marked by:
\marking[.1.]{.2.}
.1. name .2. text
and recalled by:
\getmarking[.1.][.2.]
But in MkIv sections there is already text marked ...
\startsection[
title={title},
bookmark={bookmark},
mark={mark},
list={list}]
At least it looks as if there were some
pdf is broken; test file:
\setupstructure[state=start]
\starttext
\startsection[title=One]
Test
\stopsection
\stoptext
structure demands structure
-
Hans Hagen | PRAGMA ADE
On Aug 19, 2010, at 10:02 AM, Hans Hagen wrote:
\setupstructure[state=start]
\starttext
\startsection[title=One]
Test
\stopsection
\stoptext
structure demands structure
True :-) but this document still gives an error:
! LuaTeX error ...text/tex/texmf-context/tex/context/base/lpdf
On 19-8-2010 3:41, Thomas A. Schmitz wrote:
On Aug 19, 2010, at 10:02 AM, Hans Hagen wrote:
\setupstructure[state=start]
\starttext
\startsection[title=One]
Test
\stopsection
\stoptext
structure demands structure
True :-) but this document still gives an error:
ok, fixed. beta
Am 28.06.2010 um 17:00 schrieb hans.ha...@ntg.nl:
On Monday 28/06/2010 at 4:50 am, Steffen Wolfrum wrote:
is there a way to avoid bookmark entries like this?
With language is german and encoding utf8 MkII compiles this ...
\section{Test~–~Nummer §\,613\,a}
\startsection[...,bookmark
§\,613\,a}
\startsection[...,bookmark=]
Yes, this MkIV one I know.
But there is no way to adjust bookmark entries in MkII, right?
\section{Test~-~Nummer ...}\bookmark[section]{...}
Wolfgang
___
If your
,
and this would be logically something like:
\chapter [title={title},list={toc-entry}]
Why? LaTeX is not the reference for ConTeXt.
It could also be like this:
\startsection[type=chapter, title=my title, ...]
\stopsection
Furthermore,
\chapter*{title}
of LaTeX should also have its simple
On Monday 28/06/2010 at 4:50 am, Steffen Wolfrum wrote:
Hi,
is there a way to avoid bookmark entries like this?
With language is german and encoding utf8 MkII compiles this ...
\section{Test~–~Nummer §\,613\,a}
\startsection[...,bookmark
On Mon, Jun 14 2010, Hans Hagen wrote:
\section[number=no]{Whatever}
this will not happen as the first argument is optional and reserved for a
cross reference
In mkiv, can we consider the \section commands as obsolete, since we have
now \startsection ... \stopsection ?
Cheers, Peter
\startsection ... \stopsection ?
well, not obsolete as it's convenient but it will definitely not be
extended / changed
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH
Hello,
\ref[t][...] does not work as expected, or I expect the wrong thing:
\starttext
\startsection[title=Problem here, reference=sec1]
Section text: \ref[t][sec1]
\stopsection
\startsection[title=Workaround]
\reference[sec2]{Workaround}
Section text: \ref[t][sec2]
\stopsection
\stoptext
Hello,
We have now
\startsection[reference=...] and \reference[]{} and perhaps other such
commands.
Wouldn't it be better to call this label or identifier or id or
similar instead of reference ?
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact
it is still experimental but at the moment it works.
third question: you could define a new head with \definehead then it gets a new
counter. When you only want that a specific sectionnumber is different from the
others than do: \startsection [title=dritte section, ownnumber=243]
first question
statt bekannt.
\stopbuffer
%
\starttext
%
\startchapter[title={Vorbemerkungen}]
\startsection[title={Test}]
\getbuffer\hfill OK
\stopsection
\startsection[title={Das Dokument}]
\startsubsection[title={Allgemein}]
\getbuffer\hfill PROBLEM !?
\stopsubsection
\startsubsection[title={Das
On Thu, 29 Oct 2009, Pau wrote:
Thanks!
now, this is a friendly mailing list!
I was trying to guess it with \section{Introduction}[label=intro]
but that didn't work out.
MKIV only ...
\startsection[reference=intro, title=Test]
In \in{Section}[intro] we show an example of labelling
,interaction=text]
%
% this works !
%
\startchapter[title={Geburten 1606--1737},list={Geburten
1606--1737},bookmark={Geburten},reference={Geburten}]
%
% this does not work! no title in text, no title in list, no bookmark
text, no reference!!!
%
\startsection[title ={Getafte A. dominj 1606
Am 14.09.2009 um 12:27 schrieb Bernd Militzer:
\startsection[title={Getaŭfte A. dominj 1606},%
list ={Geburten 1606},%
bookmark ={Geb-1606},%
reference={Geb:1606}]
remove the space between the keys and the '='
Wolfgang
Wolfgang Schuster schrieb:
Am 14.09.2009 um 12:27 schrieb Bernd Militzer:
\startsection[title={Getaŭfte A. dominj 1606},%
list ={Geburten 1606},%
bookmark ={Geb-1606},%
reference={Geb:1606}]
remove the space between the keys
Hello,
Just a little reminder, it has already been mentioned by others:
\starttext
\startsection[title=Test, reference=test]
Section number is doubled: \in[test]
\stopsection
\stoptext
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact
still wrote he wouldn't know if he would extend the
sectionworld in MkIV.
The discussion about \startsection ... \stopsection was in 2007!
I don't understand how to use \startchapter[]{} ... \stopchapter for my
needs.
\startchapter[title=,reference=,bookmark=,...][optional user data
know if he would extend the
sectionworld in MkIV.
The discussion about \startsection ... \stopsection was in 2007!
I don't understand how to use \startchapter[]{} ... \stopchapter for
my needs.
Could you give me a hint what to look for?
I couldn't find \startchapter in the garden
Kevin D. Robbins wrote:
I'm interested to know whether nested sections are supported in the new
structure code (strc-*)?
Using the following to test, I don't get a section and subsection, but
rather two sections. The log file notes a missing \stopsection.
\starttext
\startsection{Section
I'm interested to know whether nested sections are supported in the new
structure code (strc-*)?
Using the following to test, I don't get a section and subsection, but
rather two sections. The log file notes a missing \stopsection.
\starttext
\startsection{Section}
\input tufte
\startsection
Idris Samawi Hamid ادريس سماوي حامد wrote:
On Fri, 17 Oct 2008 03:15:19 -0600, Hans Hagen [EMAIL PROTECTED] wrote:
a next release will have
sectioning redone
so will we finally get
\startsection
\stopsection
etc.? :-)
we're testing the new structure modules but i will only add them
On Fri, 17 Oct 2008 03:15:19 -0600, Hans Hagen [EMAIL PROTECTED] wrote:
a next release will have
sectioning redone
so will we finally get
\startsection
\stopsection
etc.? :-)
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
On Sat, 18 Oct 2008, Idris Samawi Hamid ادريس سماوي حامد wrote:
On Fri, 17 Oct 2008 03:15:19 -0600, Hans Hagen [EMAIL PROTECTED] wrote:
a next release will have
sectioning redone
so will we finally get
\startsection
\stopsection
etc.? :-)
We already have them, just try it out
\startsection
\stopsection
etc.? :-)
We already have them, just try it out :-)
Really?
\startchapter
gives me an undefined control sequence...
Maybe you mean
\startsectionworld
etc. I forgot about that, although Hans mentioned that this is just a
stopgap measure till sectioning is redone
]
\definegroupednote [footnote]
\setupfootnotes[next=\autoinsertnextspace]
\protect
\starttext
\starttitle[title=Title]
\stoptitle
\startchapter[title=Chapter]
\startsection[title=Section]
\input knuth
Text
\startfootnote[nabiyy]
A footnote
\stopfootnote
text
\startsubsection[title=Subsection]
Text
the start of any of these, while
structured writing would call for \startchapter ... \stopchapter,
\startsection ... \stopsection etc.
My proposal is to switch to such a method, while still retaining
compatibility with the old-style sectioning (maybe we can use some
flag like the one used to left
601 - 686 of 686 matches
Mail list logo