On Tue, 02 Jun 2015 18:30:04 +0200
Pablo Rodriguez
On 06/02/2015 05:54 PM, John Culleton wrote:
On Tue, 2 Jun 2015 11:45:35 -0400 John Culleton wrote:
I want to insert the string 8 1/2 x 11 in my text. Here is my test file: ---------------------------- \starttext \math{8^1_2} × 11 inch, \stoptext ---------------------------- I am using texlive 2014 mkiv.
Hi John,
me too (current version: 2014.05.21 22:04 ;-)) and both samples (above and below) compile fine.
I also tried this: ----------------------- \starttext 8 1/2 × 11 inch, \stoptext --------------------- The error message is the same: ------------------------------- system > tex > error on line 2 in file /usr/local/active/hall/ftp/test.tex: String contains an invalid utf-8 sequence ...
Are you sure that character encoding in your file is utf8?
I can cause this error message, but only after replacing character encoding in file with ISO 8859-15.
BTW, your file is in /usr/local. I thought that in Unix there was no place like /home :-).
I hope it helps,
Pablo
We are on the home stretch now. I added \enableregime [utf-8] as the first line of my master file. Theoretically I don't need this for a MKIV run but so much for theory. Everything works. But there is something wrong with my math code. There is no horizontal bar between the 1 and the 2. I guess I will study "The TEXbook" some more. Just FYI, I keep personal stuff and also my political articles in /home/safe but my typesetting and index work goes in subdirectories of: /usr/local/active/ one for each project. Thanks for your prompt and useful reply! -- John Culleton Wexford Press Book layout, typesetting and Indexing Free list of books for self-publishers: http://wexfordpress.net/shortlist.html