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°US8Ø[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 <?xpacket begin=""
id="W5M0MpCehiHzreSzNTczkc9d"?><x:xmpmeta
xmlns:x="adobe:ns:meta/"><rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description
rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:format>application/pdf</dc:format><dc:creator><rdf:Seq><rdf:li
xml:lang="x-default"/></rdf:Seq></dc:creator><dc:description><rdf:Alt><rdf:li
xml:lang="x-default"/></rdf:Alt></dc:description><dc:title><rdf:Alt><rdf:li
xml:lang="x-default">tmp</rdf:li></rdf:Alt></dc:title></rdf:Description><rdf:Description
rdf:about=""
xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/"><pdfx:ID>tmp
|
2018-09-17T10:36:11+02:00</pdfx:ID><pdfx:ConTeXt.Jobname>tmp</pdfx:ConTeXt.Jobname><pdfx:ConTeXt.Time>2018-09-17
10:36</pdfx:ConTeXt.Time><pdfx:ConTeXt.Url>www.pragma-ade.com</pdfx:ConTeXt.Url><pdfx:ConTeXt.Support>contextgarden.net</pdfx:ConTeXt.Support><pdfx:ConTeXt.Version>2018.09.13
17:41</pdfx:ConTeXt.Version><pdfx:TeX.Support>tug.org</pdfx:TeX.Support><pdfx:LuaTeX.Version>1.09</pdfx:LuaTeX.Version><pdfx:LuaTeX.Functionality>6930</pdfx:LuaTeX.Functionality><pdfx:LuaTeX.LuaVersion>5.3</pdfx:LuaTeX.LuaVersion><pdfx:LuaTeX.Platform>osx-64</pdfx:LuaTeX.Platform></rdf:Description><rdf:Description
rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/"><xmp:CreateDate>2018-09-17T10:36:11+02:00</xmp:CreateDate><xmp:CreatorTool>LuaTeX
1.09 6930 + ConTeXt MkIV 2018.09.13
17:41</xmp:CreatorTool><xmp:ModifyDate>2018-09-17T10:36:11+02:00</xmp:ModifyDate><xmp:MetadataDate>2018-09-17T10:36:11+02:00</xmp:MetadataDate></rdf:Description><rdf:Description
rdf:about=""
xmlns:pdf="http://ns.adobe.com/pdf/1.3/"><pdf:Keywords/><pdf:Producer>LuaTeX-1.09</pdf:Producer><pdf:Trapped>False</pdf:Trapped></rdf:Description><rdf:Description
rdf:about=""
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"><xmpMM:DocumentID>uuid:b3de9df0-4961-b363-350b-5ad87c38575c</xmpMM:DocumentID><xmpMM:InstanceID>uuid:05361f45-44fe-8816-3e28-0accb69e9eec</xmpMM:InstanceID></rdf:Description></rdf:RDF></x:xmpmeta><?xpacket
end="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
<to be read again>
I would appreciate any help or advice.
-- Kind regards Jacqui Coosner Cell: 083-252-7483