![](https://secure.gravatar.com/avatar/6af06dcf5f958fe4ec149408292d6acd.jpg?s=120&d=mm&r=g)
Looking for a publishing opportunity? Please read the message I received from PracTeX. Kind regards Willi Secretary NTG Call for Papers/Abstracts PracTeX Journal: Issue 2010-1 Issue theme: "LaTeX Academic Work Bench" http://www.tug.org/pracjourn/ Submissions due December 31, 2009 (extended) Dear LaTeX and TeX Users, Since its first edition in 2005, the PracTeX Journal has presented a wide range of articles on the practical use of LaTeX and TeX. Among these articles are ones that describe tools and techniques that can be used in teaching. The PracTeX Journal 2010-1 issue has the theme "LaTeX Academic Work Bench". The goal of this issue is to present ideas on the use of LaTeX tools for education, teaching, and classroom purposes. We are looking for articles that can discuss the development of the tools, and their use and effectiveness. Actual examples and LaTeX sources are encouraged. ** Scope The scope of the issue includes, but is not limited to : - tools that assist the students/authors in preparing graphics, indexes, bibliographies, and other parts of documents; - text manipulation tools; - tutorials; - short videos; - free or almost free tools; - teaching texts; - homework styles; - cross-platform tools. We encourage you to submit original papers describing your experiences using LaTeX and TeX tools in an academic setting, and also papers on tool development work in progress or completed. ** Submission Guidelines: If you would like to submit an article or technical note for publication please contact the editors pracjourn@tug.org. We will work with you to prepare the article. Also see http://tug.org/pracjourn/submit.html for the Journal's guidelines. ** Important Dates: Paper submission deadline: December 31, 2009 Publication date: February 10, 2010 ** News Submissions in any language are acceptable. Since its beginning in 2005, the PracTeX Journal has accepted papers not only in English but also Portuguese, Spanish, Dutch, German, Norwegian, Chinese, Korean, Romanian, and Italian. However, please contact the editors in English, and submit an English abstract. Best Regards, Francisco Reinaldo Paul Blaga 2010-1 Issue Editors Lance Carnes Main Editor
![](https://secure.gravatar.com/avatar/d8110a8a8a97be0803549ea5ee2e638b.jpg?s=120&d=mm&r=g)
2009/12/14 Willi Egger
The goal of this issue is to present ideas on the use of LaTeX tools for education, teaching, and classroom purposes. We are looking for articles that can discuss the development of the tools, and their use and effectiveness. Actual examples and LaTeX sources are encouraged.
Do you propose to flood the issue with articles on ConTeXt? :-) Best Martin
![](https://secure.gravatar.com/avatar/ac3fbaf0a287c4cffbc9f18fa931586c.jpg?s=120&d=mm&r=g)
On Tuesday 15 December 2009 13:05:48 Martin Schröder wrote:
Do you propose to flood the issue with articles on ConTeXt? :-)
There is a problem with the module pracjourn; compiles fine under mkii, fails under mkiv. Minimal example: \usemodule[pracjourn] \setvariables [pracjourn] [ title=My \PRACTEX\ article, author=Your Name, address={Your Address\\ Can be multiline}, revision={d=1,m=11,y=2006}, % The editors ask you to update % this for each revision submitted copyright= , % May be used if you want a % copyright notice at the bottom right of the first page ] \useURL [email] [mailto:your-email-address] [] [your-email-address] \useURL [website] [your website] % address, revision, copyright, email and website are optional and can be omitted. \startbuffer[abstract] Your Abstract \stopbuffer \starttext \setups{title} % Article Text \stoptext
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 15 Dec 2009, Alan BRASLAU wrote:
On Tuesday 15 December 2009 13:05:48 Martin Schröder wrote:
Do you propose to flood the issue with articles on ConTeXt? :-)
There is a problem with the module pracjourn; compiles fine under mkii, fails under mkiv.
Minimal example:
\usemodule[pracjourn]
\setvariables [pracjourn] [ title=My \PRACTEX\ article, author=Your Name, address={Your Address\\ Can be multiline}, revision={d=1,m=11,y=2006}, % The editors ask you to update % this for each revision submitted copyright= , % May be used if you want a % copyright notice at the bottom right of the first page ]
\useURL [email] [mailto:your-email-address] [] [your-email-address] \useURL [website] [your website]
% address, revision, copyright, email and website are optional and can be omitted.
\startbuffer[abstract] Your Abstract \stopbuffer
\starttext \setups{title}
Add some actual text here
\stoptext
Email and Website do not work. But other than that, the document compiles fine. I will update the module so that email and website work with mkiv. Aditya
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 15 Dec 2009, Aditya Mahajan wrote:
I will update the module so that email and website work with mkiv.
Attached is a corrected version. Hans, can something like \doifdefinedurl be added to the core? I am currently using %D We need a macro to check if a url is defined using \type{\useURL} or not. \def\doifdefinedurl#1{\doifdefined{\v!file:::#1}} %D \MKIV\ uses a different internal structure to store urls, so we use a %D different method. \startmode[*mkiv] \startluacode ptj = ptj or {} function ptj.doifdefinedurl(name, action) if jobreferences.urls.data[name] and name ~= "" then tex.sprint(tex.ctxcatcodes, action) end end \stopluacode \def\doifdefinedurl#1#2{\ctxlua{ptj.doifdefinedurl("#1", \!!bs\detokenize{#2}\!!es)}} \stopmode Bookmarks are not working, but that seems to be a bug in current MKIV. Minimal example \setupinteraction[state=start] \placebookmarks[section,subsection][section] \starttext \section{One} \input tufte \subsection{two} \input knuth \stoptext In MkIV I do not get any bookmarks. Aditya
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Aditya Mahajan wrote:
\setupinteraction[state=start] \placebookmarks[section,subsection][section]
\starttext \section{One} \input tufte \subsection{two} \input knuth \stoptext
In MkIV I do not get any bookmarks.
that was due to a flushung order issue (introduced recently when switching to the lua catalog counterpart) to make you feel-good i added a few more trackers: \setupinteraction[state=start] \enabletrackers[references.bookmarks,backend.resources] \placebookmarks[section,subsection][section] \starttext \section{One} \subsection{alpha} \subsection{beta} \section{Two} \subsection{alpha} \subsection{beta} \stoptext fixed in beta ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 15 Dec 2009, Hans Hagen wrote:
Aditya Mahajan wrote:
\setupinteraction[state=start] \placebookmarks[section,subsection][section]
\starttext \section{One} \input tufte \subsection{two} \input knuth \stoptext
In MkIV I do not get any bookmarks.
that was due to a flushung order issue (introduced recently when switching to the lua catalog counterpart)
fixed in beta
Thanks. Aditya
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Aditya Mahajan wrote:
On Tue, 15 Dec 2009, Aditya Mahajan wrote:
I will update the module so that email and website work with mkiv.
Attached is a corrected version.
Hans, can something like \doifdefinedurl be added to the core? I am currently using
%D We need a macro to check if a url is defined using \type{\useURL} or not.
\def\doifdefinedurl#1{\doifdefined{\v!file:::#1}}
%D \MKIV\ uses a different internal structure to store urls, so we use a %D different method. \startmode[*mkiv] \startluacode ptj = ptj or {} function ptj.doifdefinedurl(name, action) if jobreferences.urls.data[name] and name ~= "" then tex.sprint(tex.ctxcatcodes, action) end end \stopluacode
\def\doifdefinedurl#1#2{\ctxlua{ptj.doifdefinedurl("#1", \!!bs\detokenize{#2}\!!es)}}
\stopmode
i'll add: \def\doifurldefinedelse {\ctxlua{commands.doifurldefinedelse ("#1")}} \def\doiffiledefinedelse{\ctxlua{commands.doiffiledefinedelse("#1")}} fyi ... you can use constructs like: function commands.doifurldefinedelse(name) commands.doifelse(jobreferences.urls.data[name]) end ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 15 Dec 2009, Hans Hagen wrote:
i'll add:
\def\doifurldefinedelse {\ctxlua{commands.doifurldefinedelse ("#1")}} \def\doiffiledefinedelse{\ctxlua{commands.doiffiledefinedelse("#1")}}
Can you also add corresponding commands in MkII. The practex module needs to work with both MkII and MkIV.
fyi ... you can use constructs like:
function commands.doifurldefinedelse(name) commands.doifelse(jobreferences.urls.data[name]) end
Ah, thanks. Aditya
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Aditya Mahajan wrote:
On Tue, 15 Dec 2009, Hans Hagen wrote:
i'll add:
\def\doifurldefinedelse {\ctxlua{commands.doifurldefinedelse ("#1")}} \def\doiffiledefinedelse{\ctxlua{commands.doiffiledefinedelse("#1")}}
Can you also add corresponding commands in MkII. The practex module needs to work with both MkII and MkIV.
ok ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 15.12.2009 um 17:16 schrieb Aditya Mahajan:
On Tue, 15 Dec 2009, Aditya Mahajan wrote:
I will update the module so that email and website work with mkiv.
Attached is a corrected version.
You know the difference between startsetups, startrawsetups and startlocalsetups? Wolfgang
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 15 Dec 2009, Wolfgang Schuster wrote:
Am 15.12.2009 um 17:16 schrieb Aditya Mahajan:
On Tue, 15 Dec 2009, Aditya Mahajan wrote:
I will update the module so that email and website work with mkiv.
Attached is a corrected version.
You know the difference between startsetups, startrawsetups and startlocalsetups?
I wrote this module in 2006 and most of the setup stuff was trial and error. IIRC, file reading and wrting did not work with setup and that is why I used rawsetup. I really do not know the difference between localsetup and setup. Aditya
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 15.12.2009 um 19:16 schrieb Aditya Mahajan:
You know the difference between startsetups, startrawsetups and startlocalsetups?
I wrote this module in 2006 and most of the setup stuff was trial and error. IIRC, file reading and wrting did not work with setup and that is why I used rawsetup.
Right, while startsetups line endings are ignored startrawsetups keeps them as they are
I really do not know the difference between localsetup and setup.
startsetups is a delimited command which grabs everything till the next stopsetups commands and as a result of this nested startsetups environments are not possible, to do this you could use startlocalsetups inside startsetups Wolfgang
![](https://secure.gravatar.com/avatar/0d7c303452b11b8403ba1754990d559c.jpg?s=120&d=mm&r=g)
Hi all, how can I prevent the indent after a \startline[…]-construct. Here is an example: \setupindenting[medium,next,yes] \def\NoIndent{\noindentation{\red\bf Indent?}\enspace} \startbuffer \dorecurse{3}{\dorecurse{10}{some text, } \par } \stopbuffer \starttext \showframe \getbuffer \blank \startlinenumbering \startline[lin:1] \NoIndent \getbuffer \stopline[lin:1] \NoIndent \getbuffer \stoplinenumbering \blank \getbuffer \stoptext To make myself clear, I want indenting but not inside the linenumbering-environment. I tried already to play with \setuplinenumbering but there is no ‘before’-key in the setup and ‘command’ only applies to the numbers. I appreciate any help Andreas
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 16.12.2009 um 11:43 schrieb Andreas Harder:
Hi all,
how can I prevent the indent after a \startline[…]-construct. Here is an example:
\setupindenting[medium,next,yes]
\def\NoIndent{\noindentation{\red\bf Indent?}\enspace}
\startbuffer \dorecurse{3}{\dorecurse{10}{some text, } \par } \stopbuffer
\starttext \showframe \getbuffer \blank
\startlinenumbering \startline[lin:1] \NoIndent \getbuffer \stopline[lin:1]
\NoIndent \getbuffer \stoplinenumbering
\blank \getbuffer \stoptext
To make myself clear, I want indenting but not inside the linenumbering-environment. I tried already to play with \setuplinenumbering but there is no ‘before’-key in the setup and ‘command’ only applies to the numbers.
Define your own environment. \definestartstop [Linenumbering] [before={\setupindenting[no]\startlinenumbering}, after=\stoplinenumbering] \starttext ... \startLinenumbering ... \stopLinenumbering ... \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/0d7c303452b11b8403ba1754990d559c.jpg?s=120&d=mm&r=g)
Am 16.12.2009 um 18:40 schrieb Wolfgang Schuster:
Am 16.12.2009 um 11:43 schrieb Andreas Harder:
Hi all,
how can I prevent the indent after a \startline[…]-construct. Here is an example:
\setupindenting[medium,next,yes]
\def\NoIndent{\noindentation{\red\bf Indent?}\enspace}
\startbuffer \dorecurse{3}{\dorecurse{10}{some text, } \par } \stopbuffer
\starttext \showframe \getbuffer \blank
\startlinenumbering \startline[lin:1] \NoIndent \getbuffer \stopline[lin:1]
\NoIndent \getbuffer \stoplinenumbering
\blank \getbuffer \stoptext
To make myself clear, I want indenting but not inside the linenumbering-environment. I tried already to play with \setuplinenumbering but there is no ‘before’-key in the setup and ‘command’ only applies to the numbers.
Define your own environment.
\definestartstop [Linenumbering] [before={\setupindenting[no]\startlinenumbering}, after=\stoplinenumbering]
Thank you! It works if I put \setupindenting[no] after \startlinenumbering. Andreas
participants (7)
-
Aditya Mahajan
-
Alan BRASLAU
-
Andreas Harder
-
Hans Hagen
-
Martin Schröder
-
Willi Egger
-
Wolfgang Schuster