Document Classes ⇒ An Issue with amsart
An Issue with amsart
I have an odd problem and have been trying to figure out exactly what it is - and now that I have- exactly how to describe it.
I have Miktex 2.9 Basic installed on an external tied in to the keyboard of my acer switch (32 bit). I use the latest version of TexnicCenter (32 bit). On my actual laptop I have the full version of MikTeX and also use TXC. The difference is that on my laptop everything works perfectly (MS 7). But on my tablet (MS 8.1) it does not. (before you ask: I can run Matlab from my external. So I doubt it's the fact that it's an external)
The problem: I try to run a simple Hello World file. If my document class is 'article' or 'report' it runs perfectly. If however, I switch the type to "amsart", I get an error saying "missing \begin{document}". I realised this error not with this simple program but with the built-in profile types that come with TXC: the profiles that contain amsart/amsbook keep giving this error; but basic article types do not. So I know that it is not something I typed incorrectly and have not been able to find anything on the forum connected to this: those involve users who mistyped. but all I've done is choose a profile and click 'build'. the hello world simply helped me identify the problem.
I am not sure whether the "working example" will help here because the same file that does not work on the tablet works just fine on the PC. I assume it's an error in the program setup. But I don't know nearly enough about MikTeX/TXC to fiddle around with the software.
Can anyone tell me what I can do? I've re-installed Basic and also tried MikTeX Portable as well. If I haven't provided enough information, can you tell me what I can tell you in order to help me?
I hope I've described the issue properly.
Thanks Latex Forum
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
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: An Issue with amsart
An Issue with amsart
Okay, so I tried making the file again. See the MWE. and it works fine now with the amsart (or amsbook). No errors so the log file looks fine. See LateX1.log. I think I was building the wrong file which is why I thought my Hello World file seemed to not be working (?). Though I thought I made sure of that...
So it's back to the profiles again. I've attached the logfile of both the file I created-though I'm no longer sure that's necessary- as well as the untouched profile (i think using that as an MWE is a bit silly. It's the profile Mathematical Article. I didn't do anything to it) because that's where the problem is (seems to be).
And Johannes_B, you're so right about the staying calm thing.
Code: Select all
\documentclass{amsart}\begin{document}Hello world!\end{document}
- Attachments
-
- Math Article.log
- (7.46 KiB) Downloaded 407 times
-
- LaTeX1.log
- (4.61 KiB) Downloaded 368 times
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: An Issue with amsart
Or copy paste all the content into a new file, should work just as well.
Re: An Issue with amsart
Sigh. Well I cutnpasted it and now works fine.
Thanks a lot
