Jump to content

Recommended Posts

  • Staff

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.

Link to comment
Share on other sites

  • 4 weeks later...

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

equation.png

Link to comment
Share on other sites

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.

more-equations.png

Link to comment
Share on other sites

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.

-- Walt

Desktop:  Windows 11 Home, version 22H2 (22621.1413) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 
Laptop:  Windows 10 Home, version 21H2 (19044.2728) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
        Affinity Photo 1.10.6 (.1665) and 2.1.0 and 2.1.0. beta/ Affinity Designer 1.10.6 (.1665)  and 2.1.0  and 2.1.0 beta / Affinity Publisher 1.10.6 (.1665)  and 2.1.0  and 2.1.0beta
iPad Pro M1, 12.9", iPadOS 16.4.1 (a), Apple Pencil 2, Magic Keyboard

      Affinity Photo 1.10.7 and 2.1.0 and 2.1.0 beta/ Affinity Designer 1.10.7 and 2.1.0 and 2.1.0 beta/ Affinity Publisher 2.1.0 and 2.1.0 beta

Link to comment
Share on other sites

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.

equations-via-pdf-and-svg.png

Link to comment
Share on other sites

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?

-- Walt

Desktop:  Windows 11 Home, version 22H2 (22621.1413) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 
Laptop:  Windows 10 Home, version 21H2 (19044.2728) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
        Affinity Photo 1.10.6 (.1665) and 2.1.0 and 2.1.0. beta/ Affinity Designer 1.10.6 (.1665)  and 2.1.0  and 2.1.0 beta / Affinity Publisher 1.10.6 (.1665)  and 2.1.0  and 2.1.0beta
iPad Pro M1, 12.9", iPadOS 16.4.1 (a), Apple Pencil 2, Magic Keyboard

      Affinity Photo 1.10.7 and 2.1.0 and 2.1.0 beta/ Affinity Designer 1.10.7 and 2.1.0 and 2.1.0 beta/ Affinity Publisher 2.1.0 and 2.1.0 beta

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.