[NTG-context] Two questions related with bibliography

2012-07-29 Thread Wei-Wei Guo
Dear all, I have a self-made bst file in the same folder with the main tex file. I cannot figure out how to enable it. I tried \setuppublications[alternative=mybst] and \bibstyle[mybst] Both do not work. How should I do? Another question is how to set the citations in main text to

[NTG-context] Does or will bib module use ris format?

2009-05-15 Thread Wei-Wei Guo
Hi Taco, I searched in mailing list and found that you had been considering using risx as the internal bib format? Did you do it in t-bib? And as I understand, you are writing a new bib module with Lua. What will the internal format of the new bib module be? I'm using RefDB, whose internal bib

Re: [NTG-context] beta

2009-05-11 Thread Wei-Wei Guo
Hans Hagen 写道: i uploaded a beta with some fixes The following bug is still there. ! Argument of \dotripletestemptyx has an extra }. inserted text \par to be read again } \doif #1#2-\edef \!!stringa {#1} \edef \!!stringb

Re: [NTG-context] texts in \component files are not present

2009-05-11 Thread Wei-Wei Guo
Henning Hraban Ramm 写道: Am 2009-05-11 um 02:32 schrieb Wei-Wei Guo: 1. Don't use project files as top level file for your document, use product and components (which can be nested) files only, projects are meta file when you have many document with the same topic (e.g. a magazine etc

[NTG-context] texts in \component files are not present

2009-05-10 Thread Wei-Wei Guo
Dear all, Text in component files are not included in the attached example. I also put the log file in it. The log shows that the component files were found and complied but their texts were not present in the generated pdf file. I'm not sure whether I did anything wrong in the example or

Re: [NTG-context] texts in \component files are not present

2009-05-10 Thread Wei-Wei Guo
Hans Hagen 写道: Text in component files are not included in the attached example. I also put the log file in it. The log shows that the component files were found and complied but their texts were not present in the generated pdf file. I'm not sure whether I did anything wrong in the example

Re: [NTG-context] texts in \component files are not present

2009-05-10 Thread Wei-Wei Guo
Wolfgang Schuster 写道: Text in component files are not included in the attached example. I also put the log file in it. The log shows that the component files were found and complied but their texts were not present in the generated pdf file. I'm not sure whether I did anything wrong in the

Re: [NTG-context] beta

2009-04-29 Thread Wei-Wei Guo
Yanrui Li 写道: Hi, The numbering of footnotes are abnormal. Simple example: \starttext \chapter{T} This is a test\footnote{t}. \chapter{E} This is a test\footnote{e}. \chapter{S} This is a test\footnote{s}. \chapter{T} This is a test\footnote{t}. \stoptext The numbering of four footnotes

Re: [NTG-context] beta

2009-04-28 Thread Wei-Wei Guo
Hans Hagen 写道: I uploaded a beta just before leaving for bachotek. Quite some structure (lua) code has been overhauled and i need to finish some bits. Have fun! As I'm redoing the backend as well as cross referencing some interaction features might be broken but normally they are easy

[NTG-context] Mplib problem of latest beta on luatex 0.40

2009-04-26 Thread Wei-Wei Guo
Dear developers, Here is the example and warnings. Example: \startuseMPgraphic{mpos:par:columnset:textuline} \iftracepositions show_multi_pars \else draw_multi_pars \fi ; path p ; p := boundingbox currentpicture ; currentpicture := currentpicture shifted

Re: [NTG-context] Mplib problem of latest beta on luatex 0.40

2009-04-26 Thread Wei-Wei Guo
Longmin Wang 写道: Hi Longmin, It works fine here with the latest beta and luatex 0.40. You may try to delete luatex-cache and regenerate it. It solves the problem, thanks. I find another problem with the example in my previous email. I changed the example a little bit. Example:

Re: [NTG-context] Font table

