Re: [NTG-context] Formatting bibliographic inline references and publications list

2015-01-26 Thread Alan BRASLAU
On Sun, 25 Jan 2015 20:13:09 +0100 Jörg Weger wrote: > * normal reference in brackets: author year, no comma: e.g. > “(Einstein 1904)” \cite[authoryears][Einstein1904] > * author is named in the text, only year in brackets: e.g. “As it has > been proven by Einstein (1904) …” \cite[authoryear]

Re: [NTG-context] Bibliography: separating different kinds of literature

2015-01-26 Thread Alan BRASLAU
On Mon, 26 Jan 2015 10:25:53 +0100 Mojca Miklavec wrote: > Hi, > > What is the proper way to separate bibliography according to some > criteria? > > I would like to separate "serious" publications from web sites (used > when referring to hardware models used in experiments for example). > > Th

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Kip Warner
On Tue, 2015-01-27 at 00:45 +0100, Hans Hagen wrote: > maybe test that in a small test file It seems to work if I run the following first: $ mtxrun --script fonts --reload $ luatools --generate $ mtxrun --script fonts --list --all --pattern=* $ context --reload I

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Hans Hagen
On 1/27/2015 12:37 AM, Kip Warner wrote: On Tue, 2015-01-27 at 00:19 +0100, Hans Hagen wrote: there is no reason a font should not be found My context/tex/setuptex shell script contains the following: export OSFONTDIR="$HOME/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Kip Warner
On Tue, 2015-01-27 at 00:19 +0100, Hans Hagen wrote: > there is no reason a font should not be found My context/tex/setuptex shell script contains the following: export OSFONTDIR="$HOME/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/opt/libreoffice/basis3.3/share/fonts/" $ dp

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Hans Hagen
On 1/26/2015 7:26 PM, Kip Warner wrote: On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen wrote: remeve the placefigure in that line, so : \midaligned {\externalfigure [Makeup/Images/Cartesian_Theatre.svg] [width=0.25\textwidth]} a midaligned is a hbox while a placefigure operat

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-26 Thread Gerben Wierda
On 26 Jan 2015, at 19:51, Keith Schultz wrote: > Hi Gerben, > > I would not say old-fasshoined , but old school. > > Wolgang said to use context, but that is just a script that calls mtxrun! > > So you can use: > > mtxrun —script context > > for other options look for: > > tool-mkiv.pdf Is

Re: [NTG-context] checking the first word in a command

2015-01-26 Thread Hans Hagen
On 1/26/2015 10:04 PM, Pablo Rodriguez wrote: On 01/26/2015 09:24 PM, Otared Kavian wrote: Hi Hans, Nice code Hans!… But somehow your replacer code gives always « el » even in front of « señora »… It seems that your lua code for replacer sees « señor » and does not check whether it is « señor

Re: [NTG-context] checking the first word in a command

2015-01-26 Thread Pablo Rodriguez
On 01/26/2015 09:24 PM, Otared Kavian wrote: > Hi Hans, > > Nice code Hans!… But somehow your replacer code gives always « el » even in > front of « señora »… > It seems that your lua code for replacer sees « señor » and does not check > whether it is « señora » or not. > If one modifies a littl

Re: [NTG-context] checking the first word in a command

