Dear Hans,
Thank you for your concern.
There is no non-ascii character in folder names except ~/Documents/.
And the TeX directory is
/usr/local/texlive/{2007, texmf-local}/...
By the way, where is setuptex command which can be used in Mac? I
tried before as in the wiki, but it couldn't find
Dear Thomas, Hans, and all
I am sorry to give another noise to you. I did install luatex once
more and I'd like to report the results.
I removed TeX completely and reinstalled gwTeX again.
After that I followed the instructions given by Thomas. I made
.luatex for the variables which contains
Dear all,
Finally, luatools is working(gwTeX, Mac OSX 10.4).
Following the instruction given by Thomas, I succeeded to run
'luatools --generate'
but I got an error when I run 'luatools --ini --compile --verbose
cont-en'.
There is a memory problem for the languages.
Following the suggestion,
Dear Idris,
I have used buffers and \plcadefigures to display formula and figure
together. Here is my short sample file.
\startbuffer[one]
\startformula \startmatrix
\NC \NC e_1 \NC e_2 \NC e_3 \NC e_5 \NC e_5 \NR
\NC u \NC 0 \NC 1 \NC 1 \NC 0 \NC 1 \NR
\NC v \NC 1 \NC 0 \NC 1 \NC 0 \NC 0
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
-ascii
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
Dear Aditya,
Here are the test result.
context.setvalue(lang, English)
It is working.
context([[\\def\\lang{English}]])
It is not working. It just prints def langEnglish.
Now, I got two solutions, using luacode and using \doifelse.
Thank you.
Best regards,
Dalyoung
Dear Lucas,
Shouldn't it be (untested):
context(\\def\\lang{English})
It is working.
context([[\def\lang{English}]])
It is not working. It prints def lang English.
Thank you.
Best regards,
Dalyoung
Dear Lukas,
Thank you for the explanation.
I guessed that your original
[[\\def\\lang{English}]]
No errors message, but it's not working as the way as I want. It just print
def langEnglish.
[[\def\lang{English}]]
This cause the error message and halt the compiling.
Best regards,
Dear Aditya,
context([[\def\noexpand\Lang{...}]])
not working
or
context([[\def\string\Lang{...}]])
working
I don't understand why
context([[\def\\Lang{...}]])
working, too
You are right. [[\def\\Lang{English}]] method works.
I summerize it as a test file. The first 5
Dear Hans and Wolfgang,
Thank you for the comments and samples.
What exactly do you plan to do with the language check, for simple texts your
method is overkill and labeltexts are better suited, even a command which
prints a text can be written in TeX without problems:
Yes, you are
Hi all,
I got the reason why the pictures locate in different position.
rotation causes the problem.
I defined domino as follows.
It is not the exact code but just show the form of the codes.
...
def domino (a, b, c, d )
save pic;
picture pic;
draw something 1;
Hi,
Here are a few questions.
1. The output of
\section{one}
\section{two}
is
1.1 one
1.2 two
But is it possible to suppress the prefix chapter number like
1 one
2 two
?
2. When defining custom itemgroup, we can set each level using the predefined
item headers, like n, r, 1, 2, ,
Dear Wolfgang,
Thank you for the solutions.
But for the question 2, I didn't explain well what I want to.
Actually, the codes
\def\circlednum#1{\uchar{36}{95+#1}}
\defineconversion[cnum][\circlednum]
working well by saying that \startitemize[cnum][stopper=] ...
And, your suggested method
Dear Wolfgang,
\setupitemgroup[ltxitm][3][circlednumber,packed][stopper=]
It is working.
It depends on the fonts.
Also,
\def\circlednum#1{\uchar{36}{95+#1}}
\defineconversion[cnum][\circlednum]
\defineitemgroup[txitm][levels=5]
%
\setupitemgroup[txitm][1][R]
\setupitemgroup[txitm][2][a]
Dear all,
I have a strange output today.
Writing a sentences, it makes a page break even though there are enough space
for the remaining sentences.
Here are sample output.(the lines is a frame)
As you see there are enough space, I think.
inline: bottom.tiff
inline: topnewpage.jpg
Sometimes,
Dear all,
For the header text, I used \getmarking as follows:
\setupheadertexts[][{\getmarking[{\v!title}]}]
Then it showed title in the header as shown in the text which is bigger than
default bodyfont size.
It is rather big for the header text.
How to make it using the default font size or
Dear all,
For the header text, I used \getmarking as follows:
\setupheadertexts[][{\getmarking[{\v!title}]}]
*
This problem comes from my setting which is as follows:
\title{\ss\bf\tfb Title}
I changed it by using the definition as follows:
\def\Mytitle#1{%
\framedtext
Dear Woldgang,
I replaced a line in scrn-fld.mkvi as you suggested.
After compiling, animation worked well.
Will it be fixed in the next beta?
Thank you.
Dalyoung
___
If your question is of interest to others as
Dear all,
There is an error message, undefined control sequence as below when I use
\startstructureblockenvironment:
mtx-context | run 1: luatex
--fmt=/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
Dear Wolfgang,
There is an error message, undefined control sequence as below when I use
\startstructureblockenvironment:
Use \startsectionblockenvironment.
After changing structureblock to sectionblock, it works fine.
And, I see that the wiki is already changed.
Thank you.
Best
Dear all,
I use MetaFun to create a figure and embed it using \processMPbuffer[].
for example,
\startbuffer[test]
draw fullcircle scaled 3cm;
\stopbuffer
\starttext
\placefigure[][]{}
\processMPbuffer[test]
\stoptext
But sometimes, I need to rescaling the mp figure to fit the page.
Is there a
Dear Hans and Mojca,
Thank you for your solution.
It works well.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Dear Otared,
I run your code and got the output which is as same as in your file
align-mkii.pdf
I don't know why you got align-mkiv.pdf.
In my log file,
ConTeXt ver: 2011.10.08 11:42 MKIV fmt: 2011.10.12 int: english/english
...
mkiv lua stats luatex banner - this is luatex,
Dear Wolfgang,
To use the option title=yes in enumeration, I have encountered a unwanted
result.
It display the first letter as a title when I didn't put title.
Would you please check the following code?
\setupenumerations[location=serried,width=broad,distance=0.5em]
Dear Wolfgang,
Thank you for the explanation.
The optional title for theorem is very useful in many ways.
I hope that it is added to the new code soon.
Best regards,
Dalyoung
___
If your question is of interest to
Dear Aditya
Thank you for your tip.
After adding the line \setupbackgrounds[header][text]
[bottomframe=on,topframe=on], I got lines of whole length.
However, [rule=on] option only draw vertical line as long as the
paragraph not to the bottom.
Please test once more using a short paragraph(3-4
Dear all,
After updating ConTeXt via i-installer, I create the formats using
texmfstart texexec --make en
texmfstart texexec --make --xtx en
I tested several files which were compiled well under the previous
version.
But, I got so many warnings during the compiling.
What do I have to do to
Dear all,
Recently I updated TeXlive and ConTeXt. After that the compiling time
of a file under ConTeXt+XeTeX became longer than before. However,
there is no change when I compiled the files using ConTeXt.
I tested the same file using the previous ConTeXt version in the
another Mac and
Dear Mojca,
As you told me, I changed outputdriver in tex.rb from xdvipdfmx to
xdv2pdf and run it.
There is no delay at all, but the output pdf lost color and mp stuffs.
I think that it is better to use xdvipdfmx even though it took more
times.
During the test, I found a strange result.
Dear Helin,
I followed Taco's solution.
http://archive.contextgarden.net/message/
20070130.082837.4bc51f61.en.html
In brief,
1. make a folder
/usr/local/gwTeX/texmf.texlive/fonts/map/pdftex/context/
2. copy all files in the folder
Dear Aditya,
Thank you for your help.
[commnad=\inframed] worked fine.
It remains to adjust the size of the frame because bottom line of the
frame touch the words in the next line.
Thank you again.
Best regards,
Dalyoung
___
ntg-context mailing
Dear Hans,
I got the same problem with new ConTeXt update.
! Font \*12ptrmtfrm*=[ec-lmr12] not loadable: Metric (TFM) file or
installed fo
nt not found.
to be read again
\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
Hello,
\placefloat will put 'figure 1.1' or 'table 1.1' below the figures(or
tables).
I'd like to change figure or table to my own language.
I looked into the manual, but there is no option which change figure
or table.
I tried definefloat[그림][그림들], but ConTeXt did not accept it.
Is there
Dear all,
In the following sample, header text located at the top of the header.
But, I'd like to align the header text in vertical center.
I tried \dontleavehmode, \vfill, top=\vss, etc, but I couldn't succeed.
\setuplayout[header=1cm, width=18cm, backspace=1.5cm]
Dear Hans,
Thank you for your solution.
I tried \dontleavehmode\vfill infront of the header text which invoked an error.
I didn't think about \setupheader.
Thank you again.
Best regards,
Dalyoung
2012. 6. 14., 오후 7:52, Hans Hagen 작성:
On 14-6-2012 12:31, Jeong Dalyoung wrote:
\setuplayout
Dear all,
I have two questions.
1. I defined \Myheader and use it to shape the chapter head as following:
\def\Myheader#1#2{%
\framedtext
[width=\overlaywidth,
height=9\bodyfontsize,
background=color,
backgroundcolor=lightgray,
offset=2pt,
strut=no,
frame=off,
align={middle, middle}]
{
{\tfb
Dear all,
Today I tried to update ConTeXt using first setup and got an error message:
Error: your system Darwin x86_64 is not supported yet.
first setup worked well before I upgrade Mac OS to Mountain Lion from snow
leopard two weeks ago.
The current ConTeXt version and Luatex version in
Dear Listers,
\startchapter[title=Test] is working inside \starttext and \stoptext.
But it is not working inside \startcomponent and \stopcomponent.
Is it a natural behavior?
I am using iMac, OSX Mountain Lion.
And the ConTeXt version is ConTeXt ver: 2012.08.28 20:00 MKIV fmt: 2012.9.4
int:
Dear Marco,
Aha, I missed to put the name of the component.
With the component name, it works fine.
I am sorry for the noise.
Thank you.
Best regards,
Dalyoung
___
If your question is of interest to others as well,
Dear Pol stra,
I run your sample and got the same error.
After changing pre-stepwise to pre-60, I run it again, but the same error
occurs.
!LuaTeX error: There should have been a lua node here, not an object with
type string!
== Fatal error occurred, no output PDF file produced!
I
Dear all,
1. I have used \startalign many times before without tag and it worked well.
Thanks Aditya.
now, I tried to set a tag for an equation using \NR[+]:
But there is no reference numbers in the output. Since there is no mention
about this problem in the list, I think that it is my only
Dear Aditya,
It was my dumb question.
Thank you.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Dear all,
I tried to make a chapter head with 3 lines as following:
Chapter #1
Main Title
subtitle
I looked up wiki and saw many good examples. I modified them to test the above
structure. I am using 3 arguments. But it
Dear all,
It is solved by using \chapter{title \crlf subtile}.
I am sorry for this noise.
If there is a nice way, please let me know.
Thanks.
Best regards,
Dalyoung
___
If your question is of interest to others
Dear all,
First, thanks Wolfgang and Hans for suggestions about the chapter head.
Using \cases, I can use large left brace for lines of equations. But, how to
put a large right brace after lines of equations which groups them.
Is it possible in the \startformula\startalign ...
Dear Aditya,
Thank you for suggestion.
Here is my situation.
- equation1 -
equation 2 -
-equation 3 ]
-equation 4 ] big rbrace for 3,4,5 and some text here
-equation 5 ]
-equation 6
According
Dear Aditya,
Thank you for your nice solution.
\startformula \startalign[n=1]
\NC equation 1 \NR
\NC equation 2 \NR
\NC \startmatrix[left={\left.}, right={\right\}}, n=1, align=middle]
\NC equation 3 \NR
\NC equation 4 \NR
\NC equation 5 \NR
\stopmatrix
some text
Dear all,
First, yesterday was the new year's day in Lunar calendar, and it is the
biggest holiday in a year for us. So I'd like to say Happy New Year! again.
I use the following code to list some items and avoid the overlapping (viii)
and letters:
\startitemize[r,
Dear Li,
Thank you for the solution.
It works fine.
In ConTeXt, there are so many hidden jewelry for a simple user like me.
But it is a joy to find one by one.
Best regards,
Dalyoung
Hi Dalyoung,
??? (happy new year)?
You can try \setupitemize[symalign=flushright,distance=0.5em].
Dear all,
The otherday, I asked about three line chapter head and got a solution.
\chapter{\tfd Title \\ \tfc subtitle}
Then, in the table of contents, it also listed as a big fonts.
How to make the contents with a normal fonts?
I tried \setuplist[style=normal, textstyle=normal], but no
Dear Li,
Thank you for the solution.
It works fine.
In ConTeXt, there are so many hidden jewelry for a simple user like me.
But it is a joy to find one by one.
Best regards,
Dalyoung
Hi Dalyoung,
??? (happy new year)?
You can try \setupitemize[symalign=flushright,distance=0.5em].
Dear Andreas,
Thank you for your code.
I'll try it.
The other day, Wolfgang suggested me the same page in wiki.
But, It looks a little bit complicate, so I use another simple method.
Now, it is the time to look at it once more.
Thanks again.
best regards,
Dalyoung
Dear Hans,
So, it looks like some figure definition going wrong. Can you see what
\*externalfigure commands are used (just grep them and mail them)
\??oi -@
I am sorry that I am not good at unix commnad.
Would you please how to do that?
and
how does the whole line looks like (the ...)
Dear Hans,
Localization is not that complex ... mostly a matter of extending tables ...
just let us know what you have in mind.
Ok, I'll check what I can do.
Currently we have one set of parameters that you can see in
local dataset = {
inter_char_stretch_factor = 0.50, -- of
Dear all.
I try to draw a circle with points on it as following:
path p; p:= fullcircle scaled 5cm;
draw p;
pickup pencircle scaled 2mm;
k:=1;
for i = 2.2,3,3.5,4.5,5,7,0,.7,1.3:
drawpoint point i of p;
label.lft(decimal k, point i of p);
k:= k+1;
endfor;
It draws a
Jeong Dalyoung).
- Cleaned of referencing (formats).
___
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
Dear Tom,
I had the similar problem.
You may consider Andrea's and Wolfgang's suggestion in ntg-context Digest mail,
Vol 80, issue 24, 25.
chapter head and placelist
Enjoy ConTeXt.
best regards,
Dalyoung
___
Dear Wolfgang,
I tested your example on the multiple families of fonts.
It works nicely.
I have a few question.
There is no toc generated, just only head Contents appeared.
Since Intro and dedication are counted as chapters, the first chapter numbered
3. How to start chapter number from 1
Dear Wolfgang,
It is nicely working.
Chapter numbers and contents are look good.
Thank you.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
Dear all,
I tested the following code from Metafun.
\startuseMPgraphic{lions b}
picture pic;
path p ; p := fullsquare xyscaled (\overlaywidth,\overlayheight) randomized 5pt
;
pickup pencircle scaled 1pt ;
fill p withcolor .850yellow ;
draw p withcolor .5yellow ;
\stopuseMPgraphic
Dear Hongwen,
\dontleavehmode make it work.
The answer is always around me but not for my eyes.
Thank you.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Dear all,
I'd like to start every chapter starts from an odd page.
page=right or page=left doesn't affect the page setting.
I tried it using pagenumbering, but not succeed.
I also want to put counting + pagenumber at the header of everypage.
How to make it work?
Here is my setting. Corrections
Dear Hans and Wolfgang,
Thank you for the help.
The contents of a book is already fixed and nowI tired to make a book in a
better shape.
Best regards,
Dalyoung
___
If your question is of interest to others as
Dear Lutz,
After replacing blblogo.pdf with a figure file in my system and tested it.
Otherwise, it shows a gray rectangle.
I got no error and the output is fine.( Test and the figure are well shown)
I don't know rev 4090 but here is the version of ConTeXt minimal in my
system.
...
This is
Dear all,
I defined Example as following:
\defineenumeration[Example]
[location=serried,
headstyle=bold,
command={\framed[height=1.3em]},
text={\ss \white 예제},
prefix=yes,
prefixsegments=chapter,
way=bychapter,
width=broad,
number=yes,
before={\blank[big]},
Dear all,
I tried define a font whose name contains a space, but not succeed.
font name: smMokPan Medium
font file name: smMokPan Medium.otf
I tired as follows, but ConTeXt couldn't locate the font file.
\definefont[testfont][name:smMokPan Medium]
\definefont[testfont][name:(smMokPan\space
Dear Hans,
After removing space in the name, LuaTeX locates the font.
However, I couldn't get an output.
There is a fatal error message as following:
)/Users/graph/Library/Fonts/smMokPan Medium.otf
!LuaTeX error (file /Users/graph/Library/Fonts/smMokPan Medium.otf): Invalid
character.
==
Hi,
If you want to reveal parts of a drawing sequentially, you may try MetaFun and
AdobeReader.
There is a sample in 13.6 Growing graphics, metafun manual(metafun-p).
It needs your time but the result is very nice.
I hope you enjoy it.
Best regards,
Dalyoung
Dear Taco,
Thank you for your comment.
I renamed the font to ~.ttf, luatools --generate first.
And try the same file.
At this time, there is no Fatal error messages, but still it doesn't locate
the font file.
So, I tested a few more things.
Test 1:
luatools locates all the fonts which has
Dear Wolfgang,
Yes, as you said, it is working.
The current result of mtxrun is as following:
Math-iMac:~ graph$ mtxrun --script font --list --all --pattern=georgia*
georgia georgia /Library/Fonts/Georgia.ttf
georgiabold georgiabold
Dear Tom,
Please add following lines in the preamble, then you will get roman numerals.
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
Also I use \startstructureblockenvironment[backpart] instead of
Dear Tom,
Since I am an enduser of ConTeXt, I couldn't expalin what happens here.
I just run your code in the mail and got the following results.
1. Front matter page numbers are not lower-case Roman numerals although they
are listed as such in the TOC.
The Roman numerals in both front
Dear Tom,
What version are you using?
I am using minimal not TeXlive2010. Of course, there are some bugs in beta. But
it would be fixed soon.
Moreover, you can have more than one Minimal folder. So it is easy to use
stable version if the beta has bugs.
BTW, where did you read to use
Dear Tom,
I am sorry that my experience is not help for you.
I am usning Mac OS X.
I just downloaded first-setup.sh and run it. Then it installs minimal and makes
formats well.
Minimal's current version: 2011.02.25 22:03
This is LuaTeX, Version beta-0.65.0-2010121316
However, I believe that
Dear Tom,
good to hear that minimal is working fine.
I had the same experience that you had with the Introduction not showing up
in the TOC. Do you know how to report a bug?
I think that completecontent doesn't recognize the user defined intro. It is
all what I can tell you.
If you have no
Dear all,
I'd like to use circled number for item head.
I found one method which use a counter as follows:
\def\circlednum#1{\uchar{36}{95+#1}}
\defineconversion[myitem][\circlednum]
\starttext
\startitemize[myitem, pack]
\item 111
\item 222
\item 333
\item 444
\item 555
\stopitemize
Dear Wolfgang,
Thank you for reminding me the thread.
I also found it yesterday evening and it made me realize how dumb I am.
I am so sorry to give you a needless work.
I'd like to ask you one more.
I was looking for a way to use some characters as an item head like
\startitemize[a] because an
Dear Aditya,
Thank you for the solution.
You cleared one of my wish list in one sentence.
\defineconversion[whatever][One, Two, Three, Four]
I was just looking for a way to use the counter.
Best regards,
Dalyoung
Dear all,
I'd like to write a label with a subscript in MetaFun where the subscript is a
variable.
I tried in several way but not succeed. The best which I made is
for i= 0 upto 8:
label( z decimal i, z[i]);
endfor;
So the output is z1, z2, z3, ...
And, the following commands are not
Dear Zhichu and Aditya,
Thank you for the solution.
label (textext($z_{ decimal (i) }$ ), z[i]) ;
is working well.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an
Dear all,
I'd like to show the following formula line by line in a presentation,
For example,
\startformula\startalign
\NC T(4) \NC = T(3) + 4 \NR
\NC \NC= T(2) + 3 + 4 \NR
\NC \NC= T(1) + 2 + 3 + 4 \NR
\NC \NC= 1 + 2 + 3 + 4 = 10 \NR
\stopalign\stopformula
I tried to use \StartSteps and
Dear Wolfgang and Otared,
Thank you for the reply.
I have used \setupinteraction[state=start] and open with Adobe Reader already.
\StartSteps worked well in \startitemize and \startcombination. For example,
\StartSteps
\startitemize
\item $T(n) =$ \FlushStep
\blank[5*big]
\item $T(n) =$
Dear Wolfgang and Otared,
Yes, It is working now.
But I don't know why it made an error before although \startcombination part
worked well.
I did something wrong before.
Btw, What do mean it is not working correctly?
Thank you for testing.
Best regards,
Dalyoung
Dear all,
I tried the following code for presentation, but not succeeded.
It just draw a small circle without frame even frame=on.
The word here is colored green but there is no interaction when I click
here.
Is there anything wrong in the following code?
Thank you.
Best regards,
Dalyoung
Dear Wolfgang and Hans,
Thank you for checking. I'll wait for next beta.
It is one of nice features in presentation and was working well sometime ago.
Your mail reminds me to finish my animation module which makes it simpler
to generate such animations, e.g. the above can be written as
Dear Hans,
There is something wrong with the fieldstack mechanism.
fixed in next beta (mismatch between field.value in javascript and
rendering key)
I updated to the latest beta(5/15) and tested both the Wolfgang's sample and
mine.
They are working well.
Thank you for quick fixing of
Dear Wolfgang,
Thank you for the files.
Yes, the code is a separate module and you can download it here:
https://bitbucket.org/wolfs/animation/src
I downloaded in .zip file, and found many files.
I copied t-animation.mkvi ../texmf-local/tex/context and run luatools
--generate.
After that
Dear Wolfgang,
Your animation module works really fine.
It reduces a lot of work to set the fieldstack.
I'd like to ask you a few more small things.
1) Is it possible to set the duration time in the case of autoplay?
2) The location of buttons is leftaligned when [menu=yes]. Is it what you want
Dear all,
Today, I updated ConTeXt Minimal using first-setup.sh in my Mac.
I compiled a file which was compiled well before update.
But I got a strange result in the output.
All english sentences are shown well except korean sentences. In the log file,
...
systems : end file myBstyle
Dear Wolfgang,
It is nicely working.
Thank you for your help.
best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
91 matches
Mail list logo