2009-04-20 Thread Wei-Wei Guo
Hans Hagen 写道: Hi, Here are my results with those two commands: luatools --show-path tex !!/etc/texmf/tex/context//: !!/etc/texmf/tex/plain//: !!/etc/texmf/tex/generic//: !!/etc/texmf/tex///: !!/var/lib/texmf/tex/context//: !!/var/lib/texmf/tex/plain//: !!/var/lib/texmf/tex/generic//:

Re: [NTG-context] Font table

2009-04-20 Thread Wei-Wei Guo
Hans Hagen 写道: luatools --show-path tex !!/etc/texmf/tex/context//: !!/etc/texmf/tex/plain//: !!/etc/texmf/tex/generic//: !!/etc/texmf/tex///: !!/var/lib/texmf/tex/context//: !!/var/lib/texmf/tex/plain//: !!/var/lib/texmf/tex/generic//: !!/var/lib/texmf/tex///:

Re: [NTG-context] Font table

2009-04-19 Thread Wei-Wei Guo
Eythan Weg 写道: Hans Hagen pra...@wxs.nl Sat, 18 Apr 2009 21:21:37 +0200 Eythan Weg wrote: Hi, I tried this mtxrun --verbose --reload --script fonts but it fails with: MTXrun | using script:

Re: [NTG-context] How to set \definemakeup without affect other pages?

2009-04-18 Thread Wei-Wei Guo
Wolfgang Schuster 写道: I use \setupbackgrounds to draw a line under header. It works fine. When I setup a cover makeup and use it, the lines under headers are gone. The headerstate=none causes the problem. But I don't want the lines under headers appear in cover. What should I do?

Re: [NTG-context] new beta

2009-04-18 Thread Wei-Wei Guo
Hans Hagen 写道: Wei-Wei Guo wrote: 1 Should have a caption title here Should have dots here 13 Example: \starttext \completelistoftables \placetable[here][example-table]{\LaTeX} \starttable[|l|l|] \NC longtable \NC

Re: [NTG-context] new beta

2009-04-18 Thread Wei-Wei Guo
Hans Hagen 写道: there was a bug in the flusher (footnotes can have 3 states: insert, postpone and save) however, your example also needs a fix: watch the start-stop local place as otherwise the note in the caption ends of nowhere here you have insert's (outer ones), a local one (in the

Re: [NTG-context] How to set \definemakeup without affect other pages?

2009-04-18 Thread Wei-Wei Guo
Wolfgang Schuster 写道: The headerstate=none causes the problem. But I don't want the lines under headers appear in cover. What should I do? headerstate=high I just noticed that headerstate=high had a side effect. The cover should be followed by a blank page. With high, the blank page has

Re: [NTG-context] new beta

2009-04-18 Thread Wei-Wei Guo
Hans Hagen 写道: Wei-Wei Guo wrote: And I have a further question. Is it possible to put the footnote of table head under the table instead of at the bottom of the page? I think it would be more reasonable of putting the footnote under the table. in principle yes, but then i need to add

Re: [NTG-context] How to set \definemakeup without affect other pages?

