Re: [NTG-context] \setvariables and database module

2018-01-30 Thread Wolfgang Schuster
ompare \input knuth.tex \input knuth.tex \input{knuth.tex} Spaces after a control sequence are gobbled and multiple spaces are skipped. Braces around the filename are allowed because this function was added with the extensions to the TeX binary (which means it doesn’t work with Knuths origin

Re: [NTG-context] \setvariables and database module

2018-01-30 Thread Otared Kavian
> On 30 Jan 2018, at 17:37, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> […] >> Is there a way to make the \defineseparatedlist command to be more tolerant >> for the filename? >> > No but you can remove the space

Re: [NTG-context] \setvariables and database module

2018-01-30 Thread Wolfgang Schuster
s fine: \startseplisttalk Hacker;Up to date hacking;hacker.jpg Hacker;Up to date hacking;hacker.jpg \stopseplisttalk while the following does not (as far as the filename is concerned): \startseplisttalk {Hacker};{Up to date hacking};{hacker.jpg} Hacker ; Up to date hacking ; hacker.jpg \stopsepli

Re: [NTG-context] \setvariables and database module

2018-01-30 Thread Otared Kavian
hacking;hacker.jpg \stopseplisttalk while the following does not (as far as the filename is concerned): \startseplisttalk {Hacker};{Up to date hacking};{hacker.jpg} Hacker ; Up to date hacking ; hacker.jpg \stopseplisttalk Is there a way to make the \defineseparatedlist command to be more

Re: [NTG-context] \setvariables and database module

2018-01-30 Thread Otared Kavian
ineseparatedlist > [seplisttalk] > [separator={;}, >command=\maketalk] Thanks Wolfgang! That fixes the issues concerning the entries which are text, but now the filename is not understood by the command \maketalk: here is the modified code: %% begin database-command.tex \usemodule[d

Re: [NTG-context] Django: using ConTeXT mkiv to output PDF

2018-01-28 Thread kaddour kardio
path="%d" --arguments=filename=%d/%e.pdf* *--result="%e-2UP.pdf" /home/ousia/A5-to-A4_landscape-booklet.tex* *​*To be adapted for a working example​ ( tomorrow i have a night shift so probably tuesday i will work on

Re: [NTG-context] Django: using ConTeXT mkiv to output PDF

2018-01-28 Thread Pablo Rodriguez
Geany, https://geany.org/). While --result could handle path in it, my command to create booklets was: contextjit --purgeall --path="%d" --arguments=filename=%e.pdf --result=/home/ousia/"%e-2UP.pdf" /home/ousia/A5-to-A4_landscape-booklet.tex "%d" and %e" stan

Re: [NTG-context] Placing a figure with a command for the file in mkiv

2018-01-27 Thread Otared Kavian
issue… In fact I had tested « picture={hacker.jpg} » without the comma and that one also did not work, while with a comma as in « picture={hacker.jpg}, » the filename is well understood. Many thanks and best regards: OK _

Re: [NTG-context] Placing a figure with a command for the file in mkiv

2018-01-27 Thread Wolfgang Schuster
order to have it work in mkiv? Thanks in advance for any help: OK %%% begin dynamic-filename-figure.tex \starttext \define\authorpicture{hacker.jpg} \defineexpandable\...{...} Wolfgang ___ If your qu

[NTG-context] Placing a figure with a command for the file in mkiv

2018-01-27 Thread Otared Kavian
help: OK %%% begin dynamic-filename-figure.tex \starttext \define\authorpicture{hacker.jpg} \placefigure[here][fig:Myfigure]{} {\externalfigure[\authorpicture]} \stoptext %%% end dynamic-filename-figure.tex

Re: [NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Rik Kabel
\startalign \NC a =\NC b \NR \NC c =\NC d \NR \stopalign \stopformula And stop. \stoptext Try something based on this: \startluacode     userdata = userdata or { }     function userdata.wordcount(listname)     filename = file.addsuffix(tex.jobname,"

Re: [NTG-context] luatex binary is too old

2018-01-15 Thread Hans Hagen
On 1/15/2018 2:47 PM, Roger Mason wrote: Hello, I just updated ConTeXt: context --version resolvers | trees | analyzing 'home:texmf' resolvers | globbing | confusing filename, name: 'README.txt', lower: 'readme.txt', already: 'ReadMe.txt' mtx-context | ConTeXt Process

[NTG-context] luatex binary is too old

2018-01-15 Thread Roger Mason
Hello, I just updated ConTeXt: context --version resolvers | trees | analyzing 'home:texmf' resolvers | globbing | confusing filename, name: 'README.txt', lower: 'readme.txt', already: 'ReadMe.txt' mtx-context

Re: [NTG-context] Standalone update hangs

2018-01-02 Thread Henri
> Dear devs, > > > > I wanted to update standalone today but the update hangs at the following > > line with 100% CPU > > usage > > and growing memory consumption. > > > > > > resolvers   | globbing | confusing filename, name: 'Autote

Re: [NTG-context] Standalone update hangs

2018-01-02 Thread Hans Hagen
On 1/2/2018 10:27 PM, Henri wrote: Dear devs, I wanted to update standalone today but the update hangs at the following line with 100% CPU usage and growing memory consumption. resolvers   | globbing | confusing filename, name: 'Autotext.xba', lower: 'autotext.xba', already

[NTG-context] Standalone update hangs

2018-01-02 Thread Henri
Dear devs, I wanted to update standalone today but the update hangs at the following line with 100% CPU usage and growing memory consumption. resolvers   | globbing | confusing filename, name: 'Autotext.xba', lower: 'autotext.xba', already: 'AutoText.xba' When I Ctrl+C'd out of it I saw

Re: [NTG-context] Can MetaPost draw directly datapoints from a data file?

2017-12-28 Thread Jorge Manuel
i > my_nofelements .. my_offset(i) endfor; Thanks again Have a great 2018 Jorge > No dia 28/12/2017, às 18:47, Hans Hagen <pra...@wxs.nl> escreveu: > > \starttext > > \startluacode >MP.mycode = { } > >local elements = { } > >f

Re: [NTG-context] Can MetaPost draw directly datapoints from a data file?

2017-12-28 Thread Hans Hagen
_]="  ";     endfor     @#1<>"  "   else: false   fi enddef; Grdln_$("molecule.xyz <http://molecule.xyz>"); \stopMPcode mp file handling is rather crippled so this is where lua is better \starttext \startluacode MP.mycode = { } local elements = {

[NTG-context] LuaTeX: Weird GC behaviour

2017-12-05 Thread Henri
.  Is there anything special to the implementation of it in LuaTeX? Cheers, Henri -- Create the file (once) local filename = 'luatexfilelimit.txt' local file = io.open(filename, "w") file:write("hello world\n") file:close() -- Print its contents (many times) for i = 1,

[NTG-context] synctex and TeXShop problem

2017-11-17 Thread Alan Bowen
--file-line-error "$1” and \setupsynctex[state=start, method=max] in the source file, the requisite *filename*.synctex auxiliary file is produced on processing. But I am still not getting any linkage between the source file and the preview file, that is, clicking on one does not have any e

Re: [NTG-context] problems with XML export

2017-11-12 Thread Alan Braslau
, if this need be so, that the PDF file produced when export is enabled NOT overwrite a PDF that might have been produced in a run where export was not enabled. The easiest in my opinion would be for this PDF to be placed in the filename-export/ sub-directory, leaving filename.pdf (if exists) untouched

Re: [NTG-context] Asymptote with Context

2017-10-27 Thread Fabrice Couvreur
t; level 2, order 5, name '/home/fab/ntg70.tex' close source> level 1, order 5, name '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' system > structure > start used structure used structure > text: ntg70 system > structure >

Re: [NTG-context] Obtaining an old standalone

2017-09-08 Thread Roger Mason
ls —generate" is OK. > I am using TeXshop in OS X. So I am not sure this works in Linux system. > I hope that it may help. Thanks for the suggestion. Unfortunately it did not work: luatools -generate resolvers | trees | analyzing 'home:texmf' resolvers | globbing | confusi

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Jeong Dal
esolvers | trees | analyzing 'home:texmf' > resolvers | globbing | confusing filename, name: 'README.txt', lower: > 'readme.txt', already: 'ReadMe.txt' > mtxrun | unknown script 'context.lua' or 'mtx-context.lua' > Dear Roger Mason, I also had a similar problem recen

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
--context=2016.1.4 --all . ~/Context/tex/setuptex Setting "/home/rmason/Context/tex" as ConTeXt root. cd to the directory containing my document, then context document.tex resolvers | trees | analyzing 'home:texmf' resolvers | globbing | confusing filename, name: 'READ

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-17 Thread Fabrice Couvreur
Hi Pablo, When I speak of non-readable, I mean it looks like "hieroglyphics". fab@debian:~$ mtxrun --script fonts --list --pattern=garamond --all resolvers | trees | analyzing 'home:texmf' identifierfamilyname fontname filena

Re: [NTG-context] Help with xml & lua

2017-08-07 Thread Hans Hagen
lly old, sparse and obsolete. On the tex side, it works : \xmlprocessfile{mySetups}{saved.xml}{} works like a charm But the TeX commands don't allow you to grab a modified xml tree, once you have walked it E) I tried lxml.load(id, filename) context("\\xmlregistereddoc

[NTG-context] Help with xml & lua

2017-08-07 Thread Olivier Binda
you to grab a modified xml tree, once you have walked it E) I tried lxml.load(id, filename) context("\\xmlregistereddocumentsetups{" .. id .. "}{}") Best regards, OlivierBinda ___ If your que

[NTG-context] nested \xmlprocessfile calls

2017-06-13 Thread Meer, Hans van der
In a document a series of xml files is processed. The nodes processed are as usual defined in \xmlsetsetup{#1}\writestatus{}{MARKER}{node1|node2|..}{name:*}\stopxmlsetups \xmlregistersetup{name:setups} The root is called with \xmlprocessfile{root}{filename}{} and has a setup as follows

[NTG-context] (geen onderwerp)

2017-05-05 Thread r . ermers
infontslantedfeatures][SerifBold][DefaultFont][fallbacks=mainfontboldfallbacks,features=mainfontboldfeatures][SerifBoldItalic][DefaultFont] identifierfamilynamefontname filename subfont instances fontinsmallcaps fontinsmallcaps fontinsmallcaps Fontin-

Re: [NTG-context] Finding OSX fonts

2017-04-14 Thread Meer, Hans van der
OK, --pattern instead of pattern. But then still nothing: 122 texmf: mtxrun --script fonts --list --pattern="Comic*" --all resolvers | trees | analyzing '/Users/hansm/Documents/TeX/texmf' identifier familyname fontname filename subfont instances Hans van der Meer

[NTG-context] Finding OSX fonts

2017-04-14 Thread Meer, Hans van der
--script fonts --list pattern="Comic*" --all resolvers | trees | analyzing '/Users/hansm/Documents/TeX/texmf' identifier familyname fontname filename subfont instances Allthough there are definitely Comic fonts (such as Comic Sans MS.ttf) in directory /Lib

Re: [NTG-context] problem with math: "\left" leads to "udefined symbol"

2017-01-24 Thread Roger Mason
Hans Hagen <pra...@wxs.nl> writes: > > this just works here ... so can others confirm it? > > \starttext > > \startformula > x = \left ( 1 + 2 \right ) > \stopformula > > \stoptext > > Here too: resolvers | trees | analyzing 'home:texmf' resol

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-12 Thread Mingranina Gingranina
dabeer >> >> > >> > 2. You can access the list of known fonts with the "fonts.names.list" >> > function: >> > >> > \setuppapersize[A4,landscape] >> > >> > \starttext >> > >> > \startluacode >> > &

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-11 Thread Mohammad Hossein Bateni
t > > > > \startluacode > > > > local fontlist = fonts.names.list("",true,true) > > > > context.starttabulate({"|l|l|"}) > > for fontname, fontentry in next, fontlist do > > context.NC() > > context(fontentry[&qu

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Jan Willem Flamma
r ConTeXt. > A few highlights: > > - jump commands ([[, ]], [{, ]}, ...); > > - jump to file included with \project, \component, etc... by typing > gf when the cursor is above the filename; > > - tp (TeX paragraph) text object (e.g., use gqap to reflow a paragraph); > > - i

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-10 Thread Mingranina Gingranina
rttabulate({"|l|l|"}) > for fontname, fontentry in next, fontlist do > context.NC() > context(fontentry["rawname"]) > context.NC() > context(fontentry["filename"]) > context.NC() > context.NR() > end > context.stopta

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Henri Menke
016 01:49 PM, Henri Menke wrote: >> Dear Thomas, >> >> does it also compile on latest beta when there is a hyphen in the filename? >> BTW, the example can be simplified a little by just using >> \setbreakpoints[compound] instead of my complicated hyphen thing (Updated

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Ulrike Fischer
Am Mon, 10 Oct 2016 13:49:47 +0200 schrieb Henri Menke: > does it also compile on latest beta when there is a hyphen in the filename? Works fine for me with system > ConTeXt ver: 2016.10.08 00:11 MKIV beta fmt: 2016.10.10 int: english/english and a file "test-error.

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Thomas A. Schmitz
On 10/10/2016 01:49 PM, Henri Menke wrote: Dear Thomas, does it also compile on latest beta when there is a hyphen in the filename? BTW, the example can be simplified a little by just using \setbreakpoints[compound] instead of my complicated hyphen thing (Updated example is below.). Also

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Henri Menke
Dear Thomas, does it also compile on latest beta when there is a hyphen in the filename? BTW, the example can be simplified a little by just using \setbreakpoints[compound] instead of my complicated hyphen thing (Updated example is below.). Also I'm very sure that it is mainly related

[NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-10 Thread Nicola
Hello, attached you find an update of the Vim scripts for ConTeXt. A few highlights: - jump commands ([[, ]], [{, ]}, ...); - jump to file included with \project, \component, etc... by typing gf when the cursor is above the filename; - tp (TeX paragraph) text object (e.g., use gqap to reflow

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Thomas A. Schmitz
when the filename of the document contains a hyphen! When I save the document as `test-error.tex' the error comes up, when I save it as `testerror.tex' it typesets smoothly. Unfortunately, I currently cannot update to latest beta because I have an important document where I cannot afford any

[NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Henri Menke
Dear list, at some point my document started throwing an error ! error: (nodes): trying to delete an attribute reference of a non attribute node I managed to extract a minimal example which shows the error (below). However, the error only occurs when the filename of the document contains

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-10 Thread Wolfgang Schuster
.NC() context(fontentry["rawname"]) context.NC() context(fontentry["filename"]) context.NC() context.NR() end context.stoptabulate() \stopluacode \stoptext However, inspired by your reply I could get it to work in LuaTeX but not in ConTeXt with Dabeer module. Are

[NTG-context] Resume module with moderncv interface

2016-10-06 Thread Jonas Baggett
rce> 1 > 8 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv system > structure > start used structure used structure > text: CV system > structure > stop used structure system > files > start used files used file >1:

Re: [NTG-context] Fonts in same directory.-

2016-08-17 Thread Wolfgang Schuster
s your document you need a typescript which loads the file with the filename method. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] TEI to context XML mappings?

2016-08-14 Thread Hans Hagen
-xpath "distinct-values(//*/name())" file.xml` do echo -e "\\startxmlsetups xml:$ELM \n\t \\xmlflush{#1} \n \\stopxmlsetups" done I still need to write $ELM into an array to make it do the following: \startxmlsetups xml:blank:map % xml:[filename] would be also fine

Re: [NTG-context] TEI to context XML mappings?

2016-08-13 Thread Mica Semrick
echo -e "\\startxmlsetups xml:$ELM \n\t \\xmlflush{#1} \n \\stopxmlsetups" done I still need to write $ELM into an array to make it do the following: \startxmlsetups xml:blank:map % xml:[filename] would be also fine \xmlsetsetup{\xmldocument} {xml:elements:from:the:

Re: [NTG-context] Problems with old style figures and particular font

2016-08-13 Thread Martin Oppegaard
font --list --info fbbregular > > resolvers | trees | analyzing 'home:texmf' > mtx-fonts | > mtx-fonts | mapping : fbbregular > mtx-fonts | fontname : fbbregular > mtx-fonts | fullname : fbbregular > mtx-fonts | filename : fbb-Regular.otf > mtx-fonts | family : fbb >

Re: [NTG-context] Problems with old style figures and particular font

2016-08-12 Thread Wolfgang Schuster
egular mtx-fonts | fontname : fbbregular mtx-fonts | fullname : fbbregular mtx-fonts | filename : fbb-Regular.otf mtx-fonts | family: fbb mtx-fonts | weight: normal mtx-fonts | style : normal mtx-fonts | width : normal mtx-fonts | variant :

Re: [NTG-context] Problems with old style figures and particular font

2016-08-12 Thread Martin Oppegaard
age 1 close source> 2 > 4 > /home/martin/documents/fbb-test/context-test1.tex close source> 1 > 4 > /usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv system > structure > start used structure used structure > text: context-test1 system &

Re: [NTG-context] WARNING: File path includes directory that doesn't exist

2016-07-31 Thread Aditya Mahajan
;%newname%" ]], pngargument = [[ "%oldname%" --export-dpi=600 --export-png="%newname%" ]], } -A and --export-pdf are synonyms. When inkscape -A --export-pdf="..." is used, inkscape thinks that `--export-pdf="..."` is th

[NTG-context] French and Ancient Greek

2016-07-11 Thread Jean-Pierre Delange
ilosophy_Margin-Footnotes-Greek-Version03.tex close source> 1 > 3 > C:/Users/Adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv system > structure > start used structure used structure > text: ConTEXt_Philosophy_Margin-Footnotes-Gr

Re: [NTG-context] TEI to context XML mappings?

2016-06-21 Thread Mica Semrick
do echo -e "\\startxmlsetups xml:$ELM \n\t \\xmlflush{#1} \n \\stopxmlsetups" done I still need to write $ELM into an array to make it do the following: \startxmlsetups xml:blank:map % xml:[filename] would be also fine \xmlsetsetup{\xmldocument} {xml:elements:from:the:variable:elm} % l

Re: [NTG-context] What is wrong here?

2016-06-20 Thread luigi scarso
s[title, > chapter,section,subsection][title,chapter,section] > > 4 \setupinteractionscreen[option=bookmark] > > 5 > > 6 \starttext > > 7 >> \input Sigmund Freud Band1.pdf > > 8 \stoptext > > > \input "Sigmund Freud Band1.pdf"

Re: [NTG-context] Invoking ConTeXt from inside php web appliction

2016-06-17 Thread Pavneet Arora
error in the log file: > > > > resolvers | caches | fatal error: there is no valid writable cache > > path defined > > > > I also attempted this manually at a bash prompt resulting in the same > > error: > > > > sudo -u www-data bash -c bin/proccontext.sh

Re: [NTG-context] Invoking ConTeXt from inside php web appliction

2016-06-17 Thread luigi scarso
path defined > > I also attempted this manually at a bash prompt resulting in the same > error: > > sudo -u www-data bash -c bin/proccontext.sh $FILENAME > > What would be the correct design pattern to invoke Co

[NTG-context] Invoking ConTeXt from inside php web appliction

2016-06-17 Thread Pavneet Arora
the following error in the log file: resolvers | caches | fatal error: there is no valid writable cache path defined I also attempted this manually at a bash prompt resulting in the same error: sudo -u www-data bash -c bin/proccontext.sh $FILENAME What would be the correct design patte

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
> flushing realpage 1, userpage 1 close source> 2 > 3 > /home/adeimantos/context/ConTeXT/ConTeXt_FootNote-CriticusApparatus_2Columns_PabloR-01.tex close source> 1 > 3 > /home/adeimantos/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv system > structure > sta

Re: [NTG-context] Setting up TeXworks

2016-05-06 Thread L.S.-Soc
e in the Program field - for arguments add:$fullname(this parses the filename to context compiler) - if you want to use the sync code <-> pdf feature, also add another argument:--synctex=-1 that's it. there is the option to make this the default profile

Re: [NTG-context] custom cite in \externalfigure

2016-05-06 Thread eidenbenz
possible width I need in my layout. Isn't there a way to just get the filename of the cite so I can a macro with the width as an argument? Thanks Michael > On 04 May 2016, at 23:39, Alan Braslau <alan.bras...@cea.fr> wrote: > > On Wed, 4 May 2016 21:31:46 + > "Eide

Re: [NTG-context] custom cite in \externalfigure

2016-05-04 Thread Alan Braslau
On Wed, 4 May 2016 21:31:46 + "Eidenbenz Michael" <eidenb...@arch.ethz.ch> wrote: > what seems strange to me is that \cite[filename] works as such, but > not as an argument to \externalfigure The \externalfigure tries to do quite a lot with its argument(s). You

Re: [NTG-context] custom cite in \externalfigure

2016-05-04 Thread Eidenbenz Michael
thats what i already have: >> \startsetups btx:duane:cite:filename >> {\btxfield{url_image}} >> \stopsetups so you mean i have to use btxfield outside a setups? what seems strange to me is that \cite[filename] works as such, but not as an argument to \externalfigure i tho

Re: [NTG-context] custom cite in \externalfigure

2016-05-04 Thread Hans Hagen
oes a lot more than just returning a filename ... you need to use the low more level btxfield commands to get the more raw data Thanks Michael --- \startbuffer[duane] @image {tug2014, title = "TUG 2014", url

Re: [NTG-context] Problems with ttc-fonts

2016-05-01 Thread Hans Hagen
st 1234567890 \stoptext This gives: .234567890 p234567890 So with latin modern it works fine, while with cambria the first letter of the substituation is used. I found the reason for that (side effect of utf conversion that takes the first character) of 'period'. The used fonts are: filename=lmro

[NTG-context] custom cite in \externalfigure

2016-04-30 Thread eidenbenz
btxfield{url_image}} \stopsetups \starttext \cite[filename][duane::tug2014]\par \cite[external][duane::tug2014]\par % Why does this not work? %\externalfigure[\cite[filename][duane::tug2014]][width

Re: [NTG-context] Problems with ttc-fonts

2016-04-29 Thread Hans Hagen
st 1234567890 \stoptext This gives: .234567890 p234567890 So with latin modern it works fine, while with cambria the first letter of the substituation is used. The used fonts are: filename=lmroman10-bold.otf filetype=otf format=otf foundname=D:/context-minimals/context/tex/texmf/fonts/opentype/public/l

[NTG-context] Problems with ttc-fonts

2016-04-29 Thread Ulrike Fischer
4567890 So with latin modern it works fine, while with cambria the first letter of the substituation is used. The used fonts are: filename=lmroman10-bold.otf filetype=otf format=otf foundname=D:/context-minimals/context/tex/texmf/fonts/opentype/public/lm/lmroman10-bold.otf usedmethod=database

Re: [NTG-context] xml input

2016-04-14 Thread Mica Semrick
t; Ik heb wat in de code rondgeneusd. >> Uit lxml> tex > including file 'notes-example.xml' >> in de log blijkt dat in function >lxml.include(id,pattern,attribute,options) >> moet zijn uitgevoerd >> >> if trace_loading then >&

Re: [NTG-context] xml input

2016-04-14 Thread Pablo Rodriguez
de code rondgeneusd. > Uit lxml> tex > including file 'notes-example.xml' > in de log blijkt dat in function lxml.include(id,pattern,attribute,options) > moet zijn uitgevoerd > > if trace_loading then > report_lxml("including file %a&

Re: [NTG-context] xml input

2016-04-14 Thread luigi scarso
t; tex > including file 'notes-example.xml' > in de log blijkt dat in function > lxml.include(id,pattern,attribute,options) > moet zijn uitgevoerd > > if trace_loading then > report_lxml("including file %a",filename) > end

Re: [NTG-context] xml input

2016-04-14 Thread Meer, Hans van der
t in de code rondgeneusd. Uit lxml> tex > including file 'notes-example.xml' in de log blijkt dat in function lxml.include(id,pattern,attribute,options) moet zijn uitgevoerd if trace_loading then report_lxml("including file %a&quo

Re: [NTG-context] issue with font loading

2016-03-03 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 2. März 2016 um 16:56 Even if the font is on the same directory as the ConTeXt source file? I invoke it by its file name. Sorry, this was outside the ConTeXt tree. And I didn’t know that it has to be indexed by ConTeXt. Loading font by filename

Re: [NTG-context] issue with font loading

2016-03-02 Thread Hans Hagen
is loaded used file >6: filename=lmroman10-regular.otf filetype=otf format=otf foundname=/home/ousia/ctxbeta/tex/texmf/fonts/opentype/public/lm/lmroman10-regular.otf usedmethod=database mkiv lua stats > loaded fonts: 1 files: lmroman10-regular.otf mkiv lua stats > font

Re: [NTG-context] issue with font loading

2016-03-02 Thread Pablo Rodriguez
> preloading modern-designsize (math) fonts > typescripts > unknown library 'modern-designsize' fonts > 'fallback modern-designsize mm 12pt' is loaded fonts > preloading modern-designsize (mono) fonts > 'fallback modern-d

Re: [NTG-context] TEI to context XML mappings?

2016-02-25 Thread Hans Hagen
what you want \startxmlsetups xml:blank:map % xml:[filename] would be also fine \xmlsetsetup{\xmldocument} {xml:elements} % all elements used in document listed here {xml:*} you can use \xmlsetsetup{#1} there which is more neutral unless you target a specific xml

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread mica
this: Is there any feature or script that anyone can share that will read in an XML document and spit out a blank mapping file? what is a blank mapping file Just guessing (or that would be useful for me too), a file with the following scheme: \startxmlsetups xml:blank:map % xml:[filename] would be also fine

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Hans Hagen
out a blank mapping file? what is a blank mapping file Just guessing (or that would be useful for me too), a file with the following scheme: \startxmlsetups xml:blank:map % xml:[filename] would be also fine \xmlsetsetup{\xmldocument} {xml:elements} % all elements used in document

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Pablo Rodriguez
ank mapping file? > > what is a blank mapping file Just guessing (or that would be useful for me too), a file with the following scheme: \startxmlsetups xml:blank:map % xml:[filename] would be also fine \xmlsetsetup{\xmldocument} {xml:elements} % all elements used in

[NTG-context] Synchronize ERROR: unknown node type 12

2015-12-19 Thread Lukas Prochazka
section @ level 3 : 0.0.1 -> Principy backend > xmp > using file 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1 close source> 2 > 3 > D://Lukas/Jobs/D3-Sk/SO_237-20.RDS/Geom.Smo/Test/Test.mkiv close

Re: [NTG-context] Problem with first setup of StandAlone ConTeXt

2015-12-15 Thread Bruce Boghosian
em persists -- again no matter how the --context flag is set. Would it help if I sent you the full output of the following command? $ sh ./first-setup.sh --modules=all --engine=luatex It seems to contain many, many soft errors of the form resolvers | globbing | confusing filename, name: '

Re: [NTG-context] Problem with first setup of StandAlone ConTeXt

2015-12-15 Thread Mojca Miklavec
842 \pdfminorversion > \plusfive > ? Maybe you should grep for other occurrences of TEXMFCNF in your home folder? (My bash uses ~/.bash_profile.) - > It seems to contain many, many soft errors of the form > > resolvers | globbing | confusing filename, name: 'Ch

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-11 Thread tala...@fastmail.fm
> service. >>>>> >>>>> The SSP (on my machine) works fine in Inkscape. >>>>> >>>>> The exact same font was also working before the ConTeXt upgrade. >>>> >>>> Confirmed, it appears to work if you revert to the old loader

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-11 Thread tala...@fastmail.fm
ile for Source Sans Pro came directly from the Google's font >>>>> service. >>>>> >>>>> The SSP (on my machine) works fine in Inkscape. >>>>> >>>>> The exact same font was also working before the ConTeXt upgrade. >>&g

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-10 Thread tala...@fastmail.fm
act same font was also working before the ConTeXt upgrade. >>> >>> Confirmed, it appears to work if you revert to the old loader in >>> font-lib.mkvi. >> >> i need a better example of what fails then as it works here > > > The problem seems to be the “f

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-07 Thread Philipp Gesang
rvice. > >> > >> The SSP (on my machine) works fine in Inkscape. > >> > >> The exact same font was also working before the ConTeXt upgrade. > > > > Confirmed, it appears to work if you revert to the old loader in > > font-lib.mkvi. > > i

[NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
Dear all, I am trying to write some lua code that loads some pdf file and scales it. I have the following code (got from previous question here to get number of pages from a pdf and from source files). local figure = figures.push { name = filename, scale = N } -- scale value does not seem

Re: [NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
code that loads some pdf file and scales it. I have the following code (got from previous question here to get number of pages from a pdf and from source files). local figure = figures.push { name = filename, scale = N } -- scale value does not seem to be taken in account assert(figure

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
h >> a recent context version): >> >> >> >> starttext >> >> startsetups[s:footer] > insidesplitfloatfalse > >> startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] >> startxrow >> start

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
\startsetups[s:footer] \startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups \setupheader[style=\tx

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Wolfgang Schuster
footer] \insidesplitfloatfalse \startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups Wo

[NTG-context] Splitting natural table fails with xtable in footer

2015-10-01 Thread Andreas Schneider
=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups \setupheader[style=\tx] \setupfooter[style=\tx] \setupfootertexts[\setups{s:footer}][][][\setups{s:footer}] \startchapter

Re: [NTG-context] Problem with the installation of a module

2015-08-21 Thread Andrea De Michele
. To check the value of TEXMFLOCAL use mtxrun --expand-var TEXMFLOCAL You can also try: context --trackers=resolvers.\* filename Aditya ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Problem with the installation of a module

2015-08-15 Thread Andrea De Michele
. To check the value of TEXMFLOCAL use mtxrun --expand-var TEXMFLOCAL You can also try: context --trackers=resolvers.\* filename Aditya ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Problem with the installation of a module

2015-08-14 Thread Aditya Mahajan
-local context (mkiv) does not use kpse (texmf.cnf) but uses the values stored it texmfcnf.lua. To check the value of TEXMFLOCAL use mtxrun --expand-var TEXMFLOCAL You can also try: context --trackers=resolvers.\* filename Aditya

[NTG-context] Finding the correct name of font to use with \definefontamily

2015-08-08 Thread Pavneet Arora
| fontname: novecentowidelight mtx-fonts | fullname: novecentowidelight mtx-fonts | filename: /home/pavneet/.fonts/opentype/Novacento/Novecentowide-Light.otf mtx-fonts | family : novecentowide mtx-fonts | weight : light mtx-fonts | style : normal mtx-fonts

Re: [NTG-context] new beta

2015-07-11 Thread Pablo Rodriguez
And if I don’t load the newotf module, the font is loaded fine: used file 7: filename=/usr/share/fonts/ousia/GFSDidot.otf format=otf foundname=/usr/share/fonts/ousia/GFSDidot.otf usedmethod=direct This is weird, since if I load a non-existent font (such as Impossibila), compilation

Re: [NTG-context] new beta

2015-07-11 Thread Hans Hagen
/ousia/GFSDidot.otf: GFS Didot:style=Regular And if I don’t load the newotf module, the font is loaded fine: used file 7: filename=/usr/share/fonts/ousia/GFSDidot.otf format=otf foundname=/usr/share/fonts/ousia/GFSDidot.otf usedmethod=direct This is weird, since if I load a non-existent

Re: [NTG-context] newotf, problem with .ttc fonts

2015-07-11 Thread Hans Hagen
] % KaTi Regular \starttext Confucius’ {\em Analects} ({\testfont 論語} {\em LunYu}). \stoptext Without the new module, this works with all of the test fonts. font-otl.lua, around line 254: data = otfreaders.loadfont(filename,sub or 1) add the or 1 Hans

<    1   2   3   4   5   6   7   8   9   10   >