@tohecz we generate that (fortran) doc in html and pdf and the C and matlab and .NET versions and the code for the C library and the matlab toolbox, all from the same XML file
@tohecz (To give feedback:) But works on Firefox 27.0. Your example document you linked above, too, BTW. avid surely knows more exactly, what works in which browser and version and what doesn’t.
@Speravir up to firefox 3 it used TeX (or mathematica) fonts and had built in knowledge of the tex encodings, but as uniocde math fonts became available they got rid of that and use unicode which makes far more sense in a css context
@Speravir yes old firefox it had to be tex fonts and it would pop up a banner telling you where to get them, now it can be stix or any other unicode math font. I could use web fonts but not quite ready for that (and many of our clients are not on the web:-)
@DavidCarlisle And where do I set them up? Simply as font for western script or what then? A special math setting does not exist, at least in FF27 (I do not use these nightly versions).
@DavidCarlisle Hmm. The test page they offer does show here a perfect grid, tohecz's linked pages did show me maths equations, and iirc you once provided a heavy test page, which I believe looked good here. So seems no need here, but looks a bit like dark matter in firefox, why I do not know which font is actually used.
@Speravir right click on any of the math and select "inspect element" browse down to an mi and see what font it says recent firefox uses mathjax fonts(my FF30 says MathJax_main_italic) on my C09 document I linked to above.
@DavidCarlisle Aah, the developer tools … Not thought of, since as ordinary user I generally do not need them. Well, nothing with "MathJax" here, but STIX fonts as installed system font. What I said: a bit of dark matter, because I cannot influence this in Firefox settings (not that I must complain about STIX, though).
@egreg @DavidCarlisle I have found the problem with images being cut/off. It has nothing to do with the images. It turned out I had written few pages before in the same document the following
\samepage{some text ...... }
the above seems to have confused Latex and it lost its way. When I removed the \samepage command, everything became fine and things did not fall off the bottom the pages any more.
@egreg To be honest, I forgot about the question. :) I know it's a shame, I don't follow arara, or I would have to answer! If I don't know the existence of a question, I don't need to answer it, right? :P
@egreg: thankfully I answer that question in time. :) I was wondering if David would try to get that bounty. :)
I'm a security engineer at Facebook and this is my fault. We're
testing this for some users to see if it can slow down some attacks where users are tricked into pasting (malicious) javascript into the browser console.
Just to be clear: trying to block hackers client-side is a bad idea in general...
I'm not a user of TeX or LaTeX yet, but I'm finding I need to create more and more complicated diagrams and excel / powerpoint / whiteboard are simply not cutting it... If I need to make scientific diagrams, what is the best way to get started?
@GorchestopherH Maybe. In a LaTeX context the most common tools are perhaps pgfplots for plotting data (e.g. tex.stackexchange.com/a/35549/586) and TikZ for generating various other diagrams (or christmas trees). There are other languages for creating graphics such as Asymptote and Metapost, both of which I think can be used together with LaTeX or separately.
@N3buchadnezzar htbp is fine, it just allows h in addition to the normal one. What people usually do when trying to force figures is [h] which is spectacularly bad (although not as bad in latex2e as it was in 2.09, as 2e warns and then changes it to [ht])
@N3buchadnezzar I don't understand the popularity of breaking text into multiple blocks by figures. The only use for [H] I've had so far was to make side-to-side figures by:
@tohecz Don't think so, that should be covered by the outer figure*. Inside a figure, you can have as many captions as you want. \caption does the numbering and stuff.
I use couple packages that do things like enforcing the caption placement etc., so I think that {figure}[H] is the way how not to confuse anyone. The only problem I see is that it adds probably an extra space
I'll check, but for that I need my second computer :)
I have started using LaTeX for the past two to three months and I find it awesome for typesetting almost everything. Since LaTeX3 is currently under development , I would speak about LaTeX2e. I feel that the way the document is typeset should be modified. I come from the background of Computer Sc...
@DavidCarlisle Not meaning to start an argument, sorry, I meant that to be a reply to @tohecz
I can see MathML for what it is, but if I needed to use it I'd prefer to write in (La)TeX and translate at the end. I don't know much about it, but from looking at examples there seems to be way too much "overhead" required in the code.
Tried out the package for color coding Python code and when I did, the fonts in the entire document suddenly started acting weird. s, a, o and some other letters are typeset larger than others and the whole text just looks weird. Anyone got any ideas?
\documentclass{article}
\usepackage...
The following figure shows a PostScript expression and its stack diagrams step by step. Is there any package to generate it out of the box? If there is no such a package, how to generate it automatically for any PostScript expression? I don't want to write my own interpreter for sure.
Any meth...
@JosephWright Though, this batch I'd leave as-is or I have to go back, flip them all, resave the CSV, copy them to the other computer via floppy, then copy them to my laptop via USB
@Canageek Most chemists expect transmittance: I do kinetics so much prefer absorbance. I also work with some physicists so am happy with the x-axis the 'correct' way as well as our 'wrong' way :-)
@JosephWright I will probably wind up overlaying it with Raman data at some point, which makes having one up and one down easier.
What format is it expecting? I'm just using a regex to turn `7.009977e+002,2.622617e-003` into `( 3.996748e+003, 9.930761e+001 )` And pasting it into my .tex file >.>
(Except the numbers would be the same; I copied random data lines
@JosephWright One second..... I just started using it yesterday.
"IR spectra were recorded on a Thermo Nicolet Nexus 670 FTIR spectrometer equipped with a Pike MIRacle attenuated total reflection (ATR) sampling accessory. "
Package pgfplots Warning: You have an axis with empty range (in direction y). R eplacing it with a default range and clearing all plots. on input line 59.
Is the file name (ASPh4)(Au(CN)2).CSV causing a problem?
@percusse It's ok. I don't mind non-linguists trying to answer linguistics questions anywhere near as much as I hate non-Mac people trying to answer Mac questions.
@AlanMunn On some of the meat products it sometimes says this animal is cut/slaughtered/etc. according to the islamic practice bla bla. Now the government has a multitude times expensive Watergate scandal and trying to block the sites that publishes the phone taps of the prime minister etc. And this popped up recently everywhere.
your internet is cut according to islamic.... .you get the idea
oh and the government claims to be conservative/fundamentalist .... whatever
There are extremely funny stuff but I can't translate them properly
@Canageek My code puts the labels at a height of around 23. As you are plotting in absorbance not milliabs, they are too big relative to the data. In the version I sent to you, I scaled all of the data so the y-axis was in milliabsorbance, which then makes life a lot easier.
@percusse Indeed. Unfortunately, this is not funny (in the larger context). But for a long time (before I moved to our new offices) I had a a fake advertisement on my door "Scissors: the world's most effective computer security tool".
@percusse No, I mean if I search for a file containing a capital 'I', but am on say Windows (case-insenitive file system), is it acceptable to convert 'I' to 'i' (ASCII convention)? The rules seem to suggest so as that type of comparison cannot be 'language sensitive' (file systems don't know language).
@percusse That's different: this is language-sensitive
@percusse Unicode has a set of rules for upper/lower/title case, and those do depend on language, but also a rule for situations where 'language' does not apply, and that seems to be fair for looking for files and similar
@JosephWright Yep, tell me that. In Czech, "ch" comes between "h" and "i", not speaking about very complicated rules for sorting which can't be expressed as lexicographic rules
@tohecz When I stopped there the restaurant was reserved to some hundred of tourists. :( But I had Budvar in the beautiful square in the town center. :)
btw, you gotta love French Post; they weren't able to deliver me a package this morning (makes sense, there's a doorbell downstairs but there's no bell here). So I can pick it up ... tomorrow afternoon
@egreg excuse me, there's a beautiful something in Budějice? :D
@tohecz Of course Český Krumlov is nicer. On that trip (back from Prague), we stopped also in Tábor, where a lady asked us, in perfect Italian, “Che ci fanno turisti di Padova a Tábor?” (What are tourists from Padova doing in Tábor?). She was from there, but had married a dentist living in Padova and recognized the car plate. :)
@egreg that's so good. I like Tábor. Similarly to Hradec, it's a very nice town for living :) (and there's a very nice scout base with a very sympa landlord)
and funny remark considering that package: I still get ads of amazon.fr for the thing, because obviously amazon.fr doesn't know that I've already got it from amazon.de :)