[NTG-context] item enumeration

2022-05-25 Thread Jorge Manuel via ntg-context
Hi to All A have this piece of code that works in old ConText versions but with new versions (current version: 2022.04.19 19:53) don’t. \def\legalconversion#1{  \dorecurse{\numexpr\currentitemlevel-1}{%  \rawcounter[itemgroup:\currentparentitemgroup][\recurselevel].}%  #1% }

Re: [NTG-context] Gap in rows if tabulate includes a startitemize

2021-12-20 Thread Jorge Manuel via ntg-context
Good morning to all. A new and best example. On 19 Dec 2021, 12:18 +, Hans Hagen via ntg-context , wrote: > On 12/19/2021 9:39 AM, Jorge Manuel via ntg-context wrote: > > The attach. > > yout example works ok here but it's not the same as in the picture so we > need a

Re: [NTG-context] Gap in rows if tabulate includes a startitemize

2021-12-19 Thread Jorge Manuel via ntg-context
The attach. Jorge Magalhães On 19 Dec 2021, 08:18 +, Jorge Manuel , wrote: > Dear Sirs > > I try to tabulate information in two columns: in the first a have a text > sentence in the second I need to include a list of itens. My approach is like > this: > > \st

[NTG-context] Gap in rows if tabulate includes a startitemize

2021-12-19 Thread Jorge Manuel via ntg-context
Dear Sirs I try to tabulate information in two columns: in the first a have a text sentence in the second I need to include a list of itens. My approach is like this: \starttabulate[|p(4cm)|p|]  \FL  \NC Objetivos \NC Estratégias \NC\NR  \LL  \NC Melhorar a qualidade do sucesso educativo \NC  

Re: [NTG-context] Harvard bibliography style

2021-08-10 Thread Jorge Manuel via ntg-context
Alan, Sorry for the insistence, but I need some help in setting up my bibliography. I want to continue to use context, but there is no out-of-the-box solution for bibliographic references that are based on the harvard agsm style (this is the standard in my country). 1. Parenthetical citations

Re: [NTG-context] Percentage stacked bars chart

2021-07-24 Thread Jorge Manuel
Fixed Thanks Wolfgang, Floris and Hans I think the problem was with some hidden extension in the filenames. After using wget, everything worked ok. Jorge Magalhães ___ If your question is of interest to others as

Re: [NTG-context] Percentage stacked bars chart

2021-07-24 Thread Jorge Manuel
Good Morning, The code sent by Hans doesn't work for me. Maybe it's my context tree. I've already emailed the authors. Floris, thanks for the suggestion. Jorge Magalhães ___ If your question is of interest to

Re: [NTG-context] lmt_chart_bar with data from luacode

2021-07-24 Thread Jorge Manuel
Good Morning Yes, this works in the latest version. Thanks a lot. Jorge Magalhães ___ 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] Percentage stacked bars chart

2021-07-23 Thread Jorge Manuel
, live forever. Your ideas and your work are just amazing. Jorge Magalhães On 23 Jul 2021, 17:01 +0100, Hans Hagen , wrote: > On 7/23/2021 4:43 PM, Jorge Manuel wrote: > > Dear Sirs, > > > > Is there a way (out of the box) to draw percentage stacked bars chart > > w

Re: [NTG-context] lmt_chart_bar with data from luacode

2021-07-23 Thread Jorge Manuel
Dear Hans I tried this code, but it didn't work. This is not my day. %%% \starttext \startluacode  document.samples = {  { 10, 30, 30, 40, 50 }  }  function document.dados()  return { { 10, 30, 30, 40, 50 }}  end \stopluacode \startMPcode  draw lmt_chart_bar [  samples =

[NTG-context] Percentage stacked bars chart

2021-07-23 Thread Jorge Manuel
Dear Sirs, Is there a way (out of the box) to draw percentage stacked bars chart with   metapost or MetaFun xl? Thanks for your time and support. Jorge Magalhães ___ If your question is of interest to others as

[NTG-context] lmt_chart_bar with data from luacode

2021-07-23 Thread Jorge Manuel
Dear Sirs If I tried: \starttext \startluacode sample = {10,30,30,40}  function MP.GetP()  mp.print(sample)  end \stopluacode \startMPcode draw lmt_chart_bar [  width = 8cm,  height = 10mm,  samples = {lua.MP.GetP()} ,  trace = true,  maximum = 100,  linewidth = 1mm,  showlabels = false,  

Re: [NTG-context] Harvard bibliography style

2021-07-16 Thread Jorge Manuel
Alan, Thanks for your reply and support. I have found some diferences (I’m still search for more) APA.   -> Harvard Citation: (Author, year) -> (Author year) (No comma) Bibliography: APA: Preston, N. (2014). Understanding ethics (4th ed.). The Federation Press. HARVARD: Preston, N 2014, 

[NTG-context] Harvard bibliography style

2021-07-16 Thread Jorge Manuel
Dear Sirs Is there a way to set my bibliography style to Harvard specifications? Tanks four your support Have a nice day Jorge Magalhães ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Install Tikz in LMTX tree

2020-03-11 Thread Jorge Manuel
Thanks to Hans Hagen. \newcount\eTeXversion \eTeXversion = 2000 \newcount\eTeXrevision \eTeXrevision = 0020 In the top of my tex file fixed the problem. Jorge > On 10 Mar 2020, at 14:06, Hans Hagen wrote: > > On 3/10/2020 11:32 AM, Henri Menke wrote: > >> There are still people trying to

[NTG-context] Install Tikz in LMTX tree

2020-03-09 Thread Jorge Manuel
Dear Sirs, I download tikz.tds.zip from ctan and unzip it in /Applications/Context/context-osx-64/tex/texmf. Next I run mtxrun --generate context —make My test file contains:

Re: [NTG-context] Third party modules in LMTX

2020-03-09 Thread Jorge Manuel
Attention: I tried to install TiKZ module in my macOS Catalina with this shell script and several folders in my system are deleted. My Context Folder is located at /Applications folder. Is there a safe way to install modules for LMTX. Thanks. > On 14 Feb 2020, at 07:48, Henri Menke

Re: [NTG-context] metafun 2

2019-08-19 Thread Jorge Manuel
Thanks a lot for the new features. In my system this code don’t work. macOS Mojave This is LuaMetaTeX, Version 2.00.0 open source > level 1, order 1, name 'cont-yes.mkiv' system > system > ConTeXt ver: 2019.08.17 12:16 MKIV beta fmt: 2019.8.19 int: English/English

[NTG-context] CrossWords Puzzles with context

2019-06-23 Thread Jorge Manuel
After some attempts to build crosswords puzzles with context, I found this approach: 1) Create the puzzle with genxword https://github.com/riverrun/genxword 2) Edit the output table and change all {} to * 3) Save the table in a file (p.e.

Re: [NTG-context] CHEMIC: place a argument under the compound

2019-03-18 Thread Jorge Manuel
Works. Thanks a lot. Jorge > No dia 18/03/2019, às 14:55, Alan Braslau escreveu: > > \startchemicalformula ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] CHEMIC: place a argument under the compound

2019-03-18 Thread Jorge Manuel
Thanks for your support. I clear the recommended line, but the problem persists. How I can fix that? Jorge > No dia 18/03/2019, às 14:36, Alan Braslau escreveu: > > On Mon, 18 Mar 2019 10:08:33 +0000 > Jorge Manuel wrote: > >> \usemodule[chemic] > > chemic is th

[NTG-context] CHEMIC: place a argument under the compound

2019-03-18 Thread Jorge Manuel
Good morning to all, I need to place a argument under the compound. For the first compound it's ok, but for the second and third compounds the argument is placed in front an not bellow. How I can fix that? thanks. \usemodule[chemic] \startformula \chemical{Fe^{3+}}{}{yellow}

Re: [NTG-context] t-scancsv_ConTeXT_module can't filter anymore

2018-09-17 Thread Jorge Manuel
Dear Pablo, Changing scancsv to handlecsv is enough in my all documents (at least the ones I tested). Now, all works fine. Thanks again. Jorge > No dia 17/09/2018, às 19:34, Pablo Rodriguez escreveu: > > > On 9/17/18 7:50 PM, Jorge Manuel wrote: >>> [...] >>

Re: [NTG-context] t-scancsv_ConTeXT_module can't filter anymore

2018-09-17 Thread Jorge Manuel
> No dia 17/09/2018, às 17:07, Pablo Rodriguez escreveu: > > On 9/17/18 3:05 PM, Jorge Manuel wrote: >> Dear Sirs >> >> I'm trying to run an old code that imports the t-scancsv module. > > Dear Jorge Manuel, > > I’m afraid that the scancsv mod

[NTG-context] t-scancsv_ConTeXT_module can't filter anymore

2018-09-17 Thread Jorge Manuel
Dear Sirs I'm trying to run an old code that imports the t-scancsv module. However, I encountered an error message that did not happen before. The same error can be reproduced in the module package when I run "context list.tex". The error is on the line: \ doloopif {\ Flag} {~ =} {anl} {\

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

2017-12-28 Thread Jorge Manuel
Thanks a lot for this nice and clean solution. It’s fantastic. Now it is very easy to make scatter plots from the output of c++ libraries and other kind of applications: two axes and a path build like this path curve; numeric i; i:=1; curve := my_offset(i) forever: hide(i := i + 1) exitif

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

2017-12-28 Thread Jorge Manuel
When I need to draw datapoints from a external data file I’m using lua, like this:\starttext\startluacodeElemento = {}x = {}y ={}z= {}carga = {}i=1context("\\startMPcode”)context("numeric u; u := 1.5cm;")for line in io.lines("molecule.xyz") do   local a, b, c, d, e = string.match(line,

Re: [NTG-context] Can I use lua 5.3 with external dynamic libraries?

2017-12-27 Thread Jorge Manuel
> No dia 27/12/2017, às 09:31, Hans Hagen <pra...@wxs.nl> escreveu: > > On 12/26/2017 9:19 PM, Jorge Manuel wrote: >> Dear Sirs >> Recently I moved to High Sierra with lua version 5.3. >> I make a dynamic library from GSL and Swig the I call meurandist.so &

[NTG-context] Can I use lua 5.3 with external dynamic libraries?

2017-12-26 Thread Jorge Manuel
Dear Sirs Recently I moved to High Sierra with lua version 5.3. I make a dynamic library from GSL and Swig the I call meurandist.so I do: swig -lua meurandist.i gcc -I/usr/include/lua -c meurandist_wrap.c -o meurandist_wrap.o gcc -c meurandist.c -o meurandist.o gcc -fpic -bundle -undefined

Re: [NTG-context] Context minimals on linux armhf

2017-12-16 Thread Jorge Manuel
Fixed. Thanks. Jorge > On 16 Dec 2017, at 20:04, Mojca Miklavec > wrote: > > On 15 December 2017 at 16:06, Lutz Haseloff wrote: >> Hi all, >> >> since some days, everytime I want to run first-setup.sh I get following >> error message. >> >> @ERROR: chroot

Re: [NTG-context] Context minimals on linux armhf

2017-12-16 Thread Jorge Manuel
Same problem for me. I try to install in a fresh High Sierra 10.13.2 rsync version 3.1.2 protocol version 31 Copyright (C) 1996-2015 by Andrew Tridgell, Wayne Davison, and others. @ERROR: chroot failed rsync error: error starting client-server protocol (code 5) at main.c(1719)

[NTG-context] Working example for correspondence

2006-09-23 Thread Jorge Manuel de Almeida Magalhães
Dear Sirs, I need to prepare a letter to send to hundred persons but I don't find a working example for use with a address database in xml format. Can you post a small example, please? I had read the manual named xcorres.pdf, but the examples don't work for me and I don't know what I'm

Re: [NTG-context] Working example for correspondence

2006-09-23 Thread Jorge Manuel de Almeida Magalhães
Robert, Many thanks for your reply. I tried to make texexec letter-sample.tex but I got no pages of output. What I'm doing in the wrong way? Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] several questions

2006-07-30 Thread Jorge Manuel de Almeida Magalhães
Hi to all I have some questions for you. Please help me: 1. Did you know a way to make a list of tables (natural tables \bTable \eTable)? For the Figures it is very easy: \placelist[figure][alternative=c,aligntitle=no,width=4em] but \placelist[table][alternative=c,aligntitle=no,width=4em]

[NTG-context] Making posters with ConTeXT

2006-05-24 Thread Jorge Manuel de Almeida Magalhães
Hi I am trying to making a scientifique poster in Context. I need some suggestions, foreground an example, to start. Somebody has a nice example to share? What is the correct scales for the fonts? Have a nice day/night Thanks to all Jorge ___

[NTG-context] Making exams in Context

2006-05-24 Thread Jorge Manuel de Almeida Magalhães
I need to prepare an exam. My choice is obviously ContexT, but I have some difficulty in generating multiple choice questions in random order. Each student will have one different exam. In Latex I use MUCH (http://fourier.math.uoc.gr/~mk/much/). Did you can tell me if it has a similar solution