• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Problemi su esportazione file Indesign in epub

New Here ,
Oct 10, 2024 Oct 10, 2024

Copy link to clipboard

Copied

Ho problemi su bordi e ombreggiature. Nel file InDesign imposto gli scostamenti e gli angoli. La visualizzazione sul file è conforme, ma l'esportazione in EPUB scorrevole non tiene conto delle impostazioni. Il testo resta attaccato al bordo e gli angoli sono rettangoli e non arrotondati.

Mi aiutate?

TOPICS
EPUB , How to

Views

130

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 10, 2024 Oct 10, 2024

Copy link to clipboard

Copied

Hi @Gianfranco De Franco,

 

Thank you for reaching out, and I’m sorry to hear about the issues you’re facing with your EPUB export. I understand how frustrating it can be when your design doesn’t appear as expected in the exported file.

 

Could you please let us know which version of InDesign you’re using and the details of your operating system? It would also be helpful if you could provide a screenshot of your InDesign document along with the EPUB export, so we can compare the two. Additionally, could you share the EPUB export settings you're using for this project?

 

In the meantime, try adjusting your object settings and ensure they are applied as inline objects. Let’s take a look at the screenshots and settings to pinpoint the issue further.

 

Looking forward to your response. 

 

Best,  
Abhishek Rao

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 10, 2024 Oct 10, 2024

Copy link to clipboard

Copied

This is one of the inexplicable gaps in InDesign's EPUB export. ID will not export either corner rounding on frames or the equivalent of 'padding,' which is needed to space elements away from certain bounding box types. That's why your shaded box paragraph has neither round corners nor text inset from the margins.

 

However, both can be restored using CSS styles... which is the perplexing and annoying part. Why ID does not export these elements is a mystery.

 

The short fix for this, assuming your shaded box is a Paragraph Style named ShadedText

 

p.ShadedText {
border-radius:10mm;
padding:10mm;
background-color:lightgray;
}

 

 

That will restore the rounded corners and interior offset; adjust the values as you like.

 

The background statement may be a good addition, as the shading did not show up on one EPUB viewer for me and it may help force the element.

 

One of the advantages of using CSS like this is that you can have different settings for InDesign/PDF/print and EPUB, which is often necessary to get a "balanced" appearance in both.

 

(To use CSS, put it in a plain text file, such as MYPROJECT.CSS, and add that file to the EPUB export process in the HTML/CSS pane.)

 

(ETA: It's just an amusing coincidence that the forum here uses a shaded, rounded box for code!)


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 10, 2024 Oct 10, 2024

Copy link to clipboard

Copied

LATEST

Let me add some clarification: the above applies only to Paragraph Shading, by itself. InDesign will export rounded corners on borders, both those from Paragraph Styles and on frame elements.

 

It's a quirk, which I had to just verify, that if you assign both shading and a border to a paragraph, and apply rounding to the border corners, the background shading will also conform to the rounded corners. So in addition to CSS — which I believe is the "sturdy" way to manage this issue — you could also apply a paragraph border to your style, defined as some very narrow width (1pt or 1mm), and the same color as your background shading... and get the rounding effect without CSS. However, the padding/spacing issue persists and is solvable only with CSS, so I'd still recommend using CSS to solve both problems.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines