Deprecated: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 62

Deprecated: Return type of I::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 91

Deprecated: Return type of I::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 71

Deprecated: Return type of I::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 101

Deprecated: Return type of I::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 53

Deprecated: Return type of Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/collection.php on line 80

Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public/kirby/toolkit/lib/url.php on line 135
One Tap Less | Math with 1Writer and Calca

Math with 1Writer and Calca

What a great moment we stand upon regarding iOS text editors now that Editorial is on the iPhone. You can pick how much customization you need in your text editor between Editorial, 1Writer and others. If you're fond to numbers in your essays, the simple built-in calculator in Editorial may grow on you, however, Calca just authenticated its x-callback-url support and becomes a perfect match for 1Writer.

We already covered replace selection actions in 1Writer here. Remember that with a few changes these workflows also apply for Editorial.

Calca has 2 URL schemes, The simplest, create, is to create a new document and supports the title and body parameter. The one we're aiming at is calc since it grabs a body and allows you to return the result in the x-success using the [[output]] variable.

Calculate

calca://x-callback-url/calc?body=[text]&x-success={onewriter://x-callback-url/replace-selection?text=[[output]]}

Select any equation in your piece and trigger the action. It will bounce to Calca and return to 1Writer. Magically, your equation was replaced by its result. Since Calca is a full-blown calculator, you can do more complex math as well, such as matrices, trigonometry, logarithms and others. For the whole spec, check their reference documentation.

If you're still in doubt if your writing workflow demands the Editorial level of expertise, then you should probably give another shot at 1Writer. As you can see, it has a ton of tricks available as well.