Re: [NTG-context] Experience on writing a thesis with MKIV
Hi Aditya Are you aware of this using \setupindenting [big,yes] in L 263 env-thesis.tex instead of the default; \setupindenting [medium,yes] results in 'Chapters' in the TOC being indented slightly more than References, Abstract etc. give it a try, you'll notice that it protrudes slightly more than the other entries. ___ 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] Experience on writing a thesis with MKIV
Aditya Mahajan wrote: Does is make sense to add a keyword all so that \setupcite[all][...] is equal to \setupcite [author,authoryear,authoryears, year,serial,authornum,page,short,type,doi,url,num] [...] Also, can we add style and color options to \cite. These can be either passed to \setupinteraction in \docite or simply added using attributes in the output of \cite. I certainly don't mind, but I am deep into other stuff right now. If you have a patch, I can apply that at any time you want. Otherwise, it will be January before I revisit the bib code. Best wishes, Taco ___ 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] Experience on writing a thesis with MKIV
This is very strange, I did a fresh checkout and everything *just* worked. $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown ... $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 Hopefully this will be my last question; how do you compile individual chapters? Aditya Mahajan wrote: On Tue, 9 Dec 2008, Taco Hoekwater wrote: Aditya Mahajan wrote: On Tue, 9 Dec 2008, Mohamed Bana wrote: sorry about the late reply, my minimals broke so i had to wait for a fix. t-bib-2008.12.01.zip $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 http://filebin.ca/jqqekq/thesis.pdf or http://filebin.ca/jqqekq http://filebin.ca/uhvgex/thesis.log or http://filebin.ca/uhvgex How are you compiling your files? Use context thesis and not texexec --lua thesis (texexec will run bibtex which will overwrite the existing bbl file, since you do not have any bib file, the bbl file will be empty). Please note that my latest upload to modules.contextgarden runs bibtex itself, in mkiv mode. Ah, so that explains why Mohamed is not getting any citations. I was using latest minimals from yesterday which still have t-bib from 2008.10.27. Taco, I also have a feature request for the bib module. Currently, \setupcite is defined as \def\dosetupcite[#1][#2]% {\ifsecondargument \def\dodosetupcite##1{\getparameters[\??pv##1][#2]}% \processcommalist[#1]\dodosetupcite \else % default case \getparameters[\??pv\@@citedefault][#1]% \fi } This means that if I say \setupcite[compress=no], this option is only passed to the default cite command. This means that when interaction is enabled, (and the bibl-* file says compress=yes), we get no styles for other cite styles. Does it make sense to add a keyword all so that \setupcite[all][...] is equal to \setupcite [author,authoryear,authoryears, year,serial,authornum,page,short,type,doi,url,num] [...] Also, can we add style and color options to \cite. These can be either passed to \setupinteraction in \docite or simply added using attributes in the output of \cite. Mohamed, to get the references to work comment \setupbibtex [database={IEEEfull,../collection}, sort=author] in macros.tex and add \dousepublications[thesis] You can also use the official way: \usepublications[thesis], but I think that this will cause warnings about redefined labels. Perhaps a better way would be to change thesis.bbl to say thesis-ref.bbl and then use \usepublications[thesis-ref]. Aditya ___ 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 ___ ___ 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] Experience on writing a thesis with MKIV
On Thu, 11 Dec 2008, Mohamed Bana wrote: This is very strange, I did a fresh checkout and everything *just* worked. Great. Because I had no idea why it was not working at your end :-) Hopefully this will be my last question; how do you compile individual chapters? From top directory context chapters/chapter-01.tex From the chapters directory context chapter-01.tex Aditya ___ 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] Experience on writing a thesis with MKIV
On Tue, Dec 9, 2008 at 3:59 AM, Mohamed Bana wrote: No the citations aren't working. Am I the only one who thinks ConTeXt needs a extensive set of regression tests? No, you aren't. But you could be the first one to start worknig on it :) :) :) 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] Experience on writing a thesis with MKIV
sorry about the late reply, my minimals broke so i had to wait for a fix. t-bib-2008.12.01.zip $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 http://filebin.ca/jqqekq/thesis.pdf or http://filebin.ca/jqqekq http://filebin.ca/uhvgex/thesis.log or http://filebin.ca/uhvgex Aditya Mahajan wrote: On Tue, 9 Dec 2008, Mohamed Bana wrote: No the citations aren't working. This is really strange. It is working at my end with the latest version of t-bib. Can you send me your log and pdf file. Am I the only one who thinks ConTeXt needs a extensive set of regression tests? No. We have discussed this extensively in the past. There is also a context-test svn repository with a script that can automatically check if the pdf output changed with different version. However, it has been dormat for about a year now. For more info see http://wiki.contextgarden.net/Test and add more tests. Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred]\titlefont \hskip 1.5em Chapters \stopcolor} Yeah, I know. This was just a quick change, so I did not bother with elegance. The proper way of doing it would be to define a titlecolor and use that. Changing L191 env-thesis.tex, has no effect, such as: \setuplist [chapter][color=darkblue] \setuplist [Title] [color=darkblue] Chapters still comes out as darkred. Aditya ___ 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 ___ ___ 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] Experience on writing a thesis with MKIV
Aditya Mahajan wrote: On Tue, 9 Dec 2008, Mohamed Bana wrote: sorry about the late reply, my minimals broke so i had to wait for a fix. t-bib-2008.12.01.zip $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 http://filebin.ca/jqqekq/thesis.pdf or http://filebin.ca/jqqekq http://filebin.ca/uhvgex/thesis.log or http://filebin.ca/uhvgex How are you compiling your files? Use context thesis and not texexec --lua thesis (texexec will run bibtex which will overwrite the existing bbl file, since you do not have any bib file, the bbl file will be empty). Please note that my latest upload to modules.contextgarden runs bibtex itself, in mkiv mode. Taco ___ 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] Experience on writing a thesis with MKIV
On Tue, 9 Dec 2008, Taco Hoekwater wrote: Aditya Mahajan wrote: On Tue, 9 Dec 2008, Mohamed Bana wrote: sorry about the late reply, my minimals broke so i had to wait for a fix. t-bib-2008.12.01.zip $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 http://filebin.ca/jqqekq/thesis.pdf or http://filebin.ca/jqqekq http://filebin.ca/uhvgex/thesis.log or http://filebin.ca/uhvgex How are you compiling your files? Use context thesis and not texexec --lua thesis (texexec will run bibtex which will overwrite the existing bbl file, since you do not have any bib file, the bbl file will be empty). Please note that my latest upload to modules.contextgarden runs bibtex itself, in mkiv mode. Ah, so that explains why Mohamed is not getting any citations. I was using latest minimals from yesterday which still have t-bib from 2008.10.27. Taco, I also have a feature request for the bib module. Currently, \setupcite is defined as \def\dosetupcite[#1][#2]% {\ifsecondargument \def\dodosetupcite##1{\getparameters[\??pv##1][#2]}% \processcommalist[#1]\dodosetupcite \else % default case \getparameters[\??pv\@@citedefault][#1]% \fi } This means that if I say \setupcite[compress=no], this option is only passed to the default cite command. This means that when interaction is enabled, (and the bibl-* file says compress=yes), we get no styles for other cite styles. Does it make sense to add a keyword all so that \setupcite[all][...] is equal to \setupcite [author,authoryear,authoryears, year,serial,authornum,page,short,type,doi,url,num] [...] Also, can we add style and color options to \cite. These can be either passed to \setupinteraction in \docite or simply added using attributes in the output of \cite. Mohamed, to get the references to work comment \setupbibtex [database={IEEEfull,../collection}, sort=author] in macros.tex and add \dousepublications[thesis] You can also use the official way: \usepublications[thesis], but I think that this will cause warnings about redefined labels. Perhaps a better way would be to change thesis.bbl to say thesis-ref.bbl and then use \usepublications[thesis-ref]. Aditya ___ 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] Experience on writing a thesis with MKIV
Hi Aditya, Thanks for getting back to me. I did a fresh checkout and tried to compile, I uncommented out these lines from the beginning of macros.tex. L3 \setupcolors[state=start] ... L16 \setupcite [interaction=start, compress=no,color=] %darkgreen] L276-278 in env-thesis.tex \setupinteraction[state=start,style=,color=] \setupinteraction[focus=standard] It's still the same; Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others. Version: ConTeXt ver: 2008.11.30 14:39 MKIV fmt: 2008.12.1 int: english/english And have you seen this error; ! LuaTeX error ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: attempt to call field 'process' (a nil value) stack traceback: ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: in function 'process' ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:125: in function 'process' main ctx instance:1: in main chunk. \mkloadsortedlist ...xlua {joblists.process('#1')} \getvalue {\s!reset #1}\eg... \doplacelistofsynonyms ... ]\mkloadsortedlist {#1} \endgroup \ifutilitydone \... l.162 \placelistofabbreviations Aditya Mahajan wrote: Hi Mohamed, On Sun, 7 Dec 2008, Mohamed Bana wrote: Hi Aditya, Any news on bib module - t-bib.tex? Sorry for not replying to your earlier message. If enable the colouring in cite commands in macros.tex I get; \setupcite [interaction=start, compress=no,color=darkgreen] The current bib module does not support changing the color of links. The color=darkgreen was a local change that I did in my copy of t-bib. So, color=darkgreen should just be silently ignored. However, compress=no does affect the output of the \cite command but I do not understand why it changes things like like Aumann and Hart (...) instead of (Aumann and Hard, ... ). Can you try to create a minimal example just using the bib module specific setups? Aditya Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others Instead of; Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of von Neumann and Morgenstern () and were later developed as a sub- field of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by Radner () and Marschak and Radner (), and later in control systems by Witsenhausen (a, ), Ho et al. (), Ho (), and others. Obviously I had to move t-bib.tex from the current directory to even get the it compile. Thanks Mohamed Aditya Mahajan wrote: * Bibliography. For a large part, the bib module was very easy. In the end, there were a few glitches with the formatting of the bibliography (too title space between entries) which I had to manually correct. (Look for \help inside the bbl file). The bbl file sorted authors with multiple entries incorrectly. If I had authors with four publications in a year, say 2000, the came out as 2000d, 2000c, 2000b, 2000a. I wanted 2000a, 2000b, 2000c, and 2000d, so in the end I just edited the bbl file by hand. There was also problem with maybe year. If I had 2000a and 2000b in the bib file, but only referred to 2000b in the thesis, the year came out as 2000b rather than 2000. For this also, I edited the bbl file by hand. Overall, ConTeXt made writing the thesis fairly easy. I mean the typesetting part of it. For those who are wondering, ConTeXt does not help with the content of the thesis :-) I would like to thank Hans and Taco for providing ConTeXt and everyone on the mailing list for answering my various questions. Aditya ___ If your question is of interest to others as well, please add an entry
Re: [NTG-context] Experience on writing a thesis with MKIV
Hi Mohamed, On Mon, 8 Dec 2008, Mohamed Bana wrote: Hi Aditya, Thanks for getting back to me. I did a fresh checkout and tried to compile, I uncommented out these lines from the beginning of macros.tex. L3 \setupcolors[state=start] ... L16 \setupcite [interaction=start, compress=no,color=] %darkgreen] L276-278 in env-thesis.tex \setupinteraction[state=start,style=,color=] \setupinteraction[focus=standard] It's still the same; I followed the same steps. Downloaded the files from http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz unzipped them, removed t-bib.tex from the current directory, made the changes indicated by you above, and did context thesis. Everything compiles files (there is one warning about Delicious-Bold.otf). Version: ConTeXt ver: 2008.11.30 14:39 MKIV fmt: 2008.12.1 int: english/english And have you seen this error; ! LuaTeX error ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: attempt to call field 'process' (a nil value) stack traceback: ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: in function 'process' ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:125: in function 'process' main ctx instance:1: in main chunk. \mkloadsortedlist ...xlua {joblists.process('#1')} \getvalue {\s!reset #1}\eg... \doplacelistofsynonyms ... ]\mkloadsortedlist {#1} \endgroup \ifutilitydone \... l.162 \placelistofabbreviations An error like this usually means that luatex or mtxrun is old. I am using context version version: 2008.11.10 21:40 (hmmm... that is after a fresh update from the minimals, which is strange) and LuaTeX, Version snapshot-0.31.0-2008120715. I do not know if something broke in a newer version of context, but for that I will first need to figure out why my minimals are not being updated. Since I was at it, I redid the local change in t-bib so that I can have citations of different colors. Also changed a few other macros, to work well with colors (I had stopped playing with colors a while back ...). I am uploading the changed files and the typeset pdf file at http://pantheon.yale.edu/~am894/temp/ Try to download and compile this and see if it works. In the mean time I will investigate why minimals aren't being updated on my machine. Aditya ___ 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] Experience on writing a thesis with MKIV
No the citations aren't working. Am I the only one who thinks ConTeXt needs a extensive set of regression tests? Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred]\titlefont \hskip 1.5em Chapters \stopcolor} Changing L191 env-thesis.tex, has no effect, such as: \setuplist [chapter][color=darkblue] \setuplist [Title] [color=darkblue] Chapters still comes out as darkred. Aditya Mahajan wrote: Hi Mohamed, On Mon, 8 Dec 2008, Mohamed Bana wrote: Hi Aditya, Thanks for getting back to me. I did a fresh checkout and tried to compile, I uncommented out these lines from the beginning of macros.tex. L3 \setupcolors[state=start] ... L16 \setupcite [interaction=start, compress=no,color=] %darkgreen] L276-278 in env-thesis.tex \setupinteraction[state=start,style=,color=] \setupinteraction[focus=standard] It's still the same; I followed the same steps. Downloaded the files from http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz unzipped them, removed t-bib.tex from the current directory, made the changes indicated by you above, and did context thesis. Everything compiles files (there is one warning about Delicious-Bold.otf). Version: ConTeXt ver: 2008.11.30 14:39 MKIV fmt: 2008.12.1 int: english/english And have you seen this error; ! LuaTeX error ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: attempt to call field 'process' (a nil value) stack traceback: ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: in function 'process' ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:125: in function 'process' main ctx instance:1: in main chunk. \mkloadsortedlist ...xlua {joblists.process('#1')} \getvalue {\s!reset #1}\eg... \doplacelistofsynonyms ... ]\mkloadsortedlist {#1} \endgroup \ifutilitydone \... l.162 \placelistofabbreviations An error like this usually means that luatex or mtxrun is old. I am using context version version: 2008.11.10 21:40 (hmmm... that is after a fresh update from the minimals, which is strange) and LuaTeX, Version snapshot-0.31.0-2008120715. I do not know if something broke in a newer version of context, but for that I will first need to figure out why my minimals are not being updated. Since I was at it, I redid the local change in t-bib so that I can have citations of different colors. Also changed a few other macros, to work well with colors (I had stopped playing with colors a while back ...). I am uploading the changed files and the typeset pdf file at http://pantheon.yale.edu/~am894/temp/ Try to download and compile this and see if it works. In the mean time I will investigate why minimals aren't being updated on my machine. Aditya ___ 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 ___ ___ 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] Experience on writing a thesis with MKIV
On Tue, 9 Dec 2008, Mohamed Bana wrote: No the citations aren't working. This is really strange. It is working at my end with the latest version of t-bib. Can you send me your log and pdf file. Am I the only one who thinks ConTeXt needs a extensive set of regression tests? No. We have discussed this extensively in the past. There is also a context-test svn repository with a script that can automatically check if the pdf output changed with different version. However, it has been dormat for about a year now. For more info see http://wiki.contextgarden.net/Test and add more tests. Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred]\titlefont \hskip 1.5em Chapters \stopcolor} Yeah, I know. This was just a quick change, so I did not bother with elegance. The proper way of doing it would be to define a titlecolor and use that. Changing L191 env-thesis.tex, has no effect, such as: \setuplist [chapter][color=darkblue] \setuplist [Title] [color=darkblue] Chapters still comes out as darkred. Aditya ___ 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] Experience on writing a thesis with MKIV
Hi Aditya, Any news on bib module - t-bib.tex? If enable the colouring in cite commands in macros.tex I get; \setupcite [interaction=start, compress=no,color=darkgreen] Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others Instead of; Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of von Neumann and Morgenstern () and were later developed as a sub- field of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by Radner () and Marschak and Radner (), and later in control systems by Witsenhausen (a, ), Ho et al. (), Ho (), and others. Obviously I had to move t-bib.tex from the current directory to even get the it compile. Thanks Mohamed Aditya Mahajan wrote: * Bibliography. For a large part, the bib module was very easy. In the end, there were a few glitches with the formatting of the bibliography (too title space between entries) which I had to manually correct. (Look for \help inside the bbl file). The bbl file sorted authors with multiple entries incorrectly. If I had authors with four publications in a year, say 2000, the came out as 2000d, 2000c, 2000b, 2000a. I wanted 2000a, 2000b, 2000c, and 2000d, so in the end I just edited the bbl file by hand. There was also problem with maybe year. If I had 2000a and 2000b in the bib file, but only referred to 2000b in the thesis, the year came out as 2000b rather than 2000. For this also, I edited the bbl file by hand. Overall, ConTeXt made writing the thesis fairly easy. I mean the typesetting part of it. For those who are wondering, ConTeXt does not help with the content of the thesis :-) I would like to thank Hans and Taco for providing ConTeXt and everyone on the mailing list for answering my various questions. Aditya ___ 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] Experience on writing a thesis with MKIV
Hi Mohamed, On Sun, 7 Dec 2008, Mohamed Bana wrote: Hi Aditya, Any news on bib module - t-bib.tex? Sorry for not replying to your earlier message. If enable the colouring in cite commands in macros.tex I get; \setupcite [interaction=start, compress=no,color=darkgreen] The current bib module does not support changing the color of links. The color=darkgreen was a local change that I did in my copy of t-bib. So, color=darkgreen should just be silently ignored. However, compress=no does affect the output of the \cite command but I do not understand why it changes things like like Aumann and Hart (...) instead of (Aumann and Hard, ... ). Can you try to create a minimal example just using the bib module specific setups? Aditya Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others Instead of; Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of von Neumann and Morgenstern () and were later developed as a sub- field of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by Radner () and Marschak and Radner (), and later in control systems by Witsenhausen (a, ), Ho et al. (), Ho (), and others. Obviously I had to move t-bib.tex from the current directory to even get the it compile. Thanks Mohamed Aditya Mahajan wrote: * Bibliography. For a large part, the bib module was very easy. In the end, there were a few glitches with the formatting of the bibliography (too title space between entries) which I had to manually correct. (Look for \help inside the bbl file). The bbl file sorted authors with multiple entries incorrectly. If I had authors with four publications in a year, say 2000, the came out as 2000d, 2000c, 2000b, 2000a. I wanted 2000a, 2000b, 2000c, and 2000d, so in the end I just edited the bbl file by hand. There was also problem with maybe year. If I had 2000a and 2000b in the bib file, but only referred to 2000b in the thesis, the year came out as 2000b rather than 2000. For this also, I edited the bbl file by hand. Overall, ConTeXt made writing the thesis fairly easy. I mean the typesetting part of it. For those who are wondering, ConTeXt does not help with the content of the thesis :-) I would like to thank Hans and Taco for providing ConTeXt and everyone on the mailing list for answering my various questions. Aditya___ 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] Experience on writing a thesis with MKIV
On Sun, Sep 28, 2008 at 8:23 PM, Hans Hagen [EMAIL PROTECTED] wrote: Mikael Persson wrote: The thesis is available at maybe we should collect such links on a wiki page http://www.math.chalmers.se/~mickep/mp-thesis-final.pdf and a short presentation of the third paper http://www.math.chalmers.se/~mickep/pres.pdf Some comments: * At our university the thesis should be printed on the (not really standard) G5 paper. No problem in defining and using it with ConTeXt. just curious ... is it used more often or just at your universiy; it's no problem to add an extra papersize definition * The bibliography uses Taco's module. I am happy of being able to have different bibliographies in one file. * As a mathematician I was a bit tired of the computer modern fonts (I really like them, but I see them to often), so I decided to go with the utopia/fourier fonts. This forced me to work with mkii, since I did not get these fonts to work with mkiv (This is still a problem, I am not sure how to go on with it for future documents). looks quite nice, i also like the font size * Typesetting math worked very smoothly. There is one place where I hade to add some negative vertical space (I could not reproduce this in a minimal file). * I'm very happy with the way MetaPost and ConTeXt work together. * The presentation is inspired by Thomas A. Schmitz' files at http://www.tug.org/pracjourn/2006-2/schmitz/ (thanks!) * The presentation uses Wolfram's Mathematica fonts which I find being very clear. looks nice indeed; are there open type variants of those? By the way, the Mathematica fonts can be downloaded from (type1 and ttf) http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.en.html I'm not sure if that is helpful for anyone, since there are no metric files or whatever (they go with the TeX tree that is shipped with Mathematica) Mikael ___ 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] Experience on writing a thesis with MKIV
Aditya Mahajan wrote: Hi everyone, I finished my thesis, writing both my thesis and my presentation using ConTeXt. congratulations! Thesis: http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.pdf impressive and it also looks nice (the large interline spacing even looks ok -) Source: http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz Presentation: http://www.eecs.umich.edu/~adityam/publications/thesis/thesis-presentation.pdf Overall it was a pleasant experience, but there were some difficulties. I am summarizing my experience here. Hopefully, others will find it useful. * Layout and Formatting: It was extremely simple to set up the layout and formatting according to the thesis specifications. Due to the ease of changing formatting, I experimented quite a bit with the formatting before settling down to what is in the thesis (The school wanted nothing fancy). at least they gave you the freedom to play with fonts * Organizing large projects: The product-component structure made it easy to work on single chapters. However, I could not get correct numbering for the components (If I compiled chapter-02, it got numbered 1). In the end, I was just compiling the whole thesis at the time, since it was pretty fast (~10 sec). there is a \setuphead[chapter][file=..] option which should do the job (remin dme to implement that in the upcoming mkiv sectioning mechanisms as well) * Fonts: Using different fonts with MKIV was really easy. For the presentation, I did have some trouble in getting Euler to work with the minimals. Hopefully, this will be corrected soon. indeed; anyhow, your thesis proofs that luatex can be used for real production * Math: The math alignments worked very nicely, but I had to do a lot of manual tweaking at a lot of places. Also, equations seem to like to have a tendency of starting on a new page. I tried changing penalties for predisplay and postdisplay (which are set to zero), but it invariably led to bad page breaks at other places. At some places, the equation overlapped with the previous material. I am not sure what was causing this (medium interline spacing, wrong calculation of the width of the previous line, or something else). In the end, I simply put a few manual \break[small] here and there. in mkiv we can redo the before/after math spacing because there we have the control that we wanted Being able to write unicode math made simplified reading math markup. * Metapost: TeX-MP interaction is fast and easy. However, debugging metapost errors is difficult because context does not stop compiling on encountering a metapost error. ok, remind me to implement a 'show error when mp fails' mechanism (we may need a way to trigger tex's error mode then from within luatex then; somethin gis possible now but a bit hackery) * Bibliography. For a large part, the bib module was very easy. In the end, there were a few glitches with the formatting of the bibliography (too title space between entries) which I had to manually correct. (Look for \help inside the bbl file). The bbl file sorted authors with multiple entries incorrectly. If I had authors with four publications in a year, say 2000, the came out as 2000d, 2000c, 2000b, 2000a. I wanted 2000a, 2000b, 2000c, and 2000d, so in the end I just edited the bbl file by hand. There was also problem with maybe year. If I had 2000a and 2000b in the bib file, but only referred to 2000b in the thesis, the year came out as 2000b rather than 2000. For this also, I edited the bbl file by hand. i like the bibliography layout Overall, ConTeXt made writing the thesis fairly easy. I mean the typesetting part of it. For those who are wondering, ConTeXt does not help with the content of the thesis :-) I would like to thank Hans and Taco for providing ConTeXt and everyone on the mailing list for answering my various questions. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] Experience on writing a thesis with MKIV
Wow, that looks very nice! I hope you do not feel I am stealing your thread now (I do not mean to). I did also finish my thesis (in mathematics) recently, written in ConTeXt. For this I had a lot of help with your doc Using \startalign and friends, thank you. The thesis is available at http://www.math.chalmers.se/~mickep/mp-thesis-final.pdf and a short presentation of the third paper http://www.math.chalmers.se/~mickep/pres.pdf Some comments: * At our university the thesis should be printed on the (not really standard) G5 paper. No problem in defining and using it with ConTeXt. * The bibliography uses Taco's module. I am happy of being able to have different bibliographies in one file. * As a mathematician I was a bit tired of the computer modern fonts (I really like them, but I see them to often), so I decided to go with the utopia/fourier fonts. This forced me to work with mkii, since I did not get these fonts to work with mkiv (This is still a problem, I am not sure how to go on with it for future documents). * Typesetting math worked very smoothly. There is one place where I hade to add some negative vertical space (I could not reproduce this in a minimal file). * I'm very happy with the way MetaPost and ConTeXt work together. * The presentation is inspired by Thomas A. Schmitz' files at http://www.tug.org/pracjourn/2006-2/schmitz/ (thanks!) * The presentation uses Wolfram's Mathematica fonts which I find being very clear. I will happily continue to use ConTeXt in future projects. /Micke P On Sat, Sep 27, 2008 at 6:35 PM, Aditya Mahajan [EMAIL PROTECTED] wrote: Hi everyone, I finished my thesis, writing both my thesis and my presentation using ConTeXt. Thesis: http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.pdf Source: http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz Presentation: http://www.eecs.umich.edu/~adityam/publications/thesis/thesis-presentation.pdf Overall it was a pleasant experience, but there were some difficulties. I am summarizing my experience here. Hopefully, others will find it useful. * Layout and Formatting: It was extremely simple to set up the layout and formatting according to the thesis specifications. Due to the ease of changing formatting, I experimented quite a bit with the formatting before settling down to what is in the thesis (The school wanted nothing fancy). * Organizing large projects: The product-component structure made it easy to work on single chapters. However, I could not get correct numbering for the components (If I compiled chapter-02, it got numbered 1). In the end, I was just compiling the whole thesis at the time, since it was pretty fast (~10 sec). * Fonts: Using different fonts with MKIV was really easy. For the presentation, I did have some trouble in getting Euler to work with the minimals. Hopefully, this will be corrected soon. * Math: The math alignments worked very nicely, but I had to do a lot of manual tweaking at a lot of places. Also, equations seem to like to have a tendency of starting on a new page. I tried changing penalties for predisplay and postdisplay (which are set to zero), but it invariably led to bad page breaks at other places. At some places, the equation overlapped with the previous material. I am not sure what was causing this (medium interline spacing, wrong calculation of the width of the previous line, or something else). In the end, I simply put a few manual \break[small] here and there. Being able to write unicode math made simplified reading math markup. * Metapost: TeX-MP interaction is fast and easy. However, debugging metapost errors is difficult because context does not stop compiling on encountering a metapost error. * Bibliography. For a large part, the bib module was very easy. In the end, there were a few glitches with the formatting of the bibliography (too title space between entries) which I had to manually correct. (Look for \help inside the bbl file). The bbl file sorted authors with multiple entries incorrectly. If I had authors with four publications in a year, say 2000, the came out as 2000d, 2000c, 2000b, 2000a. I wanted 2000a, 2000b, 2000c, and 2000d, so in the end I just edited the bbl file by hand. There was also problem with maybe year. If I had 2000a and 2000b in the bib file, but only referred to 2000b in the thesis, the year came out as 2000b rather than 2000. For this also, I edited the bbl file by hand. Overall, ConTeXt made writing the thesis fairly easy. I mean the typesetting part of it. For those who are wondering, ConTeXt does not help with the content of the thesis :-) I would like to thank Hans and Taco for providing ConTeXt and everyone on the mailing list for answering my various questions. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki!
Re: [NTG-context] Experience on writing a thesis with MKIV
Aditya Mahajan wrote: Hi everyone, I finished my thesis, writing both my thesis and my presentation using ConTeXt. Aditya :). But there's a still something missing that I need before I even thinking of typesetting an msc thesis in ConTeXt. I'd like to have something equivelant to the *listings.sty* package; http://thread.gmane.org/gmane.comp.tex.context/15591/focus=15592 or http://vega.soi.city.ac.uk/~abbg770/listing-sample.pdf. I setup listing first; \lstset{breaklines=true, showlines=true, % showing line numbers numbers=left, % where to show line numbers numberstyle=\tiny\color{gray}, numbersep=10pt, % stepnumber=1, % how often to show the line number on the left language=Java, % specifiy the language basicstyle=\ttfamily\small, % print whole listing small keywordstyle=\color{eclipsekeyword}\ttfamily\underbar, % underlined bold black keywords identifierstyle=, % nothing happens commentstyle=\color{eclipsecomment}, % white comments, if you use commentstyle=\color{white}, stringstyle=\ttfamily, % typewriter type for strings showstringspaces=false, % no special string spaces frame=single, backgroundcolor=\color{white}, tabsize=4, showspaces=false, showstringspaces=false} \lstset{morecomment=[s][\color{eclipsejavadoc}]{/**}{*/}} Includes a file, look at Listing B.2 on the pdf I posted. This should be self explanatory; \lstinputlisting[ caption={SpreadsheetParser.java}, label=lst:SpreadsheetParser.java] {source/SpreadsheetParser.java} I can also list inline using the same settings defined in \lstset - but it doesn't break across lines. The choice of charater is arbitrary i.e., I could have chosen to use | instead of !; \lstinline!matcher(CharSequence input)! Similar to preceeding, with line breaking. Also I can refer to it using; \ref{lst:freeformlogfile} \begin{lstlisting}[frame=,label={lst:freeformlogfile},caption={Log File}] import java.util.Arrays; public class ArrayReallocationDemo { public static void main(String[] args) { int[] data1 = new int[] { 1, 3, 5, 7, 9 }; printArray(data1); int[] data2 = Arrays.copyOf(data1, 6); data2[5] = 11; printArray(data2); int[] data3 = Arrays.copyOfRange(data1, 2, 10); printArray(data3); } // print array elements private static void printArray(int[] data) { StringBuilder stringBuilder = new StringBuilder([); for (int i = 0; i data.length; i++) { stringBuilder.append(data[i]); if (i data.length - 1) stringBuilder.append(, ); } stringBuilder.append(]); System.out.println(stringBuilder); } } \end{lstlisting} Thanks guys ___ 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] Experience on writing a thesis with MKIV
Mikael Persson wrote: The thesis is available at maybe we should collect such links on a wiki page http://www.math.chalmers.se/~mickep/mp-thesis-final.pdf and a short presentation of the third paper http://www.math.chalmers.se/~mickep/pres.pdf Some comments: * At our university the thesis should be printed on the (not really standard) G5 paper. No problem in defining and using it with ConTeXt. just curious ... is it used more often or just at your universiy; it's no problem to add an extra papersize definition * The bibliography uses Taco's module. I am happy of being able to have different bibliographies in one file. * As a mathematician I was a bit tired of the computer modern fonts (I really like them, but I see them to often), so I decided to go with the utopia/fourier fonts. This forced me to work with mkii, since I did not get these fonts to work with mkiv (This is still a problem, I am not sure how to go on with it for future documents). looks quite nice, i also like the font size * Typesetting math worked very smoothly. There is one place where I hade to add some negative vertical space (I could not reproduce this in a minimal file). * I'm very happy with the way MetaPost and ConTeXt work together. * The presentation is inspired by Thomas A. Schmitz' files at http://www.tug.org/pracjourn/2006-2/schmitz/ (thanks!) * The presentation uses Wolfram's Mathematica fonts which I find being very clear. looks nice indeed; are there open type variants of those? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] Experience on writing a thesis with MKIV
On Sun, 28 Sep 2008, Mikael Persson wrote: On Sun, Sep 28, 2008 at 8:23 PM, Hans Hagen [EMAIL PROTECTED] wrote: Mikael Persson wrote: The thesis is available at maybe we should collect such links on a wiki page good idea These could also be useful for the regression test suite for ConTeXt. http://www.math.chalmers.se/~mickep/mp-thesis-final.pdf and a short presentation of the third paper http://www.math.chalmers.se/~mickep/pres.pdf Look very nice and professional. Some comments: * As a mathematician I was a bit tired of the computer modern fonts (I really like them, but I see them to often), so I decided to go with the utopia/fourier fonts. This forced me to work with mkii, since I did not get these fonts to work with mkiv (This is still a problem, I am not sure how to go on with it for future documents). looks quite nice, i also like the font size Thanks. What about getting these fonts to work in mkiv? Must there be some change in the fonts? Some files in ConTeXt? (they were perfectly working in older mkii) Fourier and Uptopia should work with mkiv. I will check why they are not working at present. Aditya ___ 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 ___