GeneralProcessing BakomaTeX Files with TeX Live

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
atpr
Posts: 5
Joined: Sun Jun 12, 2011 3:56 pm

Processing BakomaTeX Files with TeX Live

Post by atpr »

I have a large collection of files, created using the commercial BakomaTeX package under Windows, which I would like to edit and process using TeX Live under Ubuntu 11.10. I have a fully working TeX Live 2011 installation.

When I try to open one of these BakomaTeX generated files in TexMaker on Ubuntu I get a message to the effect that the font is not the (default) UTF-8. I have tried selecting various encoding options (Bakoma implies the encoding CP1252).

When I try to compile the file (either in TexMaker or from the command line) I get a message "Log file not found" from TeXmaker.

The generated log file is as follows:

Code: Select all

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) (format=pdflatex 2011.8.11)  3 OCT 2012 10:33
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**copied.tex

! Emergency stop.
<*> copied.tex
              
*** (job aborted, file error in nonstop mode)

 
Here is how much of TeX's memory you used:
 3 strings out of 495023
 100 string characters out of 3180792
 45144 words of memory out of 3000000
 3293 multiletter control sequences out of 15000+200000
 3640 words of font info for 14 fonts, out of 3000000 for 9000
 36 hyphenation exceptions out of 8191
 0i,0n,0p,1b,6s stack positions out of 5000i,500n,10000p,200000b,50000s
!  ==> Fatal error occurred, no output PDF file produced!
Editing the file down to completely empty produces the same problem.

Short of retyping everything, is there any way of processing my old BakomaTeX generated files? I am guessing this is a font encoding issue but I cannot understand it.

P

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Processing BakomaTeX Files with TeX Live

Post by localghost »

Seems that the typesetting engine has difficulties in proceeding so far that it can produce a log file. Hence the message from TeXmaker. Actually your editor should be able to open the file with a certain file encoding and save it in another one.

As alternative you can change the file encoding by the recode command line tool. It should be part of your Linux distribution. Another tool would be iconv.

For testing purposes you can finally upload a short sample file as attachment to your next post.


Thorsten
atpr
Posts: 5
Joined: Sun Jun 12, 2011 3:56 pm

Processing BakomaTeX Files with TeX Live

Post by atpr »

Thanks for the suggestion but now solved, although I infer that the problem is little to do with Latex!

The files I am trying to compile are on a server, some virtual thing on a (Linux) NAS box somewhere which exports SMB shares.

1) If I try to compile a (Bakoma/Windows-generated) file in situ on the server using TexLive/Ubuntu, I get the "Log file not found" error.

2) If I copy the file to my local Ubuntu disk, it compiles fine. No recoding needed. It just works.

3) If I create a new tex file on Ubuntu, save it to the virtual server and try to compile it, I get the "Log file not found" error.

Therefore, I conclude that the problem is some weird issue with the way text files on the server are exported/imported into Ubuntu.

(The files will compile without problem, on the server, in Bakoma/Windows!)

So problem solved: I just have to make a local copy. Will talk to the sys admin about this...

P.
Post Reply