2015-01-26 Thread Otared Kavian
Hi Hans, Nice code Hans!… But somehow your replacer code gives always « el » even in front of « señora »… It seems that your lua code for replacer sees « señor » and does not check whether it is « señora » or not. If one modifies a little bit the code into the following, the issue is solved: (c

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-26 Thread Keith Schultz
Hi Gerben, I would not say old-fasshoined , but old school. Wolgang said to use context, but that is just a script that calls mtxrun! So you can use: mtxrun —script context for other options look for: tool-mkiv.pdf I am sure your makefiles are more complex. regards Keith. > Am 26.0

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Kip Warner
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen wrote: > remeve the placefigure in that line, so : > > \midaligned >{\externalfigure > [Makeup/Images/Cartesian_Theatre.svg] > [width=0.25\textwidth]} > > a midaligned is a hbox while a placefigure operates in the mvl Thanks Hans. Co

[NTG-context] Some Lua Code solved

2015-01-26 Thread Eric Gerard
Hello Hans, many thanks for your help. I tried to adapt the code you sent me and in case it can help someone I provide you what I wrote. I don’t pretend to make something perfectly correct but… The idea is to make a checklist with left and bottom tabs. The line position of left and bottom tab

Re: [NTG-context] checking the first word in a command

2015-01-26 Thread Hans Hagen
On 1/26/2015 5:49 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \def\Persona{señor Juan Martínez} \def\Persona{señora María Pérez} El/La \Persona\ ha aprobado. \stoptext How can I replace "El/La" in text with a command that can assign

Re: [NTG-context] Context modules not on CATN and not in TeX Live (slightly OT)

2015-01-26 Thread Axel Kielhorn
Am 26.01.2015 um 14:03 schrieb Mojca Miklavec : > On Mon, Jan 26, 2015 at 1:40 PM, Keith Schultz wrote: >> Hi Alex, >> >> The simple answer to your question would be to use this page: >> >> http://www.ctan.org/upload/ > > No, in case of ConTeXt that's not correct. The idea would be to handle >

[NTG-context] checking the first word in a command

2015-01-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \def\Persona{señor Juan Martínez} \def\Persona{señora María Pérez} El/La \Persona\ ha aprobado. \stoptext How can I replace "El/La" in text with a command that can assign the proper article? I could use the translate modul

Re: [NTG-context] ConTeXt logo in XML

2015-01-26 Thread Pablo Rodriguez
On 01/26/2015 04:33 PM, Wolfgang Schuster wrote: > [...] > To replace text in your input you can try to use the translate module. > > \usemodule[translate] > > \translateinput[ConTeXt][\CONTEXT] > > \starttext > > This document was produced with ConTeXt. > > \enableinputtranslation > This docu

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-26 Thread Wolfgang Schuster
> Am 26.01.2015 um 17:19 schrieb Gerben Wierda : > > […] > > So, what would be easiest for me if I know what commend to use instead of the > texexec command. You can use context to process your document with MkIV and context —pdftex to process your document with MkII. As you can

Re: [NTG-context] Getting copy-pastable ligatures?

2015-01-26 Thread Gerben Wierda
On 05 Dec 2014, at 10:13, Gerben Wierda wrote: > > On 04 Dec 2014, at 16:22, Hans Hagen wrote: > >> On 12/4/2014 3:54 PM, Gerben Wierda wrote: >>> On 30 Nov 2014, at 23:38, Hans Hagen wrote: >>> On 11/30/2014 1:22 PM, Gerben Wierda wrote: > I’m using mkii. I’d like ot be able to co

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-26 Thread Gerben Wierda
I don’t use TeXShop for these projects. I use a separate editor in a shell and a Makefile (very old-fashioned). The Makefile contains stuff like: OPEN=echo MODE=--mode=standalone ONCE= .SUFFIXES: .pdf .tex .open .pdf.open: open $< .tex.pdf: texexec --pdf ${MODE} ${ONCE} $< onc

Re: [NTG-context] Context modules not on CATN and not in TeX Live (slightly OT)

2015-01-26 Thread Keith Schultz
Hi Hans, You misunderstood me. I am aware how CTAN and TeXLive works. Mocja, said HE would do the upload to CTAN. Also, he mentioned that WE could keep some modules kept on CTAN if deemed useful! My question is more about how ConTeXt controls these things or is responsible? regards Ke

Re: [NTG-context] ConTeXt logo in XML

2015-01-26 Thread Wolfgang Schuster
> Am 26.01.2015 um 16:19 schrieb Pablo Rodriguez : > > On 01/26/2015 02:40 PM, Wolfgang Schuster wrote: >> [...] >> Hans uses for the documentation of the Lua code >> to print the ConTeXt logo, to do so the following setup is used (copied >> from x-ldx.mkiv): >> >> \startxmlsetups ldx:logo >>

Re: [NTG-context] ConTeXt logo in XML

2015-01-26 Thread Pablo Rodriguez
On 01/26/2015 02:40 PM, Wolfgang Schuster wrote: > [...] > Hans uses for the documentation of the Lua code > to print the ConTeXt logo, to do so the following setup is used (copied > from x-ldx.mkiv): > > \startxmlsetups ldx:logo > \uppercasestring\xmlatt{#1}{label}\xmlatt{#1}{name}\to\ascii

Re: [NTG-context] Context modules not on CATN and not in TeX Live (slightly OT)

2015-01-26 Thread Hans Hagen
On 1/26/2015 2:57 PM, Keith J. Schultz wrote: Hi Mojca, Thank you for clarifying a few things. I have not seen any information how to contribute modules to ConTeXt or how they are passed up the stream! A few caveats though! 1) Who „authorizes“ ConTeXt modules for CTAN ? 2) Do not CTA

Re: [NTG-context] Context modules not on CATN and not in TeX Live (slightly OT)

2015-01-26 Thread Keith J. Schultz
Hi Mojca, Thank you for clarifying a few things. I have not seen any information how to contribute modules to ConTeXt or how they are passed up the stream! A few caveats though! 1) Who „authorizes“ ConTeXt modules for CTAN ? 2) Do not CTAN and TeXLive have pretty much the same

Re: [NTG-context] ConTeXt logo in XML

2015-01-26 Thread Wolfgang Schuster
> Am 26.01.2015 um 14:21 schrieb Pablo Rodriguez : > > Dear list, > > I have the following sample: > > \startbuffer[demo] > > This context is not ConTeXt. > > \stopbuffer > > \starttext > > \startxmlsetups xml:initialize > \xmlsetsetup{#1}{p|doc}{xml:*} > \stopxmlsetups > > \xmlreg

[NTG-context] ConTeXt logo in XML

2015-01-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] This context is not ConTeXt. \stopbuffer \starttext \startxmlsetups xml:initialize \xmlsetsetup{#1}{p|doc}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups

Re: [NTG-context] [luatex] [Dev-luatex] Luatex 0.79.3.1 announcement

2015-01-26 Thread luigi scarso
On Mon, Jan 26, 2015 at 2:15 PM, Patrick Gundlach wrote: > Thank you Luigi and all others for the development! > > A quick note: if you like a git(hub) style interface, I try to keep > > > https://github.com/pgundlach/LuaTeX > > > up to date > No problem for me. -- luigi ___

Re: [NTG-context] [Dev-luatex] Luatex 0.79.3.1 announcement

2015-01-26 Thread Patrick Gundlach
Thank you Luigi and all others for the development! A quick note: if you like a git(hub) style interface, I try to keep https://github.com/pgundlach/LuaTeX up to date Patrick ___ If your question is of interest

Re: [NTG-context] Context modules not on CATN and not in TeX Live (slightly OT)

2015-01-26 Thread Mojca Miklavec
On Mon, Jan 26, 2015 at 1:40 PM, Keith Schultz wrote: > Hi Alex, > > The simple answer to your question would be to use this page: > > http://www.ctan.org/upload/ No, in case of ConTeXt that's not correct. The idea would be to handle everything automatically once the modules are uploaded to module

[NTG-context] Luatex 0.79.3.1 announcement

2015-01-26 Thread luigi scarso
A quick updated due a bug found by Hans while testing mplib with wrong input. The difference is only in rev: current is This is LuaTeX, Version beta-0.79.3 (TeX Live 2015/dev) (rev 5140) while previously was This is LuaTeX, Version beta-0.79.3 (TeX Live 2015/dev) (rev 5130) (in the future we will

Re: [NTG-context] Context modules not on CATN and not in TeX Live (slightly OT)

2015-01-26 Thread Keith Schultz
Hi Alex, The simple answer to your question would be to use this page: http://www.ctan.org/upload/ BUT, the MISSING modules or packages are so-called third party! It should be the responsibility of the AUTHORS, to upload the to CTAN! Also, e.g cmscbf and cmttbf are

Re: [NTG-context] contextual alternates

2015-01-26 Thread Pablo Rodriguez
On 01/26/2015 10:59 AM, Hans Hagen wrote: > On 1/26/2015 10:18 AM, Pablo Rodriguez wrote: >> [...] >> I tested both options (script=latn and script=dflt) and neither worked. > > what happens when you enable all the features that the font provides "\definefontfeature[default][default][aalt=yes]" w

Re: [NTG-context] New mkiv bibliographic engine: bug with “Editor”/“Editors” differentiation (?)

2015-01-26 Thread Jörg Weger
Thanks for the quick reply, so I will update. Greetings Jörg On 26.01.2015 11:52, Hans Hagen wrote: On 1/26/2015 11:07 AM, Jörg Weger wrote: new bibliographic engine: bug with “Editor”/“Editors” differentiation (?) There seems to be a bug in the new MkIV bibliographic engine regarding the di

Re: [NTG-context] Formatting bibliographic inline references and publications list

2015-01-26 Thread Hans Hagen
On 1/25/2015 8:10 PM, Jörg Weger wrote: Thank You Alan and Hans for your efforts regarding my questions so far. After I had played a while with the examples Hans had attached, I have had a little success bei renaming copies of ~/context/tex/texmf-context/tex/context/base/publ-imp-apa.lua and ~/c

Re: [NTG-context] New mkiv bibliographic engine: bug with “Editor”/“Editors” differentiation (?)

2015-01-26 Thread Hans Hagen
On 1/26/2015 11:07 AM, Jörg Weger wrote: new bibliographic engine: bug with “Editor”/“Editors” differentiation (?) There seems to be a bug in the new MkIV bibliographic engine regarding the differentiation of the “editor” variable into “Editor” (singular) and “Editors” (plural) from BibTeX. I

Re: [NTG-context] Bibliography: separating different kinds of literature

2015-01-26 Thread Hans Hagen
On 1/26/2015 10:25 AM, Mojca Miklavec wrote: Hi, What is the proper way to separate bibliography according to some criteria? I would like to separate "serious" publications from web sites (used when referring to hardware models used in experiments for example). I can add a kind of filtering p

[NTG-context] New mkiv bibliographic engine: bug with “Editor”/“Editors” differentiation (?)

2015-01-26 Thread Jörg Weger
new bibliographic engine: bug with “Editor”/“Editors” differentiation (?) There seems to be a bug in the new MkIV bibliographic engine regarding the differentiation of the “editor” variable into “Editor” (singular) and “Editors” (plural) from BibTeX. I have attached a BibTeX file with only t

Re: [NTG-context] contextual alternates

2015-01-26 Thread Hans Hagen
On 1/26/2015 10:18 AM, Pablo Rodriguez wrote: On 01/26/2015 10:04 AM, Hans Hagen wrote: On 1/25/2015 7:30 PM, Pablo Rodriguez wrote: [...] I’m afraid that the following doesn’t work: \definefontfeature[default][default][script=latn,language=eng, calt=yes] because it's dflt (default) and not

[NTG-context] Bibliography: separating different kinds of literature

2015-01-26 Thread Mojca Miklavec
Hi, What is the proper way to separate bibliography according to some criteria? I would like to separate "serious" publications from web sites (used when referring to hardware models used in experiments for example). Thank you, Mojca __

Re: [NTG-context] contextual alternates

2015-01-26 Thread Pablo Rodriguez
On 01/26/2015 10:04 AM, Hans Hagen wrote: > On 1/25/2015 7:30 PM, Pablo Rodriguez wrote: >> [...] >> I’m afraid that the following doesn’t work: >> >> \definefontfeature[default][default][script=latn,language=eng, calt=yes] > > because it's dflt (default) and not latn Many thanks for your reply,

Re: [NTG-context] Simple tocs

2015-01-26 Thread Pablo Rodriguez
On 01/25/2015 11:52 PM, John Culleton wrote: > In this country, and perhaps elsewhere, the front > matter in a technical book will have two tables > of contents, one listing just major titles (e.g., > just chapters and titles or just parts, chapters > and titles) followed by another one that lists

Re: [NTG-context] Simple tocs

2015-01-26 Thread Hans Hagen
On 1/25/2015 11:52 PM, John Culleton wrote: In this country, and perhaps elsewhere, the front matter in a technical book will have two tables of contents, one listing just major titles (e.g., just chapters and titles or just parts, chapters and titles) followed by another one that lists sections

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Hans Hagen
On 1/25/2015 10:12 PM, Kip Warner wrote: Hey list, I am having difficulty typesetting my book using ConTeXt version 2015.01.10 00:44. It bails on line 32... with the

Re: [NTG-context] contextual alternates

2015-01-26 Thread Hans Hagen
On 1/25/2015 7:30 PM, Pablo Rodriguez wrote: On 01/25/2015 05:20 PM, Hans Hagen wrote: On 1/25/2015 3:52 PM, Jan Tosovsky wrote: On 2015-01-25 Hans Hagen wrote: On 1/24/2015 2:12 PM, Pablo Rodriguez wrote: [...] The Pecita font is licensed under the Open Font License and it can be downloaded

Re: [NTG-context] Formatting bibliographic inline references and publications list

2015-01-26 Thread Jörg Weger
Thank You Alan and Hans for your efforts regarding my questions so far. After I had played a while with the examples Hans had attached, I have had a little success bei renaming copies of ~/context/tex/texmf-context/tex/context/base/publ-imp-apa.lua and ~/context/tex/texmf-context/tex/context/b