![]() To compile my LaTeX file, I tab over to build.sh and tap on the Sharing button in the top right corner. When I’m writing in Textastic, I keep the LaTeX source for the report in one tab and build.sh in another. What’s important is that you can put it in a tab in Textastic, because we’re going to send its contents to a Shortcut.Īll it does is log on to my Mac and run the commands that are passed into it as text. It can be a local file on your iPad or saved in the Textastic folder of iCloud. And although the commands will be run on a Macintosh, where report.tex is saved, build.sh doesn’t have to be saved there, certainly not in the same folder as the report. As you can see, they’re saved in a file named build.sh, but the name doesn’t really matter. The only difference is that the directory ( ~/Dropbox/projects/test/report) and file name ( report.tex, but latexmk doesn’t need the extension) are given explicitly instead of as dictionary look-ups. Latexmk -pdf -interaction=nonstopmode report These are the same commands I used in the PDFLaTeX shortcut from Saturday’s post: bash: Here’s a file in Textastic with the commands needed to compile the LaTeX file over an SSH connection: But it does have a way of passing text to a Shortcut, so with a little trickery I can get around its limitations. Unfortunately, Textastic isn’t scriptable, so I can’t write an action for it the way I could with Drafts. This is great if I’m writing in Drafts, but what if I’m using another editor? Specifically, what if I’m using Textastic, which has good integration with Dropbox and LaTeX syntax highlighting? If my report has complex formatting, that highlighting makes it nicer to write LaTeX in Textastic than in Drafts. But I have one more thing to say about writing in LaTeX on the iPad.Ī couple of days ago, I described a Drafts action and Shortcut that allow me to compile my LaTeX files on my Mac from my iPad. ![]() ![]() When your audience is mostly Apple users, the evening after a WWDC keynote address is probably not the best time to post anything that isn’t about the day’s announcements. Support for vertical text in shapes and text boxes in Chinese, Japanese, and Korean languages.Next post Previous post LaTeX and Textastic.Edit grouped objects while collaborating.Improved performance while collaborating on presentations.Create image placeholders to easily replace images without affecting the formatting of your slide.Slides with custom wider aspect ratios now display better in the slide navigator, light table, and presenter display.Edit presenter notes while presenting or rehearsing a slideshow.Create themes to use as a model for new presentations, and access them on any device using iCloud.Save custom shapes for use in other presentations and access them on any device using iCloud.Create and share an animated GIF by exporting one or more slides.Add emphasis to presentations with action build effects, including move, rotate, and scale animations.Draw a path with your finger or Apple Pencil to animate an object across the slide.New in Keynote 5.0 for iPhone, iPad, and iPod touch Choose Learn Spelling to add a word to the spelling dictionary.Customize lists by choosing from new bullet types, changing the size and color of bullets, creating custom bullets, adjusting indentation levels, and more.Choose whether Apple Pencil is used to start drawing or to select and scroll - or toggle between these options via double-tap using a supported Apple Pencil.Adjust the appearance of cell borders in tables.Using face detection, subjects in photos are intelligently positioned in placeholders and objects.Edit master slides while collaborating on a presentation.Place images, shapes, and equations inline in text boxes so they move with text.Change the style of individual series in charts, adjust spacing between columns, and add trendlines.Style your text by filling it with gradients or images, or by applying new outline styles.New in Keynote 5.1 for iPhone, iPad, and iPod touch
0 Comments
Leave a Reply. |