On Sat, 28 May 2011, Jeong Dalyoung wrote:
\startluacode
if languages.current() == "kr" then
context([[\def\lang{Korean}]]) %("\def\lang{Korean}")
else
context([[\def\lang{English}]]) %("\def\lang{Korean}")
end
\stopluacode
currentlanguage: \lang
is not working. (undifined control sequence err
Dear Pontus, Marco, and Peter,
Thank you for replies.
I tested the following codes:
1)
\startluacode
if languages.current() == "kr" then
context("Korean")
else
context("Not Korean")
end
\stopluacode
2)
\doifelse\currentlanguage{en}{\def\lang{English}}{\def\lang{Not English}}\par
currentlanguage
On 27-5-2011 8:03, Taco Hoekwater wrote:
On 27 mei 2011, at 19:50, Aditya Mahajan wrote:
On Fri, 27 May 2011, Jesse Alama wrote:
Throwing an error would be one way to do this. If throwing an error is not possible, perhaps being
able to customize what gets printed when an undefined refe
On Fri, 27 May 2011 21:19:29 +0200
Wolfgang Schuster wrote:
>
> Am 27.05.2011 um 21:08 schrieb Marc Trius:
>
> > No, what is something like:
> >
> > ...
> >
> > \starttypescript [Standard]
> > \definetypeface [Standard] [rm] [serif] [frankruehl] [default]
> > [features=defaul
This is fixing a lot of problems I had, thank you !
Mathieu
From: schuster.wolfg...@googlemail.com
Date: Fri, 27 May 2011 20:46:01 +0200
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Modifying the header of a Register : \setuphead
or \setupregister not working
Am 27.05.2011 um
Am 27.05.2011 um 21:08 schrieb Marc Trius:
> No, what is something like:
>
> ...
>
> \starttypescript [Standard]
> \definetypeface [Standard] [rm] [serif] [frankruehl] [default]
> [features=default]
> \definetypeface [Alt][rm] [serif] [frankruehl] [default]
> [feature
On Fri, 27 May 2011 18:30:53 +0200
Wolfgang Schuster wrote:
>
> Am 27.05.2011 um 18:08 schrieb Marc Trius:
>
> > Hi,
> > I would like to be able to specify a style that would apply to text that
> > appears on the first line of a paragraph after whitespace. I have no idea
> > how to go about i
Am 27.05.2011 um 20:32 schrieb Mathieu DUPONT:
>
> Hi,
>
> How can one modify the header of a Register, after it apparently inherited
> from Chapter ?
> In the following example, I try to have the title "INDEX" at the same height
> as the title "CHAPTER",
> but neither the \setuphead nor \set
Hi,
How can one modify the header of a Register, after it apparently inherited from
Chapter ?In the following example, I try to have the title "INDEX" at the same
height as the title "CHAPTER",but neither the \setuphead nor \setupregister
commands seem to do anything.Is there another command f
On 27 mei 2011, at 19:50, Aditya Mahajan wrote:
> On Fri, 27 May 2011, Jesse Alama wrote:
>
>> Throwing an error would be one way to do this. If throwing an error is not
>> possible, perhaps being able to customize what gets printed when an
>> undefined reference is encountered. E.g., in
On Fri, 27 May 2011, Jesse Alama wrote:
Throwing an error would be one way to do this. If throwing an error is not
possible, perhaps being able to customize what gets printed when an undefined
reference is encountered. E.g., instead of "??", a big, annoying,
impossible-to-miss mark in the ma
On 2011-05-27 17:19:30 +0200, Andreas Schneider said:
On Friday, May 27, 2011 17:09 Wolfgang Schuster wrote:
Am 27.05.2011 um 17:04 schrieb Andreas Schneider:
Hello,
if I use \in, \about, \at or anything else that generates a
cross-reference, and that reference happens to be
Hans, et alia,
Thanks for mentioning typo-mar.mkiv. Once I found it, and figured out
what to do with it (put it in my texmf-local directory), it appears
to, as you say, "offer more control over margindata". My (rather
belated) thanks for offering this extended functionality, though my
grasp of con
Am 27.05.2011 um 18:08 schrieb Marc Trius:
> Hi,
> I would like to be able to specify a style that would apply to text that
> appears on the first line of a paragraph after whitespace. I have no idea how
> to go about it.
>
> Specifically, I have a font with an alternate glyph that can only b
Hi,
I would like to be able to specify a style that would apply to text that
appears on the first line of a paragraph after whitespace. I have no idea how
to go about it.
Specifically, I have a font with an alternate glyph that can only be used after
whitespace, and I would like to have it use
Am 27.05.2011 17:19, schrieb luigi scarso:
> On Fri, May 27, 2011 at 5:11 PM, Peter Rolf wrote:
>> Am 27.05.2011 15:09, schrieb Hartmut Henkel:
> @luigi: an ICC profile definitely breaks the rules
>
> The only chunks left are
>
> IHDRPNG image header: 5900x4094, 8bits/samp
On Friday, May 27, 2011 17:09 Wolfgang Schuster wrote:
> Am 27.05.2011 um 17:04 schrieb Andreas Schneider:
>> Hello,
>>
>> if I use \in, \about, \at or anything else that generates a
>> cross-reference, and that reference happens to be invalid (typo or
>> whatever), it just pri
On Fri, May 27, 2011 at 5:11 PM, Peter Rolf wrote:
> Am 27.05.2011 15:09, schrieb Hartmut Henkel:
@luigi: an ICC profile definitely breaks the rules
The only chunks left are
IHDR PNG image header: 5900x4094, 8bits/sample, truecolor,
>>> noninterlaced
IDAT PNG i
Am 27.05.2011 15:09, schrieb Hartmut Henkel:
>>> @luigi: an ICC profile definitely breaks the rules
>>>
>>> The only chunks left are
>>>
>>> IHDRPNG image header: 5900x4094, 8bits/sample, truecolor,
>> noninterlaced
>>> IDATPNG image data
>>> ..
>>> IDATPNG image data
>>> IENDend-o
Am 27.05.2011 um 17:04 schrieb Andreas Schneider:
> Hello,
>
> if I use \in, \about, \at or anything else that generates a
> cross-reference, and that reference happens to be invalid (typo or
> whatever), it just prints out "nothing". Is there a way to have
> context throw
Hello,
if I use \in, \about, \at or anything else that generates a
cross-reference, and that reference happens to be invalid (typo or
whatever), it just prints out "nothing". Is there a way to have
context throw an error if a reference is invalid? (That probably would
only m
That was very useful.
Thanks again Wolfgang !
Mathieu
From: schuster.wolfg...@googlemail.com
Date: Thu, 26 May 2011 18:52:48 +0200
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] \definehead \setuphead new type included in a
list such as TOC
Am 26.05.2011 um 18:15 schrieb Math
No, I had tried that.The problem is obviously caused by all the layers of
patching, which I need though.
Mathieu
> Date: Fri, 27 May 2011 16:00:36 +0200
> From: alan.bras...@cea.fr
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] TOC : Chapter title under its number (separate
> lines
"interaction=sectionnumber"
rather than
"interaction=all"
doesn't seem to help here...
Alan
On Fri, May 27, 2011 at 09:33:53AM -0400, Mathieu DUPONT wrote:
>
> As for the interaction patching, in the following example I can't figure out
> how to have, for the chapter lines, only "CHAPTER 1" bein
On 27-5-2011 3:07, Hans Hagen wrote:
On 27-5-2011 11:00, Peter Münster wrote:
Hello,
How can one use \asciimode in cld syntax?
This does not seem to work:
context.starttext()
context.asciimode()
context"bla % bla"
context.stoptext()
\starttext
\startluacode
context.startTEXpage()
context.s
As for the interaction patching, in the following example I can't figure out
how to have, for the chapter lines, only "CHAPTER 1" being the interaction and
not "the title" + "the dots line" + "the page number", as it is the case with
this code.The example is minimal, but I left everything I am
> > @luigi: an ICC profile definitely breaks the rules
> >
> > The only chunks left are
> >
> > IHDRPNG image header: 5900x4094, 8bits/sample, truecolor,
> noninterlaced
> > IDATPNG image data
> > ..
> > IDATPNG image data
> > IENDend-of-image marker
> >
> > Mh, where is the sho
On 27-5-2011 11:00, Peter Münster wrote:
Hello,
How can one use \asciimode in cld syntax?
This does not seem to work:
context.starttext()
context.asciimode()
context"bla % bla"
context.stoptext()
\starttext
\startluacode
context.startTEXpage()
context.starttext()
Am 26.05.2011 18:17, schrieb Peter Rolf:
> Am 26.05.2011 12:52, schrieb Peter Rolf:
>> Am 25.05.2011 21:54, schrieb Hartmut Henkel:
> [..]
>>>
>>> no. There is a "PNG Copy" function for literal embedding of the PNG
>>> file, but that triggers only, if the file simultaneously satisfies quite
>>> a f
The »graphictext« makro does not work in mkiv, is it a bug
or intended? This example works in mkii:
\starttext
\startMPcode
draw image(graphictext "FooBar" scaled 8);
\stopMPcode
\stoptext
Marco
___
If your question
On Fri, May 27 2011, Jeong Dalyoung wrote:
> Is it possible to check what is the mainlanguage set in document?
Yes. Example:
%\mainlanguage[fr]
%\language[fr]
\starttext
currentlanguage:
\doifelse\currentlanguage{fr}{French}{Not French}\par
currentmainlanguage:
\doifelse\currentmainlanguage{fr}{
> I'd like to do the following type of setup.
>
>
> if mainlanguage == kr then
>
> do something A
>
> elseif mainlanguage == en then
>
> do something B
>
> else
> do something C
>
> endif
\starttext
\startluacode
if languages.current() == "kr" then
context("Something
On Fri 27 May 2011, Jeong Dalyoung wrote:
> Is it possible to check what is the mainlanguage set in document?
> Now, I use \enablemode[kr] to do something A. But, I'd like to do it
> automatically if possible.
According to http://wiki.contextgarden.net/Modes#System_modes ,
the mode **kr should b
Dear all,
Is it possible to check what is the mainlanguage set in document?
Now, I use \enablemode[kr] to do something A. But, I'd like to do it
automatically if possible.
For example,
I'd like to do the following type of setup.
if mainlanguage == kr then
do something A
elseif mainl
On Thu, May 26, 2011 at 08:16:21PM +0200, Wolfgang Schuster wrote:
>
> Am 26.05.2011 um 18:48 schrieb Alan Braslau:
>
> > \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,interaction=all]
> >
> > Almost works. Almost in that all lines get indented by one level,
> > and the
Hello,
How can one use \asciimode in cld syntax?
This does not seem to work:
context.starttext()
context.asciimode()
context"bla % bla"
context.stoptext()
TIA for any hints!
--
Peter
___
If your questio
Am Montag, den 02.05.2011, 17:30 +0200 schrieb Paul Menzel:
> Am Sonntag, den 01.05.2011, 15:09 -0400 schrieb Aditya Mahajan:
> > On Sun, 1 May 2011, Aditya Mahajan wrote:
> >
> > > On Sun, 1 May 2011, Peter Münster wrote:
> > >
> > >> So, whatever the original enviroment is, context and/or luatex
On 27-5-2011 8:17, Henning Hraban Ramm wrote:
Be aware that ConTeXt needs to convert EPS (or SVG) to PDF before
including - so providing EPS might elongate processing time.
Only once, as conversion is cached.
And PDF sizes depend very much on the used tools, e.g. Acrobat Distiller
PDFs are o
38 matches
Mail list logo