ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* reference manual
@ 2018-09-17  9:12 Hans van der Meer
  2018-09-17 10:27 ` Henri Menke
  0 siblings, 1 reply; 7+ messages in thread
From: Hans van der Meer @ 2018-09-17  9:12 UTC (permalink / raw)
  To: NTG ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 246 bytes --]

My most recent version of the "ConTeXt reference manual” is Hans Hagen, Taco Hoekwater September 27, 2013.
Is there a newer edition available? I could not find one in the (beta) distribution in texmf-context/doc.

dr. Hans van der Meer



[-- Attachment #1.2: Type: text/html, Size: 1380 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: reference manual
  2018-09-17  9:12 reference manual Hans van der Meer
@ 2018-09-17 10:27 ` Henri Menke
  2018-09-17 13:05   ` t-scancsv_ConTeXT_module can't filter anymore Jorge Manuel
  0 siblings, 1 reply; 7+ messages in thread
From: Henri Menke @ 2018-09-17 10:27 UTC (permalink / raw)
  To: ntg-context

On 09/17/2018 09:12 PM, Hans van der Meer wrote:
> My most recent version of the "ConTeXt reference manual” is Hans Hagen,
> Taco Hoekwater September 27, 2013.
> Is there a newer edition available? I could not find one in the (beta)
> distribution in texmf-context/doc.

The ConTeXt reference manual is outdated.  Please see my documentation
guide on https://github.com/hmenke/context-examples/blob/master/GUIDE.md
for where to find documentation.

> 
> dr. Hans van der Meer
> 
> 
> 
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* t-scancsv_ConTeXT_module can't filter anymore
  2018-09-17 10:27 ` Henri Menke
@ 2018-09-17 13:05   ` Jorge Manuel
  2018-09-17 16:07     ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Jorge Manuel @ 2018-09-17 13:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1255 bytes --]

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} {\ lineaction} don’t work anymore, the same for \ doloopif {\ Flag} {==} {anl} {\ lineaction} 

but  \ doloopif {1} {= =} {1} {\ lineaction} is ok.


And the error is

<argument> \Email 
       
\mailto #1->\useURL [#1
                       ][mailto:#1][][#1]\from [{#1}]
<argument> ...\bTD \ \flagpicture \eTD \bTD \fcol \ttx \mejl 
                                                  \eTD \eTR 
\expanded ...m_syst_helpers_expanded {\noexpand #1
                                                  }\m_syst_helpers_expanded 
\20>>1 ...v.gNumLine-1;}\else \blinehook \tempiii 
                                                  \elinehook \fi \nextrow \i...
\syst_helpers_loop_yes ...helpers_recurse_content 
                                                  \endofloop 
...
l.81 \doloopif{\Flag}{~=}{anl}{\lineaction}
                                         

Thanks for your support.


This is LuaTeX, Version 1.08.0 (TeX Live 2018) 

[-- Attachment #1.2: Type: text/html, Size: 6886 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: t-scancsv_ConTeXT_module can't filter anymore
  2018-09-17 13:05   ` t-scancsv_ConTeXT_module can't filter anymore Jorge Manuel
@ 2018-09-17 16:07     ` Pablo Rodriguez
  2018-09-17 17:50       ` Jorge Manuel
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2018-09-17 16:07 UTC (permalink / raw)
  To: ntg-context

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 module has been deprecated.

handlecsv is the new csv module (that replaces scancsv).

Could you use the handlecsv module instead? (At least, if my suggestion
below doesn’t work, try handlecsv.)

> 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: 

Unless you provide a minimal sample that reproduces the issue, it is
impossible to know what when wrong.

> \doloopif{\Flag}{~=}{anl}{\lineaction} doesn’t work anymore, the
> same for \doloopif{\Flag}{==}{anl}{\lineaction}

My guess is that you need to enclose text strings in quotes, so that
your conditionals read:

   \doloopif{\Flag}{~=}{"anl"}{\lineaction}
   \doloopif{\Flag}{==}{"anl"}{\lineaction}

> but \doloopif{1}{==}{1}{\lineaction} is ok.

Numbers must not be enclosed in quotes to be handled as such (that is,
to avoid being treated as text strings).

I hope it helps,

Pablo




-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: t-scancsv_ConTeXT_module can't filter anymore
  2018-09-17 16:07     ` Pablo Rodriguez
@ 2018-09-17 17:50       ` Jorge Manuel
  2018-09-17 18:34         ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Jorge Manuel @ 2018-09-17 17:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> No dia 17/09/2018, às 17:07, Pablo Rodriguez <oinos@gmx.es> 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 module has been deprecated.
