Bypass conditional formatting limitations? - openoffice.org

I have to color Calc rows, based on some string condition. So each time some string value appear in B column, the entire column is colored in certain color. It looks like on this image.
I need more strings and more conditions. How can I overcome this limitation?

Use Libreoffice 3.5 which no longer has this limitation.
For older Libreoffice version there should be an extension providing the same functionailty. Check in the Libreoffice extension repository if you can find it.

As the above answer states, LibreOffice 3.5 allows as many conditional formatting rules as you need. You just click the "add" button on the right hand side. To clear up an error in a previous post, VBA is minimally supported in Star/Open/Libre office. They have their own functions and BASIC programming rules that are similar, but most detailed VBA programs from excel spreadsheets need to be rewritten as the syntax is fairly different.
I don't know how long this link will be good for, but this is what I have been using as a guide for programming:
http://198.62.75.4/opt/sun_docs/C/solaris_10/SUNWsodoc/SO7BPG/

Related

Automatic text / HTML annotation / highlighting

Nowadays there are softwares which, when provided a text or a html document page, will output a summary.
I wonder if there exist anything to automatically annotate (or at least highlight) the same documents.
The idea is to be able to keep the full text, but highlight the most meaningful parts (somehow like a summarisation tool would do I guess). And maybe provide additional inferred insights (?)
Also I would like to know how it works if it exists :) Would it really be very different of summarization, or is it just the same principles with a different "output format"?
I'm looking for something to annotate HTML documents, like AnnotatorJS is designed for, looking like this:
This is not a complete answer, but it can lead to what you want. The first suggestion is looking at GATE. It provides a great annotation framework and as long as you don't want to program anything for it, it is easy to use. The second thing is to search for summarization plug-ins for GATE. GATE has been around for such a long time that I am sure someone has already implemented a summarization plug-in for it.

How to store math equation/symbol and display them on the web?

I want to build a website where people can create tests with questions and answers . I want people can type in math equation/symbol and equations in a textbox or something like that, and they will be store in database, it'also displayed on the web like image.
My idea is i will store the text user input in latex syntax and store it, then display it using MathJax, i don't know it's possible or will have better way to do this.
And a problem is in user input will have normal text with "math text" (latex), so how can i separate them and only save the latex text? Please give me some idea or suggest the way to solve it, thanks.
p/s: i'm building this site in ruby on rails, i found the gem mathjax-rails but it seem not working.
Consider building off Gollum. It is the backend for the wiki system Github uses and works fairly well with LaTex equations (currently their is a very irritating bug with less/greater than symbols, but is documented and likely will be fixed in the next release). I start using it this summer to take notes in a math classes, an example of a full page of rendered LaTex equations notes is here here.
Note: You must be logged into Github in order for the equation to render.

Latex listings strings and keywords

Hallo all,
I'm working on a latex document and I pull some code in with the listings package. I found some great stuff here on stackoverflow and i look really cool but there are two things I want but I don't know how to get.
I would like to see strings and keywords (clojure keywords not latex keywords) highlighted in my code (with highlighted I just mean a diffrent color or something. The patterns for string is "string" and a keyword is :keyword-name (so from :to the next space). Does anybody know how to do this.
Thanks for you anwsers.
Here is my package for support clojure in listings package. You can highlight keywords by using standard listings settings
I don’t believe listings is able to handle that. You can make it highlight strings (via the stringstyle optin), but not arbitrary tokens (which you would need for your keywords).
An alternative would be to use the minted package. Admittedly, its usage isn’t as straightforward since it relies on additional software (Pygments) to be installed, but on the plus side it ships with a ready-made lexer for Closure.
(If you download minted, use the tip version from the repository instead of the latest release, since the release is buggy. :-()
The documentation for the listings package provides an example of defining your own language and specifying what its keywords are. The example begins:
\lstdefinelanguage{rock} {morekeywords={one,two,three,four,five,six,seven,eight,
nine,ten,eleven,twelve,o,clock,rock,around,the,tonight},
I don't have any experience using this feature, but I'm sure you'll be able to figure it out. You'll also have to ensure that you set keyword highlighting on for your listings.

Copying Excel formulas with Delphi 7

My team leader wants me to check if this is possible.
Our app has a grid (we use TAdvStringGrid from tmssoftware) that displays some values. Our users then copy and paste to Excel. (2010) Now they want the values to update automatically when they play with Excel. In other words, I need to copy formulas similar to having a Excel sheet with values and formulas and pasting it on another sheet.
I'm thinking of exporting it as an Excel file (with some kind of excel component) with the formulas but team leader first want to see if the copying will work or not.
I never worked with Excel (using Delphi) before. :-(
Thanks
Sounds like you need the TAdvSpreadGrid from TMS instead. It's an enchanced version of TAdvStringGrid that has support for the formulas as well.
If you need even more Excel Support they have TMS FlexCel Studio that is very nice.
I use TAdvSpreadGrid from TMS also. For reading and writing really spiffy spreadsheets with support for formulas, nice formatting and even pane freezing to make data editing easier for my clients, I use Native Excel. It's fast, has good documentation, and is easy to use. It's worth a look.
While the previous answers aren't wrong, I found another solution.
I tried adding the calculation (e.g. =A1+B1) to the cell as plain text. When copying to Excel it accepts my formula as an Excel formula and calculates it just like I want it.
No need to splash out more money on TAdvSpreadGrid or something else. :-)

Does anyone know resources for LaTex

I want to use LaTex to write equations faster and if it is possible to export the result as a png or jpg so that it can be used on a website.
Wikipedia (and its opensource wiki engine) uses LaTeX for that, maybe there are some resources available (at least in the code, as it is opensource).
Your question is very broad. You could start with Amazon's List of Latex Books.
You might want to investigate the StackExchange site mathoverflow.net solution - you can read about here. It uses jsMath which supports a lot of LaTeX syntax.
Assuming you already know a little LateX and your primary goal is to get images, a good high-level tool is mathTeX; there are even public servers that will convert to images for you.
If you want to do everything yourself, all the tools use dvipng at bottom.
I like both MathBin.net and Roger's Online Equation Editor. The latter lets you control the quality of the output. See also this question.
try this: http://hausheer.osola.com/latex2png
Here is a small symbol reference for LaTeX. If you are looking for something more as a general introduction, you can look at "The Not So Short Introduction To LaTeX2e". If you use Inkscape, there is built in support for rendering LaTeX and there are also extensions that do the same. You can read some commentary about it here. There are also things like LaTeX to HTML converters; However, at the time I was looking at them, they were somewhat limited in what formulas they could display.
I taught myself LaTeX using the wikibook. It's fairly comprehensive as an initial guide. I've since bought The LaTeX Companion, which is a more advanced guide to in depth typesetting in LaTeX
I use http://www.artofproblemsolving.com/LaTeX/AoPS_L_TeXer.php when I need a quick equation for a web site.
There are packages that will automatically produce images from LaTeX source, but these are often either buggy or used incorrectly. Many people install them on their blogs, for example, and the images show up if you visit the blog directly but they don't show up if you view the page via a blog reader. I'm not saying these problems can't be fixed. They can, but it often takes a few tries.
I prefer just to make a gif and stick it in the page. It's low tech and reliable.
One more tip: it's a good idea to put the LaTeX source in the alt tag of the image. This helps people using screen readers. It helps you too if you need to modify the equation later.
Detextify is a great site that lets you draw a symbol, and it will pop up a list of latex commands that may match your drawing. It's quite accurate! http://detexify.kirelabs.org/classify.html

Resources