2009-04-18 Thread Wei-Wei Guo
Hi Wolfgang, Wolfgang Schuster 写道: Am 18.04.2009 um 06:21 schrieb Wei-Wei Guo: Dear all, I use \setupbackgrounds to draw a line under header. It works fine. When I setup a cover makeup and use it, the lines under headers are gone. The headerstate=none causes the problem. But I don't want

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
appears in contents list. Best wishes, Wei-Wei Wei-Wei Guo 写道: Hi Hans, Something are not working here with the latest beta on luatex 0.39. 1. The following two settings has no effect. % lines under headers. \setupbackgrounds [header][text] [frame=off,bottomframe

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
Hi Hans, Here is the minimal examples. 1. The figure list and table list do not show caption titles and dots. Only label number and page number appear there, such as: 1 Should have a caption title here Should have dots here 13 Example: \starttext

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
Hi Hans, Another bug, probably. 4. interlinespace of \setupbodyfontenvironment is not working. Example: \setupbodyfontenvironment[12pt] [interlinespace=2.3ex] \setupbodyfont[rm,12pt] \starttext \input knuth

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
Hi, The reproduction of the footnote problem is tricky. And it seems it's not a Chinese related problem. Here is the example: %=== \starttext \chapter{First} Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is

[NTG-context] How to set \definemakeup without affect other pages?

2009-04-17 Thread Wei-Wei Guo
Dear all, I use \setupbackgrounds to draw a line under header. It works fine. When I setup a cover makeup and use it, the lines under headers are gone. The headerstate=none causes the problem. But I don't want the lines under headers appear in cover. What should I do? Here is an example.

Re: [NTG-context] How to set a layout shown in the attachment png file?

2009-04-16 Thread Wei-Wei Guo
Hi Ales, Alex Lubberts 写道: I attached a PNG file to show the layout that I want. I want the text part narrowed and right aligned. I tried the following settings: \setuplayout [backspace=20mm, topspace=20mm, height=257mm, width=170mm, %textwidth=115mm, header=10mm,

Re: [NTG-context] new beta

2009-04-16 Thread Wei-Wei Guo
Hi Hans, Something are not working here with the latest beta on luatex 0.39. 1. The following two settings has no effect. % lines under headers. \setupbackgrounds [header][text] [frame=off,bottomframe=on,rulethickness=1.5pt] % Text inserted in Contents

[NTG-context] How to set a layout shown in the attachment png file?

2009-04-15 Thread Wei-Wei Guo
Dear all, I attached a PNG file to show the layout that I want. I want the text part narrowed and right aligned. I tried the following settings: \setuplayout [backspace=20mm, topspace=20mm, height=257mm, width=170mm, %textwidth=115mm, header=10mm, footer=0mm,

Re: [NTG-context] TeXLive 2008 + ConTeXt problems (on Gentoo Linux)

2009-04-14 Thread Wei-Wei Guo
Hi Matija, You need to set TEXMFCNF, TEXMFCACHE, and OSFONTDIR in your system environment, for example in /etc/env.d/98texlive. Best wishes, Wei-Wei Matija Šuklje 写道: Hullo, it's been a while since I used ConTeXt (I simply didn't have to write any documents), but now that I upgraded to

Re: [NTG-context] TeXLive 2008 + ConTeXt problems (on Gentoo Linux)

2009-04-14 Thread Wei-Wei Guo
Hi, - TEXMFCNF value should be /etc/texmf/web2c. - TEXMFCACHE value is the directory chosen by yourself. - OSFONTDIR value should be the paths of your system fonts. Best wishes, Wei-Wei Matija Šuklje 写道: Dne sreda 15. aprila 2009 je Wei-Wei Guo napisal(a): You need to set TEXMFCNF

Re: [NTG-context] new structure code

2009-04-13 Thread Wei-Wei Guo
Hi Wolfgang, I just notice that you said adding my error with new beta in this thread, so I post it here again. Problem with footertexts. ! Undefined control sequence. argument \@@plaatspaginanummer \firstoftwoarguments #1#2-#1 \doattributes ...sname #1...@ea \endcsname \fi {#4

Re: [NTG-context] new beta

2009-04-11 Thread Wei-Wei Guo
Hi Wolfgang, Here is the minimal example, \setupfootertexts[][pagenumber][pagenumber][] \starttext \input knuth \stoptext Just as you said, it's a problem with footertexts. Wei-Wei Wolfgang Schuster 写道: I get an error: ! Undefined control sequence. argument

Re: [NTG-context] new beta

2009-04-10 Thread Wei-Wei Guo
Hi Hans, I get an error: ! Undefined control sequence. argument \@@plaatspaginanummer \firstoftwoarguments #1#2-#1 \doattributes ...sname #1...@ea \endcsname \fi {#4 }\dostopattributes \dosingletexts ...atetexts

Re: [NTG-context] How to use MPgraphic with options?

2009-04-09 Thread Wei-Wei Guo
Thanks! Best wishes, Wei-Wei Mikael Persson 写道: I think this is one way: \startuseMPgraphic{ARule} draw origin -- (\MPvar{mylength},0) ; \stopuseMPgraphic \def\ARule#1{% \setupMPvariables[ARule][mylength=#1] \useMPgraphic{ARule} } \starttext Foo \ARule{5mm} bar \ARule{10mm} \stoptext Best

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-08 Thread Wei-Wei Guo
. - Description seems more promising, but the head will be about one line height higher than the text with underline (I use location=left). Could you help me with it? Wei-Wei Wolfgang Schuster 写道: Am 06.04.2009 um 17:17 schrieb Wei-Wei Guo: Dear all, I need to draw underlines under a paragraph

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-08 Thread Wei-Wei Guo
Thanks! The p solves my problem. Wei-Wei Wolfgang Schuster 写道: You can need a p column in table/tabulate. The wrong position of the line is a bug, make a bug report and use Li Yanruis fix for the moment. \definetextbackground [underline] [location=paragraph, alternative=1,

[NTG-context] How to use MPgraphic with options?

2009-04-08 Thread Wei-Wei Guo
Dear all, I need to use many rules with different lengths. Is there any way to implement function like below: \startuniqueMPgraphic{ARule}{length} draw origin -- (\MPvar{length},0) ; \stopuniqueMPgraphic \uniqueMPgraphic[length=5mm]{ARule} The example cannot be run. I only use it to

[NTG-context] How to get the number of lines of a paragraph?

2009-04-06 Thread Wei-Wei Guo
Dear all, I need to draw underlines under a paragraph. The number of underlines is determined by the number of lines of the paragraph. For example: If the paragraph have one line: text of paragraph, blur blur. -- If the paragraph

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-06 Thread Wei-Wei Guo
Wolfgang Schuster 写道: Am 06.04.2009 um 17:17 schrieb Wei-Wei Guo: Dear all, I need to draw underlines under a paragraph. The number of underlines is determined by the number of lines of the paragraph. For example: \definetextbackground [underline] [location=text, alternative=1

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-06 Thread Wei-Wei Guo
It works, thanks! Can \startunderline be put into a table or a tabulate? I want to implement thing like this: \startbuffer[chinesetitle] \startunderline 基于成本的钉耙强度与应用——东方视角分析 \stopunderline \stopbuffer \startbuffer[englishtitle] \startunderline Cost Based Rake Strength

Re: [NTG-context] Affiliation change

2009-04-02 Thread Wei-Wei Guo
Although the fool's day passed, I still had been gotten by you. It's so good that those horrible things are not true. Good job! Wei-Wei Taco Hoekwater 写道: Hi, As Arthur emailed me already: you people are just too gullible ! :) Taco Hoekwater wrote: Hello everybody, This message is to

Re: [NTG-context] Is there anything like developer's manual for ConTeXt?

2009-03-17 Thread Wei-Wei Guo
Yes, there are may fruitful pages in ConTeXt wiki. But all wiki resources have the same problem: If you know what you are looking for, it's helpful. If not, it would be a time hole. And I was told that MkIV progresses so fast that many things in the current manuals are out of date. I don't know

[NTG-context] Problem of transfering bib to bbl in Chinese.

2009-03-16 Thread Wei-Wei Guo
Hi everyone, I asked the question days ago. I find something new, so I submit it here and hope it can provide some useful information and, hopefully, can solve the problem. t-bib can transfer the following bib entry correct. @ARTICLE{c-article-full, author = {??}, title =

Re: [NTG-context] Problem of transfering bib to bbl in Chinese.

2009-03-16 Thread Wei-Wei Guo
Thanks for answering. Taco Hoekwater : Wei-Wei Guo wrote: but the following bib entry will be rubbish. @ARTICLE{c-article-full, author = {?? and ??}, You can try author = {{??} and {??}}, but internationalization support in bibtex is almost

Re: [NTG-context] Problem of transfering bib to bbl in Chinese.

2009-03-16 Thread Wei-Wei Guo
Taco Hoekwater 写道: You can't turn the bib module's 's' handling off in a nice way, sorry. You have to either hack the cont-XX.bst files by deleting the line that says clabel write$ It's great to have the problem solved. Thank you very much! I meet another two problems. 1. I'm using

[NTG-context] Is there anything like developer's manual for ConTeXt?

2009-03-16 Thread Wei-Wei Guo
Hi everyone, After fighting with ConTeXt one month, I find it's too difficult. I have two years experience of LaTeX. I never thought ConTeXt could be so difficult. Using ConTeXt is like climbing a steep mountain, every step need extensive searching, reading, and asking. Sorry for the useless

Re: [NTG-context] What does \c! means?

2009-03-15 Thread Wei-Wei Guo
Hi Taco, I just finished reading the 'System_Macros'. I still don't get the meaning of '\??pb @lang@' in the following codes: \def\lang#1% {\def\biblanguage{#1}% \ifcsname \??pb @l...@#1\endcsname \expanded{\mainlanguage[\getvalue{\??pb @l...@#1}]}%

Re: [NTG-context] What does \c! means?

2009-03-15 Thread Wei-Wei Guo
Thanks, Wolfgang and Hans. Best wishes, Wei-Wei Hans Hagen 写道: this is not stuff most users want to know or see; add a few \expandafter's, \futurelet's and \afterassignments and one wonders in what universe one has ended up Hans

Re: [NTG-context] What does \c! means?

2009-03-14 Thread Wei-Wei Guo
Thank you, Taco and Alan. Best wishes, Wei-Wei Taco Hoekwater 写道: Alan Stone wrote: On Sat, Mar 14, 2009 at 5:32 AM, Wei-Wei Guo wwgu...@gmail.com wrote: Dear all, I'm reading the source file of t-bib. I find there are lots of '\c!', '\s!', and '\v!'. What do they mean? I searched in wiki

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-13 Thread Wei-Wei Guo
Taco Hoekwater 写道: In mkiv (and xetex also, I assume), that just works, assuming you have a working typescript for the combination of scripts. Example attached (the example uses AdobeMingStd-Light) You might misunderstand. I was providing an example to you in my previous email, not asking

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-13 Thread Wei-Wei Guo
Thank you very much! Best wishes, Wei-Wei Taco Hoekwater 写道: The long answer: although you cannot make it depend on the language of the citation, you can make it change depending on an explicit language switch. This takes a bit of work, but it is better than nothing, I guess. Here is how: *

[NTG-context] What does \c! means?

2009-03-13 Thread Wei-Wei Guo
Dear all, I'm reading the source file of t-bib. I find there are lots of '\c!', '\s!', and '\v!'. What do they mean? I searched in wiki, TeXBook, ConTeXt manual, TeX impatient, and mail list. Those commands appear some times, but no explanation. Another question is related the following codes

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-12 Thread Wei-Wei Guo
Thank you, Mojca and Taco. I finally get my t-bib working. Now I can continue working on my bibl style. Taco Hoekwater 写道: I don't know those styles get adapted automatically when language is changed. Taco should answer (I should take a closer look, but no time now). They do not. You have to

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-12 Thread Wei-Wei Guo
Taco Hoekwater 写道: Wei-Wei Guo wrote: I'm still confused. Is it possible to use different bibl based on the value of \lang. I am not sure what \lang is now, but you cannot get a different bibl file based on the current \language or \mainlanguage in the document. The \lang that I said

[NTG-context] t-bib cannot do with Chinese.

2009-03-11 Thread Wei-Wei Guo
an invalid utf-8 sequence. l.22 n=2,s= ?0?2?0?2?0?2?0?286] Can t-bib do with Chinese bib entry? or is it just a problem of bibtex? I'm using MkIV(current trunk) and t-bib(march 2, 2009). BTW. Is only absolute path can be used in \setupbibtex? Thanks. Best wishes, Wei-Wei Guo

Re: [NTG-context] t-bib cannot do with Chinese.

2009-03-11 Thread Wei-Wei Guo
Thanks for answering my questions. Taco Hoekwater : Wei-Wei Guo wrote: Dear all, My .tex and .bib files are at the end of the email. The commands I run are context bibtry context bibtry The first `context bibtry` is ok but no .bbl file generated. The second one complains

Re: [NTG-context] t-bib cannot do with Chinese.

2009-03-11 Thread Wei-Wei Guo
Thanks for replying. I'm just a ordinary user. Studying another package might be too cost for me. :) Best wishes, Wei-Wei Hans Hagen : Wei-Wei Guo wrote: you might want to look into mlbibtex then (it supports context) Hans

[NTG-context] How to use my own BibTeX style (bst)?

2009-03-07 Thread Wei-Wei Guo
it might be tricky to make t-bib use my own bst file. Could you tell my how to do it? Thanks a lot! Best wishes, Wei-Wei Guo ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] How to increase weight of a font?

2009-03-06 Thread Wei-Wei Guo
It works, but is what I want. Sorry, I didn't describe my problem clear enough. I want to set weighted font for chapter title. How do this? Thanks, Wei-Wei Guo Hans Hagen 写道: Wei-Wei Guo wrote: Hi Hans, Do you mean \definefontsynonym[ZhSerif][name:SimSun][properties=???] Could you tell

Re: [NTG-context] How to increase weight of a font?

2009-03-06 Thread Wei-Wei Guo
Thanks, it works. Best wishes, Wei-Wei Guo Yanrui Li 写道: 2009/3/6 Wei-Wei Guo wwgu...@gmail.com: It works, but is what I want. Sorry, I didn't describe my problem clear enough. I want to set weighted font for chapter title. How do this? \setuphead [chapter] [before={\startproperty

Re: [NTG-context] How to increase weight of a font?

2009-03-06 Thread Wei-Wei Guo
I guess you are asking the equal feature provided by xetex, so my answer is 'yes'. Does ConTeXt have the 'embolden' feature? If yes, how to use it? Best wishes, Wei-Wei Guo Yue Wang 写道: the embolden feature provided by xetex and dvipdfmx? On Fri, Mar 6, 2009 at 6:31 PM, Wei-Wei Guo wwgu

[NTG-context] How to increase weight of a font?

2009-03-05 Thread Wei-Wei Guo
Hi everyone, I need to increase the eight of a Chinese font to make it look like a bold font. Is there anyway to do so? Thanks, Best wishes, Wei-Wei Guo ___ If your question is of interest to others as well

Re: [NTG-context] New LilyPond module

2009-03-05 Thread Wei-Wei Guo
It comes right in time. Thank you! Is it possible to make the temp lily file in the format of PNG instead of PDF? MkIV here cannot insert PDF figure properly recently. Best wishes, Wei-Wei Guo ntg-context-requ...@ntg.nl 写道: Dear music lovers, I just uploaded a new version of the LilyPond

Re: [NTG-context] How to increase weight of a font?

2009-03-05 Thread Wei-Wei Guo
Hi Hans, Do you mean \definefontsynonym[ZhSerif][name:SimSun][properties=???] Could you tell me how to do? Thank you! Best wishes, Wei-Wei Guo ntg-context-requ...@ntg.nl 写道: Message: 3 Date: Thu, 05 Mar 2009 17:13:16 +0100 From: Hans Hagen pra...@wxs.nl Subject: Re: [NTG-context] How

[NTG-context] lilypond results do not show.

2009-02-25 Thread Wei-Wei Guo
Hi everyone, I tried the tex file attached in this email, but the lily figure not shown. The result pdf file and log file are also attached. I also find that there are two files, mytry-lilypond-l.tmp and mytry-lilypond-2.tmp, generated. Those two generated files contain codes for lilypond. I