Re: [NTG-context] how to change 'figure 1.1' to '?? 1.1'

2007-12-11 Thread Dalyoung Jeong
I am sorry that there is a mistake in the previous mail that I sent.

On Dec 11, 2007, at 9:51 AM, Jeong Dalyoung wrote:
 methods give me more choices.
 Then the \completecontent and \completeindex follows the above setup  
 of chapters.

 My question was how to make the head title setup of contents and of  
 indices free from the chapter setup?

 Now, I find that  the prefix{(a character) (chapter no) (a  
 character)} can be suppressed using prefix=no parameter in  
 \setupcombinedlist for contents and indices.

I may do a wrong test for this.
Without the prefix=no, \comletecontent has no prefix. But  
\completeindex has chapter no and it is not suppressed even the  
commnad \setuplist[index][prefix=no].

I am sorry to list wrong result.

Thank you for reading,

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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to change 'figure 1.1' to '?? 1.1'

2007-12-11 Thread Wolfgang Schuster
2007/12/11, Dalyoung Jeong [EMAIL PROTECTED]:
 I am sorry that there is a mistake in the previous mail that I sent.

 On Dec 11, 2007, at 9:51 AM, Jeong Dalyoung wrote:
  methods give me more choices.
  Then the \completecontent and \completeindex follows the above setup
  of chapters.
 
  My question was how to make the head title setup of contents and of
  indices free from the chapter setup?
 
  Now, I find that  the prefix{(a character) (chapter no) (a
  character)} can be suppressed using prefix=no parameter in
  \setupcombinedlist for contents and indices.

 I may do a wrong test for this.
 Without the prefix=no, \comletecontent has no prefix. But
 \completeindex has chapter no and it is not suppressed even the
 commnad \setuplist[index][prefix=no].

 I am sorry to list wrong result.

 Thank you for reading,

 Best regards,

 Dalyoung

Hi,

the difference between completecontent and completeregister is,
that the first use \title to place the header and the second use \chapter
to place the title and produce therefore a heading number.

You can now use ConTeXt's document structure and place completecontent
between \start/\stopbackmatter or you can use \title in combination
\placeindex, this produce a index without a header.

Wolfgang
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to change 'figure 1.1' to '?? 1.1' (Mojca Miklavec)

2007-12-10 Thread Mojca Miklavec
On Dec 10, 2007 7:37 AM, Dalyoung Jeong wrote:
 Dear Mojca,


 On Dec 8, 2007, at 3:35 AM, [EMAIL PROTECTED] wrote:

  Yesterday, after I reinstalled TeXlive and updated ConTeXt, I got
  kpathsea:
  Running mktextfm lmtypewriter10-regular  message. As a temporary
  method,  I
  renamed mktextfm.
 
  Just change
 MKTEXTFM = 0
  in texmf.cnf

 I am sorry that now I remembered what you said before about
 mktextfm=0.  I found it in the mail from you. After setting it, no
 error messages again. Thank you.

 lang-kor.tex is modified more by the help of people in KTUG.

 To make it more usable, I'd like to know a few things more.

 After defining \chapter in lang-kor, completecontent and completeindex
 follow the setup of chapter as following:
 제  장   contents or 제 no 장 index
 (of course, contents and index are in korean) because \chpater{ch-
 title} produces in such a way, i.e., 제 ch-no 장 ch-title.
 But I'd like to write contents and indices in differently. I looked up
 \setupcombinedlist but I don't know how to make it happen. Is there
 any sample for this?

I'm sorry, I didn't understand the question (I understood the point,
but not how it should look like). You can use

\setuphead[chapter][command=\mychaptercommand]
\def\mychaptercommand#1#2{Title: #2, Number: #1}

http://texshow.contextgarden.net/command/detail/299

But that's not something you would like to use in the long run.

Slovenian also needs sections numbered like
  1. section
  1.1. subsection
  1.2. subsection
  2. section
as opposed to
  1 section
  1.1 subsection
  1.2 subsection
  2 section
which can be achived, but isn't supported globally (so that it would
be the default setting when using that language). It might be that
Korean would also need some additional specific settings.

Mojca
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to change 'figure 1.1' to '?? 1.1' (Mojca Miklavec)

2007-12-10 Thread Wolfgang Schuster
2007/12/10, Mojca Miklavec [EMAIL PROTECTED]:
 On Dec 10, 2007 7:37 AM, Dalyoung Jeong wrote:
  Dear Mojca,
 
 
  On Dec 8, 2007, at 3:35 AM, [EMAIL PROTECTED] wrote:
 
   Yesterday, after I reinstalled TeXlive and updated ConTeXt, I got
   kpathsea:
   Running mktextfm lmtypewriter10-regular  message. As a temporary
   method,  I
   renamed mktextfm.
  
   Just change
  MKTEXTFM = 0
   in texmf.cnf
 
  I am sorry that now I remembered what you said before about
  mktextfm=0.  I found it in the mail from you. After setting it, no
  error messages again. Thank you.
 
  lang-kor.tex is modified more by the help of people in KTUG.
 
  To make it more usable, I'd like to know a few things more.
 
  After defining \chapter in lang-kor, completecontent and completeindex
  follow the setup of chapter as following:
  제  장   contents or 제 no 장 index
  (of course, contents and index are in korean) because \chpater{ch-
  title} produces in such a way, i.e., 제 ch-no 장 ch-title.
  But I'd like to write contents and indices in differently. I looked up
  \setupcombinedlist but I don't know how to make it happen. Is there
  any sample for this?

 I'm sorry, I didn't understand the question (I understood the point,
 but not how it should look like). You can use

I agree to Mojca, your question was hard to undertsand. It will be
easier if you could show us what you want.

 \setuphead[chapter][command=\mychaptercommand]
 \def\mychaptercommand#1#2{Title: #2, Number: #1}

This is also possible without a extra section format.

\setuplabeltext[ko][chapter={제,장}]
\mainlanguage[ko]
\starttext
\chapter{test}
\stoptext

 http://texshow.contextgarden.net/command/detail/299

 But that's not something you would like to use in the long run.

 Slovenian also needs sections numbered like
   1. section
   1.1. subsection
   1.2. subsection
   2. section
 as opposed to
   1 section
   1.1 subsection
   1.2 subsection
   2 section
 which can be achived, but isn't supported globally (so that it would
 be the default setting when using that language). It might be that
 Korean would also need some additional specific settings.

 Mojca

It is not so easy to define this bevaiour language dependent, because
in german we have 1. section 1 section. The first version with dot should
be used only if your document has a appendix, the second version
without dot should be used in documents without a appendix.

The current solution to get a dot at the end is only a workaround in
my eyes and I hope Hans will active the stopper key when he rewrites
the section macros.

Wolfgang
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to change 'figure 1.1' to '?? 1.1'

2007-12-07 Thread Dalyoung Jeong

Dear Mojca and Wolfgang,

Thank you for the comments on lang-kor.tex.


I didn't test, but I would say: forget the dirty hacks and simply  
write

\setuplabeltext [\s!ko]   [\v!figure=??]
It might not work in pdfTeX, but for XeTeX and LuaTeX it should do  
the job. Once you do those changes, feel free to ask again if you  
have problems (and don't forget to ask Hans to include the  
translations).


I modify the files following your advice.
It removes the middle variable \koencoding and make the file  
simpler. And I don't need to use \koencoding{\enableencoding[cjk- 
uni]}.  It worked fine, also. But I'd like to use \setuphead for  
chapter, section, etc because our writing style of head is different  
from that of english.


I uploaded it in KTUG board to be checked by them, since it may be  
need more corrections.


Thank you again.

By the way, do you completely resolve the lmtypewriter10-regular  
problem? which was discussed before in the list?


Yesterday, after I reinstalled TeXlive and updated ConTeXt, I got  
kpathsea: Running mktextfm lmtypewriter10-regular  message. As a  
temporary method,  I renamed mktextfm.
I confirmed that such font file is in texlive opentype font folder   
and lm*.map files in map/dvipdfm folder.


Is there anything that I have to do more? I couldn't see the solution  
in the list.


Thank you for reading.

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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to change 'figure 1.1' to '?? 1.1'

2007-12-07 Thread Mojca Miklavec
On Dec 7, 2007 9:26 AM, Dalyoung Jeong wrote:
 Dear Mojca and Wolfgang,

 Thank you for the comments on lang-kor.tex.


 I didn't test, but I would say: forget the dirty hacks and simply write
 \setuplabeltext [\s!ko]   [\v!figure=??]
 It might not work in pdfTeX, but for XeTeX and LuaTeX it should do the job.
 Once you do those changes, feel free to ask again if you have problems (and
 don't forget to ask Hans to include the translations).

 I modify the files following your advice.
 It removes the middle variable \koencoding and make the file simpler. And
 I don't need to use \koencoding{\enableencoding[cjk-uni]}.  It worked
 fine, also.

Nice to hear.

 But I'd like to use \setuphead for chapter, section, etc because
 our writing style of head is different from that of english.

Was that a question? What exactly would you like to achieve?

 I uploaded it in KTUG board to be checked by them, since it may be need more
 corrections.

Thans for the effort.

 By the way, do you completely resolve the lmtypewriter10-regular problem?
 which was discussed before in the list?

No. Perhaps \nullfont hnstead of lmtypewriter10-regular would help ... :)
I have no idea when the default font is triggered at all.

 Yesterday, after I reinstalled TeXlive and updated ConTeXt, I got kpathsea:
 Running mktextfm lmtypewriter10-regular  message. As a temporary method,  I
 renamed mktextfm.

Just change
MKTEXTFM = 0
in texmf.cnf

 I confirmed that such font file is in texlive opentype font folder  and
 lm*.map files in map/dvipdfm folder.

It's a weird situation. ConTeXt checks if tfm file is present first,
then, if a font with that name exists, and finally if an otf file
exists. So two failures are needed before the dummy useless font has
been found. That should be fixed, but ...

However, this still only affects the speed (slows it down), not the
functionality itself.

 Is there anything that I have to do more? I couldn't see the solution in the
 list.

To achive what?

Mojca
___
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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___