Re: [NTG-context] Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)

2018-09-17 Thread luigi scarso
On Mon, Sep 17, 2018 at 3:23 PM Jacqui Coosner 
wrote:

> I am beyond embarrassed. After 2 (unnecessary) re-installs, it turns out I
> had just confused 2 separate commands in my VIM editor.
>
so you are a vim user... good to know. 



-- 
luigi
___
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
___

[NTG-context] Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)

2018-09-17 Thread Jacqui Coosner
I am beyond embarrassed. After 2 (unnecessary) re-installs, it turns out 
I had just confused 2 separate commands in my VIM editor.


Thank you for answering so quickly and not treating me like the idiot I was.

--
Kind regards
Jacqui Coosner
Cell: 083-252-7483

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

Re: [NTG-context] Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)

2018-09-17 Thread luigi scarso
On Mon, Sep 17, 2018 at 10:50 AM Jacqui Coosner 
wrote:

> Good day
>
> Disclaimer: I am a beginner, and I apologise upfront if there is a simple
> answer to this question that I should have known.
>
> Today I tried to compile an existing .tex file, and I received the
> following error message:
>
> *tex error on line 6 in file /Users/jjc/wrk/ctx/brx-test.pdf: ! String
> contains an invalid utf-8 sequence*
>
>
> As taco have said,
your actions in the end are resolved in calling
context  /Users/jjc/wrk/ctx/brx-test.pdf
instead of (presumably)
context  /Users/jjc/wrk/ctx/brx-test.tex

-- 
luigi
___
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
___

Re: [NTG-context] Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)

2018-09-17 Thread Taco Hoekwater
Hi,

> On 17 Sep 2018, at 10:50, Jacqui Coosner  wrote:
> 
> Good day
> 
> Disclaimer: I am a beginner, and I apologise upfront if there is a simple 
> answer to this question that I should have known.
> 
> Today I tried to compile an existing .tex file, and I received the following 
> error message: 
> 
> tex error on line 6 in file /Users/jjc/wrk/ctx/brx-test.pdf: ! String 
> contains an invalid utf-8 sequence

Not that I really know what is wrong, but your context is trying to typeset a 
pdf document,
instead of a tex source.

Taco Hoekwater
Elvenkind BV




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

[NTG-context] Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)

2018-09-17 Thread Jacqui Coosner

Good day

Disclaimer: I am a beginner, and I apologise upfront if there is a 
simple answer to this question that I should have known.


Today I tried to compile an existing .tex file, and I received the 
following error message:


/tex error on line 6 in file /Users/jjc/wrk/ctx/brx-test.pdf: ! String 
contains an invalid utf-8 sequence/


It's been about 3 weeks since I last experimented with ConTeXt. I am 
running on MacOS High Sierra 10.13.6, and I have not had an OS update 
since I last ran ConTeXt.


I tried the following:

1) I tried to compile another file, which previously compiled 
successfully, and I had the same problem.


2) I then created a very simple .tex file (\starttext Hello World   
\stoptext ), and again I had the same problem.


3) I checked the format of my .tex file in 2 different editors to ensure 
that it is utf-8. (I normally use MacVim and it is clearly displaying 
the file format as utf-8 at the bottom of the editor)


4) I updated my ConTeXt installation, restarted my Mac and tried again. 
The only difference was that some of the output stream was displayed 
after the error message.


5) I checked the log file for my simple file, but could not find any 
information to help me. The log file looks as follows:


/open source > level 1, order 1, name 
'/Users/jjc/ctx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system  >
system  > ConTeXt  ver: 2018.09.13 17:41 MKIV beta fmt: 
2018.9.17  int: english/english

system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'/Users/jjc/ctx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system  > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name 
'/Users/jjc/ctx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system  > files > jobname 'tmp', input './tmp.pdf', result 'tmp'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name '/Users/jjc/wrk/ctx/tmp.pdf'

tex error   > tex error on line 6 in file 
/Users/jjc/wrk/ctx/tmp.pdf: ! String contains an invalid utf-8 sequence x^=
 ;Â@@=/y?-$êíí--TÜ¿%xâô й йàËÓËÓÓ((ÇUUH'3ñ¤q/q/ 
!MUS8Ø[[LJãI×I...


 1 %PDF-1.7
 2 %ÌÕÁÔÅØÐÄÆ
 3 9 0 obj
 4 << /Filter /FlateDecode /Length 122 >>
 5 stream
 6 >>  x^=Œ;Â@û=…/€yö®?‘¢-$êí-TÜ¿% xšâô йàËÓ(ÇUH„'3ñ¤q/² 
!M°U‡S8Ø[LJãI×0í·qù›N

 7 (×l&?­.@U å>“~¨j[ ¤§¼C8öW×OtåÅc!±
 8 endstream
 9 endobj
10 13 0 obj
11 << /Subtype /XML /Type /Metadata /Length 2016 >>
12 stream
13 id="W5M0MpCehiHzreSzNTczkc9d"?>xmlns:x="adobe:ns:meta/">xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>rdf:about="" 
xmlns:dc="http://purl.org/dc/elements/1.1/";>application/pdfxml:lang="x-default"/>xml:lang="x-default"/>xml:lang="x-default">tmprdf:about="" xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/";>tmp | 
2018-09-17T10:36:11+02:00tmp2018-09-17 
10:36www.pragma-ade.comcontextgarden.net2018.09.13 
17:41tug.org1.0969305.3osx-64rdf:about="" 
xmlns:xmp="http://ns.adobe.com/xap/1.0/";>2018-09-17T10:36:11+02:00LuaTeX 
1.09 6930 + ConTeXt MkIV 2018.09.13 
17:412018-09-17T10:36:11+02:002018-09-17T10:36:11+02:00rdf:about="" 
xmlns:pdf="http://ns.adobe.com/pdf/1.3/";>LuaTeX-1.09Falserdf:about="" 
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/";>uuid:b3de9df0-4961-b363-350b-5ad87c38575cuuid:05361f45-44fe-8816-3e28-0accb69e9eecend="w"?>

14 endstream
15 endobj
16 16 0 obj
?
tex error   > tex error on line 6 in file 
/Users/jjc/wrk/ctx/tmp.pdf: ! Interruption

 /

I would appreciate any help or advice.


--
Kind regards
Jacqui Coosner
Cell: 083-252-7483

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