[tw5] Re: Better interoperability when writing math (LaTeX)

2018-09-26 Thread Szabolcs Horvát
Indeed, there is a compromise here, but I would call it a minor one.

The systems I mentioned (including LaTeX itself) allow including a dollar 
sign using \$, which is much shorter and simpler than $\dollar$.

While I admit that the following is a guess, I'd expect most people who 
need advanced math don't need $ signs in the same TiddlyWiki (or don't need 
to type them nearly as often as math).

Let me emphasize something from my original post once again: Sadly, most 
people who need this can't implement it, and most who can don't need it. 
With open source projects, unfortunately that often means that the feature 
just doesn't get implemented.  Or if it does, it might be in an 
unmaintained unofficial patch that one can't count on in the long term.

This is why I am asking here, hoping that TW will gain this as an official 
feature that is easy to set up and will work even years from now.

On Wednesday, 26 September 2018 10:13:55 UTC+2, AndrewMc wrote:
>
> A small thing to note is that some people will use $ for their currency 
> symbol. If you make single-$ a delimiter, then writing about money is made 
> more difficult.
> I have this issue in a TWc that contains a lot of mathematical notation. I 
> ended up having to define "\dollar" as a dollar sign, $, so that I could 
> write a single dollar sign using Latex as "$\dollar$".
>
> Cheers
> Andrew Mc
>
> On Wednesday, September 26, 2018 at 1:27:54 AM UTC+12, Szabolcs Horvát 
> wrote:
>>
>> Hello everyone,
>>
>> I use TiddlyWiki with the KaTeX plugin.  Unfortunately, the writing 
>> experience is not as good as with some other tools, and the copy/paste 
>> interoperability is bad.
>>
>> It would be very useful to have the following features:
>>
>>  - Single-$ delimiters for inline math. Keep $$ for display math only.
>>  - Make math work in MarkDown tiddlers.
>>
>> Advantages:
>>
>> 1. Writing without breaking one's flow. $$ is a pain to type if it has to 
>> be typed multiple times in each sentence. Example:
>>
>> "There are no three integers $$a$$, $$b$$ and $$c$$ so that $$a^n + b^n = 
>> c^n$$ for any integer $$n$$ greater than 2."
>>
>> Such sentences, with multiple tiny bits of math, are common when writing 
>> mathematical prose. Those who only use LaTeX occasionally may not 
>> immediately see it, but single-$ is a significant improvement over 
>> double-$$ when writing serious math.  Unfortunately, most people who 
>> implement tools have a programming background and only use math 
>> occasionally. Most people who write a lot of math don't have the expertise 
>> to implement and maintain such tools.
>>
>> 2. Easy copy-pasting between different systems.
>>
>> I would like to be able to directly paste text from tiddlers to a LaTeX 
>> document, or to Markdown documents. Mathematical text will have little 
>> formatting (such as bold or italic), but a lot of LaTeX-snippets.  If the 
>> math delimiters matched normal LaTeX, pasting would be possible with 
>> minimal modifications. 
>>
>> Tools that people who work with math actually use have more-or-less 
>> standardized on a LaTeX-compatible notation in Markdown documents. Consider 
>> Math.StackExchange, MathOverflow, Jupyter Notebooks, Markdown-Preview-Plus 
>> plugin for Atom, Sage Math, etc.
>>
>>
>> Can these features please be considered?  They would make TiddlyWiki a 
>> much more viable tool for researchers and mathematicians. I think it is a 
>> great way to plan a paper, but I would like to be able to type faster 
>> (without breaking by flow due to all the $$-delimiters) and I would like to 
>> be able to paste from the tiddlers to the final paper, as well as from 
>> other notes into tiddlers, without having to make significant modifications 
>> every time.
>>
>> Szabolcs
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a0cea8ac-c545-4b4f-bd61-b8b2b09b9e82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Better interoperability when writing math (LaTeX)

2018-09-25 Thread Szabolcs Horvát
Hello everyone,

I use TiddlyWiki with the KaTeX plugin.  Unfortunately, the writing 
experience is not as good as with some other tools, and the copy/paste 
interoperability is bad.

It would be very useful to have the following features:

 - Single-$ delimiters for inline math. Keep $$ for display math only.
 - Make math work in MarkDown tiddlers.

Advantages:

1. Writing without breaking one's flow. $$ is a pain to type if it has to 
be typed multiple times in each sentence. Example:

"There are no three integers $$a$$, $$b$$ and $$c$$ so that $$a^n + b^n = 
c^n$$ for any integer $$n$$ greater than 2."

Such sentences, with multiple tiny bits of math, are common when writing 
mathematical prose. Those who only use LaTeX occasionally may not 
immediately see it, but single-$ is a significant improvement over 
double-$$ when writing serious math.  Unfortunately, most people who 
implement tools have a programming background and only use math 
occasionally. Most people who write a lot of math don't have the expertise 
to implement and maintain such tools.

2. Easy copy-pasting between different systems.

I would like to be able to directly paste text from tiddlers to a LaTeX 
document, or to Markdown documents. Mathematical text will have little 
formatting (such as bold or italic), but a lot of LaTeX-snippets.  If the 
math delimiters matched normal LaTeX, pasting would be possible with 
minimal modifications. 

Tools that people who work with math actually use have more-or-less 
standardized on a LaTeX-compatible notation in Markdown documents. Consider 
Math.StackExchange, MathOverflow, Jupyter Notebooks, Markdown-Preview-Plus 
plugin for Atom, Sage Math, etc.


Can these features please be considered?  They would make TiddlyWiki a much 
more viable tool for researchers and mathematicians. I think it is a great 
way to plan a paper, but I would like to be able to type faster (without 
breaking by flow due to all the $$-delimiters) and I would like to be able 
to paste from the tiddlers to the final paper, as well as from other notes 
into tiddlers, without having to make significant modifications every time.

Szabolcs



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd9f2fab-599c-45e2-a070-93148dcd09c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Use $ as KaTeX delimiters

2017-03-01 Thread Szabolcs Horvát
Hello,

Is it possible to configure the delimiters used by the KaTeX plugin?

Instead of $$, I would prefer to use $ for inline math and $$ (or \[ \]) 
for display math.

I want to do this for better interoperability. I would like to be able to 
copy/paste between TW, Markdown and LaTeX documents with as little manual 
editing as possible.  I use TW for notes, and some of that stuff will end 
up in LaTeX documents.  Some old LaTeX notes will also end up in TW.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78052f7d-be91-4d3d-83ec-139fa89f3cea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Collaborative use of TW—possibility to merge?

2017-01-24 Thread Szabolcs Horvát
Is it safe to exclude $__StoryList.tid from version control?  It seems that 
this file will always get modified and will often cause merge conflicts. 
 This is a problem when several people on the project are new to version 
control.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3af475af-4ffe-41fe-b39b-9bfaf288e9dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Collaborative use of TW—possibility to merge?

2017-01-23 Thread Szabolcs Horvát
Thank you for the tips Danielo and Olegh!

I neglected to mention that I do not want to make this wiki public and I 
wasn't originally thinking to put it online. I am just looking for a 
collaborative note taking system.

It seems that just using the node.js version solves the biggest problem 
(merging) by storing each tiddler in a separate file.  Then changes to 
tiddlers are clearly separated, and I can track who changed what.

I am still looking at NoteSelf, and trying to understand if it is 
appropriate for this use case.  It seems to be a very interesting system 
that I am going to try out regardless of whether it is suitable for this 
project.


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/744d6605-4e84-404d-9d6a-fac9aa1fccf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Collaborative use of TW—possibility to merge?

2017-01-23 Thread Szabolcs Horvát
Hello everyone,

I am looking for tips on the collaborative use of TiddlyWiki. Is it 
suitable for editing by multiple people? Is it for example possible to use 
version control, and to merge tiddlers while highlighting changes?

I was able to find a few discussions on this topic, but they are all very 
old, and concern the old version of TiddlyWiki.

Ideally, I would like to have a way to merge two wikis, handle conflicts 
between tiddlers with the same title, or highlight differences between two 
versions.

If there are no tools to do this effectively, I would like to hear from 
those who tried to use TiddlyWiki collaboratively. How did you do it? Is TW 
suitable for such use?

Szabolcs

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7afca499-89ea-4ab9-8d5d-a10cec9d9dc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] KaTeX plugin: predefined LaTeX macros

2016-11-07 Thread Szabolcs Horvát
Hello everyone,

I am returning to Tiddlywiki after many years and many things are 
different.  I need math support and the KaTeX plugin works well.

But I was wondering if there is a way to define LaTeX commands which I can 
use in any KaTeX block.  Is this possible?  If yes, is it possible within 
the scope of a whole wiki?  Within the scope of a tiddler?

Does the KaTeX plugin have some sort of official status that the MathJax 
plugin doesn't have?  Is the KaTeX plugin likely more future proof because 
of this?  MathJax is much more capable than KaTeX, but I strongly prefer 
reliability.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c5fa7bf7-69fd-480e-8f6d-d7ce62379601%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Convenient way to include images

2013-01-15 Thread Szabolcs Horvát
Hello,

Is there a way (e.g. plugin) to conveniently include images in TiddlyWikis? 
 The stress here is on "conveniently", ideally by drag and drop or similar. 
 I can currently save the images next to the TiddlyWiki and type their name 
to link them, but that is just not convenient enough (takes too long and 
it's too much of a distraction).

(I do not need the images to be stored inside the wiki, they can be saved 
next to it.  Actually it's better if the are saved separately but this is a 
minor point)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/GzOidd5m-lEJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.