> 
> handlecsv is the new csv module (that replaces scancsv).
> 
> Could you use the handlecsv module instead? (At least, if my suggestion
> below doesn’t work, try handlecsv.)
> 
>> 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: 
> 
> Unless you provide a minimal sample that reproduces the issue, it is
> impossible to know what when wrong.
> 
>> \doloopif{\Flag}{~=}{anl}{\lineaction} doesn’t work anymore, the
>> same for \doloopif{\Flag}{==}{anl}{\lineaction}
> 
> My guess is that you need to enclose text strings in quotes, so that
> your conditionals read:
> 
>   \doloopif{\Flag}{~=}{"anl"}{\lineaction}
>   \doloopif{\Flag}{==}{"anl"}{\lineaction}


Thanks for your reply. This code don’t work.  I would try your handlecsv module. I need to adapt my old .tex files. 
 Many thanks for that.

Jorge



> 
>> but \doloopif{1}{==}{1}{\lineaction} is ok.
> 
> Numbers must not be enclosed in quotes to be handled as such (that is,
> to avoid being treated as text strings).
> 
> I hope it helps,
> 
> Pablo
> 
> 
> 
> 
> -- 
> http://www.ousia.tk
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: t-scancsv_ConTeXT_module can't filter anymore
  2018-09-17 17:50       ` Jorge Manuel
@ 2018-09-17 18:34         ` Pablo Rodriguez
  2018-09-17 20:57           ` Jorge Manuel
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2018-09-17 18:34 UTC (permalink / raw)
  To: ntg-context


On 9/17/18 7:50 PM, Jorge Manuel wrote:
>> [...]
>> My guess is that you need to enclose text strings in quotes, so that
>> your conditionals read:
>>
>>   \doloopif{\Flag}{~=}{"anl"}{\lineaction}
>>   \doloopif{\Flag}{==}{"anl"}{\lineaction}
> 
> Thanks for your reply. This code don’t work.  I would try your
> handlecsv module. I need to adapt my old .tex files.
I was wrong. Quotes aren’t required.

See minimal example (which works both with handlecsv and scancsv):

    \usemodule[handlecsv]% scancsv works too
    \opencsvfile{cities.csv}
    \starttext
    \startbuffer
    This is located in Germany: \cA\par
    \stopbuffer
    \section{Cities in Germany}
    \doloopif{\cB}{==}{Germany}{\getbuffer}
    \section{Cities not in Germany}
    \doloopif{\cB}{~=}{Germany}{\getbuffer}
    \stoptext

Contents from "cities.csv" read:

    "Berlin";"Germany"
    "Paris";"France"
    "London";"UK"
    "New York";"USA"
    "Munich";"Germany"
    "Lisbon";"Portugal"
    "Dublin";"Ireland"
    "Warsaw";"Poland"
    "Vienna";"Austria"
    "Barcelona";"Spain"

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: t-scancsv_ConTeXT_module can't filter anymore
  2018-09-17 18:34         ` Pablo Rodriguez
@ 2018-09-17 20:57           ` Jorge Manuel
  0 siblings, 0 replies; 7+ messages in thread
From: Jorge Manuel @ 2018-09-17 20:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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 <oinos@gmx.es> escreveu:
> 
> 
> On 9/17/18 7:50 PM, Jorge Manuel wrote:
>>> [...]
>>> My guess is that you need to enclose text strings in quotes, so that
>>> your conditionals read:
>>> 
>>>  \doloopif{\Flag}{~=}{"anl"}{\lineaction}
>>>  \doloopif{\Flag}{==}{"anl"}{\lineaction}
>> 
>> Thanks for your reply. This code don’t work.  I would try your
>> handlecsv module. I need to adapt my old .tex files.
> I was wrong. Quotes aren’t required.
> 
> See minimal example (which works both with handlecsv and scancsv):
> 
>    \usemodule[handlecsv]% scancsv works too
>    \opencsvfile{cities.csv}
>    \starttext
>    \startbuffer
>    This is located in Germany: \cA\par
>    \stopbuffer
>    \section{Cities in Germany}
>    \doloopif{\cB}{==}{Germany}{\getbuffer}
>    \section{Cities not in Germany}
>    \doloopif{\cB}{~=}{Germany}{\getbuffer}
>    \stoptext
> 
> Contents from "cities.csv" read:
> 
>    "Berlin";"Germany"
>    "Paris";"France"
>    "London";"UK"
>    "New York";"USA"
>    "Munich";"Germany"
>    "Lisbon";"Portugal"
>    "Dublin";"Ireland"
>    "Warsaw";"Poland"
>    "Vienna";"Austria"
>    "Barcelona";"Spain"
> 
> Just in case it helps,
> 
> Pablo
> -- 
> http://www.ousia.tk
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-09-17 20:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-17  9:12 reference manual Hans van der Meer
2018-09-17 10:27 ` Henri Menke
2018-09-17 13:05   ` t-scancsv_ConTeXT_module can't filter anymore Jorge Manuel
2018-09-17 16:07     ` Pablo Rodriguez
2018-09-17 17:50       ` Jorge Manuel
2018-09-17 18:34         ` Pablo Rodriguez
2018-09-17 20:57           ` Jorge Manuel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).