Re: [fpc-devel] Math expressions in wiki
Am 18.04.2017 um 23:24 schrieb Tomas Hajny: Which Firefox version? SeaMonkey shows it correctly (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46)... OK - found it: I have NoScript installed; if I remove the restrictions from the site the formulas show up (after some time). There's a problem with Microsoft Edge: It wraps the inline formulas into new lines. But I think I can avoid inline formulas... ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
On 18/04/2017 22:32, Werner Pamler wrote: v52.0.2 (Win10-64bit, Firefix is 32-bit). Any extensions needed? Works fine here with Firefox v52.0.2 on Windows 7. No extensions needed, it just needs javascript. Try clearing your cache. Denis ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Werner Pamler wrote: > Thank you. Works fine in Chrome, but when I open this page in Firefox I > don't see the formula, only the header "Math" :-( Do you have Javascript enabled? Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Am 18.04.2017 um 23:24 schrieb Tomas Hajny: On Tue, April 18, 2017 23:16, Werner Pamler wrote: Am 18.04.2017 um 21:42 schrieb Vincent Snijders: I installed this extension with the default settings for size. See http://wiki.lazarus.freepascal.org/SANDBOX#Math. Thank you. Works fine in Chrome, but when I open this page in Firefox I don't see the formula, only the header "Math" :-( Which Firefox version? SeaMonkey shows it correctly (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46)... v52.0.2 (Win10-64bit, Firefix is 32-bit). Any extensions needed? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
On Tue, April 18, 2017 23:16, Werner Pamler wrote: > Am 18.04.2017 um 21:42 schrieb Vincent Snijders: >> I installed this extension with the default settings for size. See >> http://wiki.lazarus.freepascal.org/SANDBOX#Math. > > Thank you. Works fine in Chrome, but when I open this page in Firefox I > don't see the formula, only the header "Math" :-( Which Firefox version? SeaMonkey shows it correctly (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46)... Tomas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Am 18.04.2017 um 21:42 schrieb Vincent Snijders: I installed this extension with the default settings for size. See http://wiki.lazarus.freepascal.org/SANDBOX#Math. Thank you. Works fine in Chrome, but when I open this page in Firefox I don't see the formula, only the header "Math" :-( ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
2017-04-18 11:17 GMT+02:00 Vincent Snijders : > > > 2017-04-17 18:17 GMT+02:00 Denis Kozlov : > >> On 15/04/2017 20:43, Vincent Snijders wrote: >> >> What math rendering extension do you recommend? >> >> >> I recommend *SimpleMathJax* extension for its simplicity. It uses an >> external resource (mathjax.org) and doesn't require a local rendering >> engine. >> >> https://www.mediawiki.org/wiki/Extension:SimpleMathJax >> >> > I will try to find time this week to install that extension. > > > I installed this extension with the default settings for size. See http://wiki.lazarus.freepascal.org/SANDBOX#Math. Please, test if this is OK. Vincent ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Am 18.04.2017 um 13:07 schrieb Marco van de Voort: Note that there is documentation, it is just Dutch and TeX (not latex but straight tex). Also, for some units the documentation sources are older than the pascal source. I know this source, I think you once had posted it in the German forum. Yes, I am a heavy user of "google.translate" at the moment... ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
In our previous episode, Werner Pamler said: > Does anybody know how to write mathematical expressions in the wiki? I > would like to write an article on fpc's NumLib, but I would only want to > begin this activity when I know how to enter complex mathematical > formulas like integrals etc such that they are displayed decently. Note that there is documentation, it is just Dutch and TeX (not latex but straight tex). Also, for some units the documentation sources are older than the pascal source. See http://www.stack.nl/~marcov/numlib/ ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
2017-04-17 18:17 GMT+02:00 Denis Kozlov : > On 15/04/2017 20:43, Vincent Snijders wrote: > > What math rendering extension do you recommend? > > > I recommend *SimpleMathJax* extension for its simplicity. It uses an > external resource (mathjax.org) and doesn't require a local rendering > engine. > > https://www.mediawiki.org/wiki/Extension:SimpleMathJax > > I will try to find time this week to install that extension. With kind regards, Vincent ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
On Sun, Apr 16, 2017 at 3:09 AM Werner Pamler wrote: > Thanks. Application of #2 is a bit complicated, but the results are very > nice - see > http://wiki.lazarus.freepascal.org/NumLib_Documentation#Gamma_function. > As an aside, just wanted to say thanks - that documentation looks awesome! I see what you mean about the "strange function names" :-) Mike ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
On 15/04/2017 20:43, Vincent Snijders wrote: What math rendering extension do you recommend? I recommend *SimpleMathJax* extension for its simplicity. It uses an external resource (mathjax.org) and doesn't require a local rendering engine. https://www.mediawiki.org/wiki/Extension:SimpleMathJax Denis ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
On 15/04/2017 20:06, Werner Pamler wrote: Thanks. Application of #2 is a bit complicated, but the results are very nice - see http://wiki.lazarus.freepascal.org/NumLib_Documentation#Gamma_function. Which resolution would you recommend? Your current resolution appears good on a desktop. On a high DPI device (mobile phone) it is a bit pixelated, but still readable. Denis ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
2017-04-15 18:59 GMT+02:00 Denis Kozlov : > On 14/04/2017 11:25, Werner Pamler wrote: > >> Does anybody know how to write mathematical expressions in the wiki? I >> would like to write an article on fpc's NumLib, but I would only want to >> begin this activity when I know how to enter complex mathematical formulas >> like integrals etc such that they are displayed decently. >> > > MediaWiki requires a math rendering extension, such as: > https://www.mediawiki.org/wiki/Extension:Math > https://www.mediawiki.org/wiki/Extension:SimpleMathJax > > FPC/Lazarus wiki has no math rendering extensions installed, as you can > see here: > http://wiki.freepascal.org/Special:Version > > What math rendering extension do you recommend? > Installing Math extension is a bit of a pain because it usually requires a > local rendering engine to be installed on the server. > > I think you have 2 options: > 1) Write your formulates using the wiki's standard notation > LaTeX, and once a Math extension is installed (if ever), your > formulas will be automatically rendered. > 2) Generate visual rendering of your LaTeX formulates yourself, for > example using http://latex2png.com/, and upload them as images with > associated LaTeX code in comments. > > Vincent ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Am 15.04.2017 um 18:59 schrieb Denis Kozlov: I think you have 2 options: 1) Write your formulates using the wiki's standard notation LaTeX, and once a Math extension is installed (if ever), your formulas will be automatically rendered. 2) Generate visual rendering of your LaTeX formulates yourself, for example using http://latex2png.com/, and upload them as images with associated LaTeX code in comments. Thanks. Application of #2 is a bit complicated, but the results are very nice - see http://wiki.lazarus.freepascal.org/NumLib_Documentation#Gamma_function. Which resolution would you recommend? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
On 14/04/2017 11:25, Werner Pamler wrote: Does anybody know how to write mathematical expressions in the wiki? I would like to write an article on fpc's NumLib, but I would only want to begin this activity when I know how to enter complex mathematical formulas like integrals etc such that they are displayed decently. MediaWiki requires a math rendering extension, such as: https://www.mediawiki.org/wiki/Extension:Math https://www.mediawiki.org/wiki/Extension:SimpleMathJax FPC/Lazarus wiki has no math rendering extensions installed, as you can see here: http://wiki.freepascal.org/Special:Version Installing Math extension is a bit of a pain because it usually requires a local rendering engine to be installed on the server. I think you have 2 options: 1) Write your formulates using the wiki's standard notation LaTeX, and once a Math extension is installed (if ever), your formulas will be automatically rendered. 2) Generate visual rendering of your LaTeX formulates yourself, for example using http://latex2png.com/, and upload them as images with associated LaTeX code in comments. Denis ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Il 14/04/2017 22:08, Werner Pamler ha scritto: It looks to me that something (the math template?) is missing from the Lazarus/FPC wiki infrastructure. If this is right, is there anybody I could contact? Maybe I'm wrong, but I believe that you can either load the template from the infrastructure, or add it somehow in your page. That's what I gathered from a quick reading of the wiki Template reference. Giuliano ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Am 14.04.2017 um 19:33 schrieb Giuliano Colla: Hope that it helps. Not really... What I was seeking is a working example for something like \sum_{n=0}^\infty \frac{x^n}{n!} My naive assumption is that I'd just have to type this phrase into the wiki text to get this formula in perfect math notation. This example is taken from http://wiki.lazarus.freepascal.org/Help:Editing#emph, i.e. from the Lazarus/FPC wiki. I thought that this example should work. But it does not, the left column on this site should the code line again, not the correctly drawn mathematical formula, unlike the other examples - see for example "Math characters" a few boxes higher. It looks to me that something (the math template?) is missing from the Lazarus/FPC wiki infrastructure. If this is right, is there anybody I could contact? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Il 14/04/2017 17:21, Werner Pamler ha scritto: How do I activate this template? https://en.wikipedia.org/wiki/Wikipedia:Template_namespace and in particular (to fetch the template text) https://en.wikipedia.org/wiki/Wikipedia:Template_namespace#Substitution Hope that it helps. Giuliano ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Am 14.04.2017 um 14:49 schrieb ListMember: Apparently, the FPC wiki uses the same software as Wikipedia; if so, the following links may be useful. https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Mathematics#Using_HTML https://en.wikipedia.org/wiki/Wikipedia:Mathematical_symbols https://en.wikipedia.org/wiki/List_of_mathematical_symbols Yes I had found similar references myself, but neither they nor those above do work: If I insert {{math|''x'' {{=}} −(''y''2 + 2)}} (copied from the first link above) into a wiki article and press "Show preview" it just displays Template:math in red. How do I activate this template? | | ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Math expressions in wiki
Apparently, the FPC wiki uses the same software as Wikipedia; if so, the following links may be useful. https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Mathematics#Using_HTML https://en.wikipedia.org/wiki/Wikipedia:Mathematical_symbols https://en.wikipedia.org/wiki/List_of_mathematical_symbols On 2017-04-14 13:25, Werner Pamler wrote: Does anybody know how to write mathematical expressions in the wiki? I would like to write an article on fpc's NumLib, but I would only want to begin this activity when I know how to enter complex mathematical formulas like integrals etc such that they are displayed decently. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel