Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org:
Hello,
I've got a running page head like this in my document:
\def\CurrentUser{\cldcontext{os.resultofwhoami}}
\def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\
\contextversion }
and later:
\setlayer
On 3/12/2014 10:05 AM, Wolfgang Schuster wrote:
Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org:
Hello,
I've got a running page head like this in my document:
\def\CurrentUser{\cldcontext{os.resultofwhoami}}
\def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt
Am 12.03.2014 um 15:12 schrieb Lars Huttar lars_hut...@sil.org:
On 3/12/2014 10:05 AM, Wolfgang Schuster wrote:
Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org:
Hello,
I've got a running page head like this in my document:
\def\CurrentUser{\cldcontext{os.resultofwhoami
,
I've got a running page head like this in my document:
\def\CurrentUser{\cldcontext{os.resultofwhoami}}
\def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\
\contextversion }
and later:
\setlayer[cropmark][preset=lefttop,x=3cm,y=-1.5\lineheight]{\Markname}
But when I run
Am 12.03.2014 um 15:51 schrieb Lars Huttar lars_hut...@sil.org:
This gets rid of the error, but it seems to prevent any expansion of the
content of \CurrentUser, because the page head now literally looks like
this:
You can try to print the string in verbatim mode:
\def\CurrentUser
On 3/12/2014 11:06 AM, Wolfgang Schuster wrote:
Am 12.03.2014 um 15:51 schrieb Lars Huttar lars_hut...@sil.org
mailto:lars_hut...@sil.org:
This gets rid of the error, but it seems to prevent any expansion of the
content of \CurrentUser, because the page head now literally looks like
I'm trying to built a template for evaluations of my students.
I have a problem with the head environment that does not take into account
the selected font and size.
Regards,
Fabrice
\environment environ-2
\environment environ-3
\environment header
\starttext
\MyOtherHeader{Seconde GTA}{20
, there is no current chapter and so the
head location for the chapter entry returns 0.
Here is what I have so far:
\startsetups [list:TOC]
\starttabulate
\currentlistentrypagenumber{} \hskip 1em \NC \currentlistentrytitle{} \NR
\stoptabulate
\stopsetups
\definelistalternative
, there are syntax errors and the conditional expression
assumes that the ToC is being placed on every page. This assumption
allows it to resolve the namedstructureheadlocation value. For a ToC
at the start of a document, there is no current chapter and so the
head location for the chapter entry returns 0
Am 13.01.2014 um 04:41 schrieb Otared Kavian ota...@gmail.com:
Hi Wolfgang,
Thanks for the tip: I’ll try to adapt what you suggest to the case of blocks
and question-hint-answer, and then let you know if I succeed.
Out of curiosity, how can one access the counter associated to an
Hello Otared and Wolfgang.
Thanks for launching this example.
Is there a possibility to write the answers into a more compact form
(more columns, one paragraph, etc) like in any textbooks? I tried
experimenting, but I was unable to put answers into a compact form.
Thanks Jaroslav Hajtmar
Hi Jaroslav,
Actually the formatting of what you put in the block determined for example by
\beginanswer
The answer is…
\endanswer
is independent of the block mechanism: you can use whatever structure you want.
In the example we exchanged on, an enumeration such
OK. Thanx very much - for me it is a useful thing...
Jaroslav Hajtmar
Dne 12.1.2014 17:08, Otared Kavian napsal(a):
Hi Jaroslav,
Actually the formatting of what you put in the block determined for example by
\beginanswer
The answer is…
\endanswer
is
Am 11.01.2014 um 20:01 schrieb Otared Kavian ota...@gmail.com:
I will put this example on the wiki, but before doing so I have another
question:
can one add two automatic links at the end of each question so that one can
navigate easily to the respective hint or answer corresponding to
Am 12.01.2014 um 21:47 schrieb Otared Kavian ota...@gmail.com:
On 12 janv. 2014, at 21:30, Wolfgang Schuster schuster.wolfg...@gmail.com
wrote:
Am 11.01.2014 um 20:01 schrieb Otared Kavian ota...@gmail.com:
I will put this example on the wiki, but before doing so I have another
Hi Wolfgang,
Thanks for the tip: I’ll try to adapt what you suggest to the case of blocks
and question-hint-answer, and then let you know if I succeed.
Out of curiosity, how can one access the counter associated to an enumeration
or an item?
Also, if I understand correctly, the command
Am 11.01.2014 um 00:36 schrieb Otared Kavian ota...@gmail.com:
Hi Wolfgang,
In mkiv, even using \startanswer, \stopanswer (and the same syntax with
questions and hints) the blocks mechanism seems to be broken.
The error message is still the following:
\dostopnormalblock ...meter
Hi Wolfgang,
Many thanks for your attention and insight.
With your code everything works as expected. In case others would be
interested, I give here a slight modification of what you sent, which works
very well with mkiv: I only added
Date: Thu, 9 Jan 2014 14:24:35 +0100
From: Wolfgang Schuster schuster.wolfg...@gmail.com
Subject: Re: [NTG-context] setuphead for in-paragraph head ?
Message-ID: 76850319-0120-41e9-8a4e-46fe9a9cb...@gmail.com
But this:
\definehead
[Exercise] [subsection]
[after=]
\starttext
Hi Wolfgang,
In mkiv, even using \startanswer, \stopanswer (and the same syntax with
questions and hints) the blocks mechanism seems to be broken.
The error message is still the following:
\dostopnormalblock ...meter \c!after \par \egroup
Hi all,
this is my first message here.
In the subsection head, I would like to suppress the newline between the
number and the text, so it behaves like some kind of numbered subsubject.
I tried to modify some examples from the wiki, but without success. In
http://wiki.contextgarden.net/Command
On 2014–01–09 Jean-Guillaume wrote:
In the subsection head, I would like to suppress the newline between the
number and the text,
That's controlled by the “after” key.
\setuphead
[Exercise]
[after=]
My purpose is to define something like:
\definehead[Exercise][subsection
On 2014–01–07 Marco Pallante wrote:
[…]
What I get, however, is a table that starts at page 2 and not just after
the chapter head.
The table starts on page one here. Which version are you using?
Marco
signature.asc
Description: Digital signature
Thanks for your reply, Marco.
Here is a full example:
\starttext
\definehead[Exercise][subsection]
\setuphead
[Exercise]
[after=]
\startExercise[]{(this is the exercise's title)}
The exercise's content.
\stopExercise
\stoptext
After contexting it, it looks like:
1
(this is the
On 2014–01–09 Jean-Guillaume wrote:
\starttext
\definehead[Exercise][subsection]
\setuphead
[Exercise]
[after=]
\startExercise[]{(this is the exercise's title)}
The exercise's content.
\stopExercise
\stoptext
\definehead
[Exercise] [subsection]
[after=]
\starttext
But this:
\definehead
[Exercise] [subsection]
[after=]
\starttext
\startExercise [title=This is the exercise's title]
The exercise's content.
\stopExercise
\stoptext
results to:
1 This is the exercise's title
The exercise's content.
and I would like it to be:
1 This is the
Am 09.01.2014 um 14:23 schrieb Jean-Guillaume jng...@gmail.com:
But this:
\definehead
[Exercise] [subsection]
[after=]
\starttext
\startExercise [title=This is the exercise's title]
The exercise's content.
\stopExercise
\stoptext
results to:
1 This is the exercise's title
Hi Jean Guillaume,
I guess Marco Patzer and Wolfgang Schuster gave you already the appropriate
answers.
Nevertheless, I wanted to share with you the definitions I use for the kind of
work you want to do:
%%% begin example-exercise.tex
%%%
% defining \startexo,
that starts at page 2 and not just after
the chapter head.
The table starts on page one here. Which version are you using?
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki
Hello Otared.
I will throw this one... Thanx.
Once I was using exercise-answer package for LaTeX.
Is there anything like this to use in ConTeXt?
Thanx
Jaroslav Hajtmar
Dne 9.1.2014 15:19, Otared Kavian napsal(a):
%%% begin example-exercise.tex
%%%
% defining
On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote:
Hello Otared.
I will throw this one... Thanx.
Once I was using exercise-answer package for LaTeX.
Is there anything like this to use in ConTeXt?
Thanx
Jaroslav Hajtmar
Hello Jaroslav,
I have something like the
On Thu, 9 Jan 2014, Otared Kavian wrote:
On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote:
Hello Otared.
I will throw this one... Thanx.
Once I was using exercise-answer package for LaTeX.
Is there anything like this to use in ConTeXt?
Thanx
Jaroslav Hajtmar
Hello
Am 09.01.2014 um 16:36 schrieb Otared Kavian ota...@gmail.com:
On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote:
Hello Otared.
I will throw this one... Thanx.
Once I was using exercise-answer package for LaTeX.
Is there anything like this to use in ConTeXt?
Thanx
Hi Wolfgang, Hi Aditya,
Thanks for your attention.
Unfortunately adding
\keepblocks[question]
the example I sent before does not work in mkiv, and changing
location=hanging
to
alternative=hanging
does not help neither…
The error message in mkiv is:
Am 09.01.2014 um 18:36 schrieb Otared Kavian ota...@gmail.com:
Hi Wolfgang, Hi Aditya,
Thanks for your attention.
Unfortunately adding
\keepblocks[question]
the example I sent before does not work in mkiv, and changing
location=hanging
to
alternative=hanging
does
Hello Wolfgang, Otared and Aditya.
Thanks for your advice and treatments. It is there a complete working
example?
I am sorry, but I am not able to achieve the proposed modifications to
make it work.
Thanx.
Jaroslav Hajtmar
Dne 9.1.2014 18:41, Wolfgang Schuster napsal(a):
Am 09.01.2014
\startxcell Applicability \stopxcell
\stopxrow
}
\stopxtablebody
\stopxtable
\stoptext
What I get, however, is a table that starts at page 2 and not just after
the chapter head.
If the number of rows is smaller and the table fit the first page, then
it starts at the right place.
What I'm
+ --
end
end
end
@@ -560,7 +616,7 @@ local function deva_reorder(head,start,s
local lastcons = nil
local basefound = false
-if start.char == c_ra and halant[n.char] and reph then
+if char_ra[start.char] and halant[n.char] and reph then
-- if syllable starts
=empty,footer=footerpagenumber,number=no,align={middle,nothyphenated,verytolerant},style=ssbf]
\starttext
\section{My Own Section}
\dorecurse{15}{ \input knuth \par }
\stoptext
I would love to know what the default properties of the \chapter head
are, so we could know what we're inheriting
\setuppagenumbering[location=footer]
before the \starttext, we get the page numbering we want, but it's on
every page, not just the first.
Is there something wrong with our setup head?
This works only when your heading forces a page break with the “page=yes”
setting in \setuphead.
Wolfgang
]
\setuphead[section][page=no,header=empty,footer=footerpagenumber,number=no,align={middle,nothyphenated,verytolerant},style=ssbf]
\starttext
\section{My Own Section}
\dorecurse{15}{ \input knuth \par }
\stoptext
I would love to know what the default properties of the \chapter head
are, so we
of the \chapter head
are, so we could know what we're inheriting, or how to set up section to
do what we want without inheriting unknown properties from chapter.
(Untested): Looking at the code, it looks that any value other than page=,
(i.e, page=empty) should work. Did you try the above example
]
\setupmemosection[head][style=bold]
%\setupmemosection[content][align={right,broad}]
\startmemo
[opening={Dear Mr. Wilson,},
subject={Ideas for a new typesetting system},
closing={Best regards},
signature={John Simmons}]
\dorecurse{4}{\input knuth\par}
\stopmemo
Wolfgang
\somenameheadnumber{whatever}{last}
gives an error if the head 'whatever' hasn't been used. This can be
avoided using
-if data then
+if data and data.references then
in line 772 of strc-doc.lua.
Aditya
...
whereas \tfc changes the *font*, not the *body* font?
Lars
You can look into
font-pre.mkiv
OK. I'm looking at it,
http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/font-pre.mkiv
Is there anything in particular you had in mind that I can learn from it?
I found some aliases
consonant in the same word.
A picture, in case it's more helpful: http://i.imgur.com/MpIwd9w.png
I tried to look at the code in hopes of offering a fix, but I'm afraid it was
way over my head. If there's anything else I can do to help, I'd be happy for
the opportunity.
Best regards,
Peter
when conjoining with another subsequent
consonant in the same word.
A picture, in case it's more helpful: http://i.imgur.com/MpIwd9w.png
I tried to look at the code in hopes of offering a fix, but I'm afraid it was
way over my head. If there's anything else I can do to help, I'd be happy
On 9/4/2013 9:51 PM, Mikoláš Štrajt wrote:
On 2013-09-04 Hans Hagen wrote:
first of all you need to switch to mkiv ... more change on tips and
solutions then
OK. I have switched to mkiv. What now about my head whitespace problems.
well, first provide a mkiv example ... less code than
here, but without any effect
% - make vertical space between article head and author name shorter (also in
general : modify vertical spaces of heads)
%
% Regards Mikoláš Štrajt
%
% PS: You can use this e-mail as source code of my solution. :-D
first of all you need to switch to mkiv ... more
On 2013-09-04 Hans Hagen wrote:
first of all you need to switch to mkiv ... more change on tips and
solutions then
OK. I have switched to mkiv. What now about my head whitespace problems.
--
Mikolas Strajt___
space between article head and author name shorter (also in
general : modify vertical spaces of heads)
%
% Regards Mikoláš Štrajt
%
% PS: You can use this e-mail as source code of my solution. :-D
%%%
%%% FOLLOWING IS STYLE AS IS USED IN REAL LIFE %%%
%%%
% Čeština
\enableregime[utf]
% Fonty
=\v!chapter (as for the chapter head setup).
Should the part bodypart be automatically included?
-Sanjoy
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
them
in TOC and page headers.
So there will be no „Poetry“ head in text but „Poetry“ will be shown in page
header and TOC.
Unfortunately, the trick from http://wiki.contextgarden.net/Titles#Flushing_
section_head_data_without_typesetting_them_in_the_text seems to not work for
me.
Thanks for help
stories, programming). I need to hide section heads in text but to show them
in TOC and page headers.
So there will be no „Poetry“ head in text but „Poetry“ will be shown in page
header and TOC.
Unfortunately, the trick from
http://wiki.contextgarden.net/Titles
header
\defineletterelement[layer][head][example]{%
\framed[background=logohead,frame=off,align=left]{%
\externalfigure[UMA_Seal_200_Maroon.pdf][height=3.1cm]}
}
\setupletter[ signature={\externalfigure[signature-blue.pdf]} ]
If you provide code, please create working examples, not just
...
The latter referenced file is available here:
https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Leading_Characters/Arda_Ba%C5%9Ft%C3%BCrk.tex#L103
Respectfully,
PS Please copy me if you need further information, as I am not
currently
this involve tracking as discussed in
http://wiki.contextgarden.net/Command/externalfigure ?
Thank you very much for guidance.
best,
Michael
% Define logo for the first page header
\defineletterelement[layer][head][example]{%
\framed[background=logohead,frame=off,align=left]{%
\externalfigure
]
\definecolor[maroon][h=990033]
\setuplanguage [en] [date={dd, month, year}]
\setupletteroptions
[language=english,
bodyfont={rm,12pt},
]
% Define logo for the first page
\defineletterelement[layer][head][example]%
{\framed[background=logohead,height=25mm,frame=off,align=left]%
{\externalfigure
\usemodule[letter]
\setuppapersize[letter][letter]
\definecolor[maroon][h=990033]
\setuplanguage [en] [date={dd, month, year}]
\setupletteroptions
[language=english,
bodyfont={rm,12pt},
]
% Define logo for the first page
\defineletterelement[layer][head][example]%
{\framed[background
[language=english,
bodyfont={rm,12pt},
]
% Define logo for the first page
\defineletterelement[layer][head][example]%
{\framed[background=logohead,height=25mm,frame=off,align=left]%
{\externalfigure[dummy]}}
% We put our logo in the head
\setupletterlayer[head]
[alternative=example,
x=9mm,
y=10mm
guidance.
Yours,
Michael
\usemodule[letter]
\setuppapersize[letter][letter]
\definecolor[maroon][h=990033]
\setuplanguage [en] [date={dd, month, year}]
\setupletteroptions
[language=english,
bodyfont={rm,12pt},
]
% Define logo for the first page
\defineletterelement[layer][head
\stopitemize
\stoptext
How to achieve the result of #1 with the syntax in #2?
You have the change the definition for \startitem but I would go for a bigger
change which includes also \head, \txt etc.
To do this one could write
\startitem[alternative=head,text=…]
one could use
On 7/6/2013 12:10 PM, Wolfgang Schuster wrote:
To do this one could write
\startitem[alternative=head,text=…]
one could use it as synonym for \starthead or with
\startitem[alternative=symbol,text=…]
as alternative for \sym. Since references are lost with this method you can
write
is a modified version of the older code which uses the new MkIV
mechanism to create customized head layouts which gobbles also
the space for \startsection.
\defineheadalternative
[head:inleftmargin]
[alternative=horizontal,
renderingsetup=head:inleftmargin]
\startsetups[head:inleftmargin
my head around
\numexpr etc. in the etex manual, but couldn't really figure out what to do.
Thanks, and all best
Thomas
___
If your question is of interest to others as well, please add an entry to the
Wiki
On 2013–06–03 honyk wrote:
How can I keep numeration and title together?
You can create a custom head alternative. The following code is
copied from the source, I only replace the \par with
\kern\headnumberdistance. Have a look at strc-ren.mkiv for other
layouts.
\setuphead
[section
Marco,
thanks a lot, it gives me exactly what I wanted!
But to be honest, I expected a single option for this :-)
Jan
On 2013–06–03 honyk wrote:
How can I keep numeration and title together?
You can create a custom head alternative. The following code is
copied from the source, I only
interline space (confirmed by doing \showgrid). What should
I do to prevent this from happening?
Me again: seems it was an ID10T error, the problem was insufficient
magnification in the pdf viewer. Solution wikified under Registers.
The problem with head style of the title of the register is still
of other hyperlink
links, say, a reference to a chapter or a section?
when setting up a section head you can say
interaction=list
--**--**-
Hans Hagen | PRAGMA ADE
On 5/15/2013 4:13 PM, Alan Bowen wrote:
Yes, two-way coupling for footnotes works (though as you say, it goes
unnoticed if everything is no the same page. But what of other hyperlink
links, say, a reference to a chapter or a section?
when setting up a section head you can say
interaction=list
of this e-mail. It works; but it is a pure-bred example of
cargo cult programming, i.e. lots of 'making it look right' and very
little understanding, so you will probably want to check it.
[1] http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/pack-rul.mkiv
All the best,
Sietse
\setupcolors
%% * align top of reference line with external baseline.
%% but grid=yes may disable that.
location={top, hanging},
]{\AntykwaChapter #1}}
%% The head-specific grid setup comes here
\setuphead[subject]
[header=high, % no header; extend textarea into header area
page
and 5.2)
https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Environment.tex
I am using ConTeXt 2013.04.30 00:31, LuaTeX beta-0.77.0-2013042719 (TeX
Live 2013/dev/Debian)(rev 4635), and LuajitTeX version
beta-0.77.0-2013042721 (TeX Live 2013/dev
in the latter file since line one is merely a comment. But
perhaps this is due to something in my environment file?
https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Environment.tex
I am using ConTeXt 2013.04.30 00:31, LuaTeX beta-0.77.0-2013042719 (TeX
Live
Chapter}
this is the second chapter
\section{section 1}
\page
\section{section 2}
the second page of the second chapter
\stoptext The rule shouldn't be above the chapter head ``1 First Chapter at
page 1 and page 4 should be true empty, since it is just before Chapter 2 and
has no contents
___
--
George N. White III aa...@chebucto.ns.ca
Head of St. Margarets Bay, Nova Scotia
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
Hi, maybe, codes is our language :-) % define a new
head\definehead[backmatterchapter][chapter]
\starttext
\startfrontmatter
\title{Preface}
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{First Chapter}
\stopbodymatter
\startbackmatter
\backmatterchapter{Backmatter}
\stopbackmatter
Am 17.04.2013 um 17:59 schrieb Tim Li timli2...@outlook.com:
Hi,
maybe, codes is our language :-)
% define a new head
\definehead[backmatterchapter][chapter]
[…]
The chapter title Backmatter in the backmatter won't appear in the
Contents. Why? How can I make it appear
:-)
% define a new head
\definehead[backmatterchapter][chapter]
[…]
The chapter title Backmatter in the backmatter won't appear in the Contents.
Why? How can I make it appear in the Contents?
You have to redefine the \completecontent command to include
“backmatterchapter” in the list of headings
, and even (far) beyond that.
Chess has quite precise rules (and I wonder if a chess program will
choose an nice but risky step over a winning one) while typesetting also
involves esthetics and therefore only a simulation of what goes on into
someones head can help out.
It will probably take some
and \setuphead commands, along with possibly defining a new head that
inherits from chapter (\definehead[name][chapter], then
\setuphead[name]).
I don't really have time to play much with this now, but see the
following links for a bunch more information on the commands above and
on section heads in general
On Mon, 3 Sep 2012 06:35:16 +0200
Wolfgang Schuster wolfgang.schus...@gmail.com wrote:
Am 03.09.2012 um 05:34 schrieb Jeong Dalyoung hak...@me.com:
Dear all,
I have two questions.
1. I defined \Myheader and use it to shape the chapter head as
following:
\def\Myheader#1
Am 03.03.2013 um 15:52 schrieb john Culleton j...@wexfordpress.com:
Is there a facility in MKIV for creating an epigraph after a
chapter head? The Memoir class in LaTeX has such a command.
I'll look up \definheadalternative. Maybe it covers it, maybe not.
It depends which solution you
Hi,
Now some questions to solve the problems I have when I try
to follow the tutorial ConTeXt an excursion.
I think it is for mkII and I use mkIV and that there has
been many changes in between.
- The example at the bottom of page 11 and page 12 gives
me an error:
! Argument of \head
On 2013–01–25 Alain Delmotte wrote:
I think it is for mkII and I use mkIV and that there has been many
changes in between.
Indeed.
- The example at the bottom of page 11 and page 12 gives me an
error:
! Argument of \head has an extra }.
\starttext
\startitemize
\starthead
Hi,
Le 25/01/2013 15:47, Marco Patzer a écrit :
On 2013–01–25 Alain Delmotte wrote:
- The example at the bottom of page 11 and page 12 gives me an
error:
! Argument of \head has an extra }.
\starttext
\startitemize
\starthead kraamschudden\hfill (child welcoming) \stophead
On Fri, 18 Jan 2013, Wolfgang Schuster wrote:
Am 17.01.2013 um 19:20 schrieb Aditya Mahajan adit...@umich.edu:
\setuphead[whatever][label=whatever]
does not change anything. This looks like a bug to me.
Otherwise, what is the right way of changing the label of a section head?
\setuphead
Hi,
(This is based on a question on tex.se:
http://tex.stackexchange.com/q/94170/323)
If a new head is defined based on an existing head, it still uses the
label of the previous head.
\definehead[whatever][chapter]
\setuplabeltext[en][whatever=Whatever~]
\setuplabeltext[en][chapter
Am 17.01.2013 um 19:20 schrieb Aditya Mahajan adit...@umich.edu:
Hi,
(This is based on a question on tex.se:
http://tex.stackexchange.com/q/94170/323)
If a new head is defined based on an existing head, it still uses the label
of the previous head.
\definehead[whatever][chapter
opens, if it has been compiled by itself before, otherwise the
link is just going nowhere) instead of the page in product.pdf
On the other hand, hyperlinks to a chapter/... head work as expected.
I haven't used interaction much until now, so I might well be missing
something, but this seems like
: The line/page numbers
on the link is correct, but the hyperlinks points to _component.pdf_
(which opens, if it has been compiled by itself before, otherwise the
link is just going nowhere) instead of the page in product.pdf
On the other hand, hyperlinks to a chapter/... head work as expected.
I
(to be specific: transparency).
Any hint on how to do it?
here's an example (I'll add it to the cld manual):
\starttext
\definecolor[mytransparency][a=1,t=.5]
\startluacode
local enabled = false
local count = 0
function userdata.processmystuff(head)
if enabled then
count = count + 1
Another question...
function userdata.processmystuff(head)
Shall I use this?
userdata = userdata or {}
\startbuffer
whatever \hbox{you} want
\stopbuffer
How do I identify a specific node? Like...
\startbuffer
Will this be
\boxtobechanged{transparent?}
\stopbuffer
André Caldas
On 1/9/2013 9:57 PM, Andre Caldas wrote:
Another question...
function userdata.processmystuff(head)
Shall I use this?
userdata = userdata or {}
\startbuffer
whatever \hbox{you} want
\stopbuffer
How do I identify a specific node? Like...
\startbuffer
Will this be
\boxtobechanged
]
\startxtablehead
\startxrow
\startxcell head one \stopxcell
\startxcell head two \stopxcell
\stopxrow
\stopxtablehead
\startxtablebody
\dorecurse{100}{\startxrow
running head). That was the laziest way I could imagine :P
I guess that's what I want to do. I just don't have the necessary
knowledge yet. ;-)
Some remarks:
- you should rename simplesteps.mkiv to t-simplesteps.mkiv,
indicating that it is a thirdparty module
I will. I think I will have
but that should be taken as a
placeholder at most. In my own slide module I use
\{start,stop}section with the option placehead=no and rely on the
page header to display the slide title (i.e. current section
running head). That was the laziest way I could imagine :P
I guess that's what I want to do. I just
to display the slide title (i.e. current section
running head). That was the laziest way I could imagine :P
Some remarks:
- you should rename simplesteps.mkiv to t-simplesteps.mkiv,
indicating that it is a thirdparty module
- if you plan on expanding the code you eventually will come
don't see anything unusual on
line 16:
https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Preface/Preface.tex
PS Please cc me, as I am not currently subscribed on the list
currently.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail
the most flexible way
of implementing a structure head design. See also:
http://wiki.contextgarden.net/Titles
\definehead
[mysection]
[section]
\setuphead
[mysection]
[alternative=mysection]
\defineheadalternative
[mysection]
[renderingsetup=setup:mysection]
\defineframedtext
601 - 700 of 1652 matches
Mail list logo