maxmax Posted June 22, 2019 Posted June 22, 2019 Hello! Can I insert an OLE object in the Publisher? For example, I would like to use the formula editor (Writer or Word) to write formulas. Which is the easiest way to insert and edit formulas? Regards Quote
Dan C Posted June 24, 2019 Posted June 24, 2019 Hi maxmax On 6/22/2019 at 2:18 PM, maxmax said: Can I insert an OLE object in the Publisher? OLE is a proprietary technology developed by Microsoft, so unfortunately not. However Affinity Publisher does have a Resource Manager, meaning you can place or embed multiple files into your document, such as RTF, Docx, Image files etc. On 6/22/2019 at 2:18 PM, maxmax said: I would like to use the formula editor (Writer or Word) to write formulas. Which is the easiest way to insert and edit formulas? Publisher doesn't current support formulas, or embedding spreadsheet data. We can currently copy and paste from spreadsheets to tables in Affinity, but we're working on improving this for future builds. I hope this helps. Quote
GarryP Posted July 20, 2019 Posted July 20, 2019 This post might be a bit late to the race – I only found this thread by accident – but you can create equations using Publisher. However, you do need to be careful and patient. I’ve attached an example where I’ve used a table and the Cambria Math font to create something reasonably complex. Some planning and tweaking is necessary but it’s possible; I just wouldn’t want to do it for lots of equations. My recommendation would be to create the equation in something else – e.g. LaTeX, or whatever – and export as SVG to import (linked may be preferable) into Publisher. complex-equation.afpub Quote
Hilltop Posted July 20, 2019 Posted July 20, 2019 That must have taken you some creative planning and execution! Kudos! Quote
GarryP Posted July 20, 2019 Posted July 20, 2019 Thanks. I just wanted to see if it was possible. It is, but it's just not very easy. Quote
GarryP Posted July 21, 2019 Posted July 21, 2019 I’ve just done a quick test with MiKTeX (TexWorks) on Windows and I can create the equations, export them as PDFs, import the PDFs into Publisher – as Linked files – clip the PDF down to size (if necessary) and update them quite easily using the Resource Manager. It’s not an ideal solution but it works. Try this LaTeX: \documentclass{article} \usepackage{amsmath} \usepackage{geometry} \geometry{ papersize={210mm,60mm}, } \pagestyle{empty} \begin{document} \begin{align*} f(x) &= x^2\\ g(x) &= \frac{1}{x}\\ F(x) &= \int^a_b \frac{1}{6}x^4 \end{align*} \end{document} To get the attached example. Quote
walt.farrell Posted July 21, 2019 Posted July 21, 2019 Thanks, @GarryP. That looks like an interesting approach. Of course, with importing PDF files we'll have the known issues with needing to have the fonts installed, and with other changes being made by Publisher, given that the PDFs are not "pass-through" but editable. SVG might be preferrable, if MiKTeX can handle that. I'm not sure what happened there, but the integral operation on the last line doesn't seem to have worked properly. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
GarryP Posted July 21, 2019 Posted July 21, 2019 Oops. Thanks for pointing that out Walt. I wasn’t concentrating. Looking at the fonts in the PDF they seem to be all embedded subsets of the CM* fonts. I installed the "cm-super" package into MiKTeX (via the Package manager) and added this line to my LaTeX code: \usepackage[T1]{fontenc} ...but it’s still not coming though into Publisher correctly (all of the text is being converted to Consolas, for some reason).Aside: If I try and open the PDF in Designer it asks to convert all of the fonts to Arial. Opening the PDF in Inkscape – via the Poppler/Cairo importer – lets me save as SVG and then import that nicely into Publisher (see attached) but it makes the process more long-winded and, therefore, less useful. As far as I know, TexWorks doesn’t have an “Export to SVG” function. I’m not a LaTeX expert but maybe there’s one out there who can give more/better information. Quote
walt.farrell Posted July 21, 2019 Posted July 21, 2019 4 minutes ago, GarryP said: ...but it’s still not coming though into Publisher correctly (all of the text is being converted to Consolas, for some reason).Aside: If I try and open the PDF in Designer it asks to convert all of the fonts to Arial. Do you also have the relevant CM* fonts installed in Windows? Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
Alfred Posted July 21, 2019 Posted July 21, 2019 19 minutes ago, GarryP said: the "cm-super" package https://www.ctan.org/pkg/cm-super Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)
Antonio Federico Posted August 27, 2024 Posted August 27, 2024 You can make the formula with Writer of Libreoffice. Select the formula, copy it and just paste it on the publisher document. The formula will work like an image. My English isn't very good, but I suppose the explanation is clear. Greetings from Spain Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.