Jump to content
You must now use your email address to sign in [click for more info] ×

Importing formatted text and selectively applying styles


Recommended Posts

I am copying text from a word processor into a Publisher document. I want to apply my main paragraph style to this text, which includes optical alignment.

Problem: Sometimes the text I am copying includes local formatting, e.g., italicized text.

Applying my style and clearing character formatting will unitalicize the italics.

Apply Style and Preserve Character Formatting will keep the italics, but then it will not apply optical alignment.

Is there a way to do this, short of manually reapplying italics?

Link to comment
Share on other sites

13 hours ago, CylonRaven said:

Problem: Sometimes the text I am copying includes local formatting, e.g., italicized text.

Try this work method, go through and take local formatting and assign a Character Style (I make one with no changes other than the Italic is checked and I name it Italic) for italic text then go and apply your main Paragraph Style.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

Sorry, I think I was not clear. I am talking about paragraphs where some words are italicized.

Suppose I have a sentence like this with a mixture of character formatting.

If I paste it into publisher as-is, all the formatting is retained. I want a way to apply a style that includes some other character formatting (e.g., Optical Alignment), but will not erase the preexisting formatting.

 

Link to comment
Share on other sites

I format long-form documents and what I have had to do is create character styles for bold-italic, bold, and italic. Then I search and replace the actual bold-italic/bold/italic formatting and replace it with the character styles. It's a damn pain in the butt, but it works.

image.png.93f2a7655a5cd025b7f69f5823b3da59.png

Link to comment
Share on other sites

  • 1 year later...

First: Here in 2022 right clicking on the style name under "text style" allows not only for editing the style, but has a lot of options for using paragraph style without over-writing your character styles. 

Second: Big thank you to Cylon Raven! It really never occurred to me to just cut and paste from my original document into Affinity. With other DTP software I would import and then apply styles. If I imported something like rtf or old *doc files it would at least still contain my tabs and if I was lucky, the subscripts and symbol fonts for variable names. With Affinity, I was disappointed that I could only import plain text. I'm not going to import pdf -for various reasons that's a hot mess for me. Importing plain text wouldn't be such a pain if the import text menu (Affinity calls it something else -place?) used the feature that strips out extra carriage returns so the text will wrap correctly. That problem was solved long ago, not sure where Affinity hides the feature to do that.

I was about to start using text like [tab] when creating in my word processor, so at least I wouldn't have to manually retype all the tabs (this for numbered lists, and for aligning expressions to the "=" when defining variables in a list. I figured a global search and replace could replace the [tab] with the non-printing tab character. then my styles setting would handle the tab length, and whether its a left, tab, right or center tab. Then I realized I was taking the first steps to creating my own Tex language, or min-HTML and decide to check here to see what others are doing.

Cut and past will be tedious for all the pages I'm doing, but not 1/10 as tedious as all the insertion of tabs, getting rid of carriage returns, redoing symbols, etc. 

Third: I am still trying to figure out what "optical alignment" means. I've seen it in the menus but it makes me wonder what alignments are not optical? I would expect options like vertical alignment, horizontal alignment, top alignment, bottom alignment, align center, . . . This sounds like some sort of display adjustment. Like aligning the photon guns on a CRT monitor. (Cathode Ray Tube -for younger readers who don't recall saner times.)

Windows 10, Affinity Publisher 1.10.5.1342, i7-5820k, 6 cores,3.3GHz, 32GB RAM, NVIDIA GeForce GTX 1070

Link to comment
Share on other sites

9 minutes ago, Engineering_text said:

I am still trying to figure out what "optical alignment" means.

Please watch this short (six-minute) video tutorial:

https://affinity.serif.com/tutorials/publisher/desktop/video/337311429

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

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...
×
×
  • Create New...

Important Information

Terms of Use | 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.