wrapping of the example sentences

105 views
Skip to first unread message

W. Scott Merrifield

unread,
Sep 8, 2023, 11:57:32 AM9/8/23
to FLEx list
Greetings.
I have example sentences and I am trying to get them to wrap and I can't figure out how to do that. I have them lined up nicely on the left but I can't get them to wrap. Not the vernacular which is the first line or the Chinese under that or the English under that. Any ideas how I can get it to work?

Thanksǃ
Scott

P.S. I have attached a screenshot. You can see how the English translation of the second example will not wrap. It is that way for all the lines if they get too long.
Screenshot (2).png

Beth-docs Bryson

unread,
Sep 8, 2023, 12:13:53 PM9/8/23
to flex...@googlegroups.com
I don’t know if I’m understanding….

When you say “does not wrap”, I interpret that to mean, “Even though the right margin is set to [something], the sentence keeps going past that margin, where it can’t be seen.”  In your example, the “right margin” (that is the width of the FLEx window) is larger than the length of most of the sentences, so I’m not actually seeing any occasion for anything to wrap.  If the window were more narrow, then more lines would wrap.  In a printed or PDF output, it would be affected by the page size, margins, and column width.

The only sentence where it is wrapping is the one where the phrase “the local spirit” is on the next line.  In this case, the sentence wrapped, but it looks like the hanging indent is not set the way you probably want it.  Have you looked at the settings for indentation for this paragraph style?  You may need to fiddle with several different settings to see how they affect it:  left indent, settings for the first line, etc.  I don’t have a screenshot to share at the moment.

I’m not sure if either of those addresses the question you were asking, but maybe it’s a start.

-Beth

--
"FLEx list" messages are public. Only members can post.
flex_d...@sil.org
http://groups.google.com/group/flex-list.
---
You received this message because you are subscribed to the Google Groups "FLEx list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flex-list+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flex-list/14d9c282-ef83-496a-bbea-e243ee3aea53n%40googlegroups.com.
<Screenshot (2).png>

W. Scott Merrifield

unread,
Sep 10, 2023, 3:41:14 PM9/10/23
to flex...@googlegroups.com
I'm not describing my problem well. I just need the hanging indent to work for all three lines. It seems like I have it setup correctly in the styles\paragraph part of the program but it doesn't work.
I go into "configure dictionary view",then for "character style for content" I have "none", then under styles I go to the "Paragraph" tab, then I set up the "hanging indent" but it doesn't work.
Scott 

Beth-docs Bryson

unread,
Sep 11, 2023, 5:40:17 PM9/11/23
to flex...@googlegroups.com
It would help to see a picture of how you have it set up.  (Thanks for clarifying that the issue is with the hanging indent.)

-Beth

W. Scott Merrifield

unread,
Sep 14, 2023, 7:31:42 PM9/14/23
to flex...@googlegroups.com
Thank you.

Here are some screenshots. You can see that the English gloss does not have a hanging indent. I want all the lines to line up on the left side.

Scott

Screenshot (5).png
Screenshot (4).png
Screenshot (3).png

Kevin Warfel

unread,
Sep 15, 2023, 8:44:13 AM9/15/23
to flex...@googlegroups.com

Scott,

 

I see a clue, but I don’t have sufficient knowledge to know how to solve your problem.

 

I see (in your Screenshot (4).png) that you are achieving the hanging-indent effect by putting a line break “\0A” and spaces in the Before box of the Translation node in the Configure Dictionary tool. This is certainly one way to force the Translation content to a new line and have it be indented, but as you are observing, it does nothing to indent the content if it overflows to more than one line.

 

From what I’m seeing in the project I’m referencing on my own machine, it appears that the entire Example cluster is treated as a paragraph, so each of the nodes under it have only Character Style for Content options, not Paragraph Style for Content options. The latter is available for the Example node. So I’m surmising that the hanging indent format that you’re wanting for the Translation content may need to be part of the Paragraph style assigned to the Example node. However, I do not have much experience with these details, so I may be completely wrong.

 

Does my observation help anyone else to identify a solution for Scott?

 

Kevin Warfel

Associate Dictionary & Lexicography Services Coordinator

Rapid Word Collection workshop consultant

Kevin Warfel

unread,
Sep 15, 2023, 9:02:43 AM9/15/23
to flex...@googlegroups.com

Scott,

 

Here is one thing you might try:

 

As always, before trying something that might have undesirable consequences, do Send/Receive (if your project is a shared one); otherwise, do a Backup. Note: a simple Backup is not a good strategy for recovery when you are working on a project that is shared via S/R.

 

In the Configure Dictionary tool, click on the Examples node.

(The default Paragraph Style for Content for this node appears to me to be Bulleted List. Is that what yours shows? If yours is something different, the following instructions may not be your best course of action.)

Click on the Styles button next to the Paragraph Style for Content box.

In the Styles dialog box, click on Dictionary-Normal.

Click the Copy button at the bottom of the list of styles. This creates a copy of the Dictionary-Normal style.

With Copy of Dictionary-Normal highlighted on the left, edit the contents of the Name field on the right to make them Dictionary-Example.

Click on the Paragraph tab on the right.

Ensure that the active Special option is Hanging. You can adjust the amount in the By box.

 

With this in place, the contents of your Before, Between, and After boxes will need to be altered for the nodes that are under Examples.

 

Let us know if that helps.

 

Kevin Warfel

Associate Dictionary & Lexicography Services Coordinator

Rapid Word Collection workshop consultant

 

From: flex...@googlegroups.com <flex...@googlegroups.com> On Behalf Of W. Scott Merrifield
Sent: Thursday, September 14, 2023 7:31 PM
To: flex...@googlegroups.com
Subject: Re: [FLEx] wrapping of the example sentences

 

Thank you.

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages