Am 20.09.2014 um 02:56 schrieb Bernd Donner :
> Hello,
>
> I'm converting some context from mkii to mkiv. Since the definelogo is
> depreciated I try to use layers to get the same result.
>
> The problem in the example below is, the text in the header - which is a
>
Hello,
I'm converting some context from mkii to mkiv. Since the definelogo is
depreciated I try to use layers to get the same result.
The problem in the example below is, the text in the header - which is a
table - is not perfectly centered with respect to the bottomframe. What is
the r
n.png][height=20pt]}
...
\startfrontmatter
% logo on page of frontmatter - this one seems to work for all pages of
frontmatter
\definelogo[aitlogo][header][right][state=start,command=\HeadLogo]
...
\stopfrontmatter
\startbodymatter
% logo on page of bodymatter - this one puts the logo in the header o
which were created, and have always been used, under MkII - I get "!
Undefined control sequence" at \definelogo plus other errors.
After mktexlsr, MkII works as expected.
Is there a reference for commands/definitions which work in MkII but not in
MkIV?
Thanks again for your help,
Paul
_
8<schnipp-
\setuppapersize[A4][A4]
\setuplayout[backspace=20mm,
width=160mm,
topspace=20mm, top=0mm,
header=0mm, footer=0mm,
height=250mm, grid=yes]
-8<schnapp-
... and placed the logo like this:
-8<schnipp-----
\definelogo
2008/10/12 Hans Hagen <[EMAIL PROTECTED]>:
> Olivier Guéry wrote:
>> Hello,
>>
>> I tried to put logo on my pages.
>> I got an undefine control sequence with luatex.
>> This small exemple look to run fine with pdftex but not luatex in context
>>
Olivier Guéry wrote:
> Hello,
>
> I tried to put logo on my pages.
> I got an undefine control sequence with luatex.
> This small exemple look to run fine with pdftex but not luatex in context
> live.
>
> \definelogo[mypic][bottom][left]
> [state=start,c
Hello,
I tried to put logo on my pages.
I got an undefine control sequence with luatex.
This small exemple look to run fine with pdftex but not luatex in context live.
\definelogo[mypic][bottom][left]
[state=start,command={\externalfigure[pic]}]
\placelogos[mypic]
\starttext
Hello world
star]~Md~\symbol[star] \crlf
>\symbol[Telephone](555)123-4567 \crlf
>\symbol[Faxmachine] (555)987-6543}
> \lbox{ \hsize 2.0in
> 1234 Main St.\crlf
> P.O. Box 123\crlf
> C
ty, State 12345}
}
}
\setupinterlinespace[reset]
}
\definelogo[Mylogo] [header] [left] [command=\MyLetterhead, state=stop]
\stopenvironment
___
If your question is of interest to others as well, please add an entry to the
Wiki!
g[name][settings]
\defineinteractionmenu[position|names][options and settings]
\defineinteractionmenu[position|name][position|name][settings]
\definelabel[name][text and options]
# \definelayer
# \definelayerpreset
# \definelayout
\definelist[name][name][settings]
\definelogo[name][position]
On Dec 31, 2007 11:59 PM, Idris Samawi Hamid <[EMAIL PROTECTED]> wrote:
> On Mon, 31 Dec 2007 00:50:18 -0700, Idris Samawi Hamid
> <[EMAIL PROTECTED]> wrote:
>
> > =
> > % engine=luatex
> > \setuphead[title][after={\placelogos[ijs
On Mon, 31 Dec 2007 00:50:18 -0700, Idris Samawi Hamid
<[EMAIL PROTECTED]> wrote:
> =
> % engine=luatex
> \setuphead[title][after={\placelogos[ijss]}]
> \definelogo[ijss][footer][left][command=$\aleph$]
>
> \starttext
>
&
Dear consortium,
Logos blow up in luatex (example below). Is there a workaround, or another
method that I should use?
Best wishes
Idris
=
% engine=luatex
\setuphead[title][after={\placelogos[ijss]}]
\definelogo[ijss][footer][left][command=$\aleph$]
\starttext
\title
) I am trying to get a logo to appear in the top left of every page.
I have already discovered that I can include a graphic like so:
\externalfigure[shift]
This works just fine
However if I try to define a logo like so:
\definelogo[logo][top][left]
[command
doing wrong?
\def\FuxionLogo%
{\externalfigure[FT_LogoV2][height=1.5\headerheight]}
\definelogo
[fuxion logo] [top] [middle]
[command=\FuxionLogo,state=start]
\setuppapersize[A4][A4]
\setuppagenumbering
[location={bottom,middle}]
\setupcolors
[state=start]
\definehead[title][title
TD \eTR
> \bTR \bTD [nc=3, align=low] \tfxx Unterschrift eines
> Erziehungsberechtigten: \thinrule \eTD \eTR
> \eTABLE}
>
> \definelayer[kopf][width=\paperwidth, height=\paperheight]
>
> %Klassenarbeiten Kopf
> \def\AAnr{2. Schulaufgabe Englisch 2006/2007}
> \d
\eTR
\bTR \bTD [nc=3, align=low] \tfxx Unterschrift eines
Erziehungsberechtigten: \thinrule \eTD \eTR
\eTABLE}
\definelayer[kopf][width=\paperwidth, height=\paperheight]
%Klassenarbeiten Kopf
\def\AAnr{2. Schulaufgabe Englisch 2006/2007}
\def\Klnr{10 \hfill}
%\define
you could do
something like this:
setuppapersize[A4,landscape][A4,landscape]
\setupcolors[state=start]
\setuplayout
[tospace = 2cm,
backspace=2.5cm,
headerdistance=3\bodyfontsize,
margin=2cm,
width=fit]
\definelogo[Schoollogo]
[top]
[leftmargin]
[command={\framed
,
width=fit]
\definelogo[Schoollogo]
[top]
[leftmargin]
[command={\framedtext[width=\marginwidth,background=color,backgroundcol
or=red]{School
logo}},state=start]
\setupheadertexts[\hfill{\bfa This is our School Name}\hfill]
\starttext
\placelogos
\startalignment[middle]
\cap
]
\definelogo[Schoollogo]
[top]
[leftmargin]
[command={\framedtext[width=\marginwidth,background=color,backgroundcolor=red]{School
logo}},state=start]
\setupheadertexts[\hfill{\bfa This is our School Name}\hfill]
\starttext
\placelogos
\startalignment[middle]
\cap{unit}: (changing
]}
%\definelogo[logo][top][left][command=\UVSQLogo]
\def\maketitle{%
\setupinterlinespace[big]
\showframe
\startalignment[center]
\vskip10mm plus2fil {\rm \bfd [EMAIL PROTECTED] \par}
\vskip10mm plus2fil {\rm \bfd THÈSE \par}
\vskip5mm plus2fil {\tfa présentée et soutenue publiquement le
[EMAIL
e
>>width: dimension/fit/middle
>>rightmargindistance, rightmargin, rightedget = cutspace
>> VERTICAL:
>>topsapce, header, headerdistance
>>height: dimension/fit/middle (=header+text+footer)
>>footerdistance, footer, bottomspace
>> OTHER
>
ted, type, cap,
> small ...command
>marking: on/off_/color
>location: left, middle, right, bottom, top, singlesided_, doublesided
>scale: dimen
>
> \adaptlayout[page_numbers][height,lines]
> \makeupwidth, \makeupheight, \textwidth, \textheight (=height-header-
>
(=height-header-
footer)
\stoptyping
\chapter{Logo}
\starttyping
\definelogo[name][2][3][..=..]
2. top header footer bottom
3. none page leftedge leftmargin left middle right rightmargin rightedge
command
state
\stoptyping
\chapter{Spacing}
\starttyping
\setupinterlinespace[..._][..=..]
..._ reset
Thank you. I'll do some experiments too...GreetingsMarcus ViniciusHans Hagen <[EMAIL PROTECTED]> wrote: Marcus Vinicius Mesquita de So wrote:>> to no avail. Any hints?use layers (comparable featureset) Hans
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates
Marcus Vinicius Mesquita de So wrote:
>
> to no avail. Any hints?
use layers (comparable featureset)
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The N
Experimenting with the logo features as suggested by Henning Hraban Ramm I discovered that I can say:\definelogo[Pagina][text][left][command={\framed{\blackrule}}, state=start]or\definelogo[Pagina][text][middle][command={\framed{\blackrule}}, state=start]or\definelogo[Pagina
Thanks in advance for you help.That's not possible with \setuppagenumbering alone.Try the Logo approach:\setuppagenumbering[alternative=doublesided, location=]\definelogo[Pagina][text][rightmargin][command={\framed {\pagenumber}}, state=start]or have a look at http://wiki.contextgarden.net/Let
alternative=doublesided, location=]
\definelogo[Pagina][text][rightmargin][command={\framed
{\pagenumber}}, state=start]
or have a look at http://wiki.contextgarden.net/Letter_style and its
use of Layers and setups.
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contex
I have the following in an environment file. In the document I then
\def\workingtitle and \def\workdir, and this text is written in the
left margin. I am sure you will get better suggestions from others who
actually know what they are doing ...
Johan
\definecolor[logogray][s=.6]
\definelogo
footertexts[\bf\ss{test}][\bf\ss{\date}]
>
> \def\RedHatLogo%
{\externalfigure[shadowman-32.png][height=32pt,type=png]}
>
> \definelogo
> [small logo] [footer] [middle]
[state=start,command={\RedHatLogo}]
The option middle does not work. I tested all the [footer] locations, bu
t=fit,
header=32pt,
footer=32pt]
\setupfootertexts[\bf\ss{test}][\bf\ss{\date}]
\def\RedHatLogo%
{\externalfigure[shadowman-32.png][type=png]}
\definelogo
[small logo] [footer] [middle]
[command=\RedHatLogo,state=start]
\starttext
\chapter{test}
\placelogos[small logo]
\stoptext
and I
33 matches
Mail list logo