How do I save a text file as a .sdi file so writer will pick it up as a concordance file?

I’m trying to create an alphabetical index for an existing, manually indexed document. I’ve created the text concordance file - but the only extension it will allow is .sdi. But I can’t use writer to save to a .sdi file. Have I missed something simple?

TIA

An .sdi file is a plain text file. Writer is not the right tool to create plain text files, though this is possible. The “standard” tool for plain text file is a text editor like KWrite, gedit, Pluma, vi, emacs, NotePad, TextEdit, …

If you don’t feel comfortable with these tools, create the concordance file in Writer. At time of saving, File>Save as and select Filter Text (.txt). Give a name to the file and explicitly force the extension to .sdi.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.

it was the ‘forcing the extension to sdi’ that I was struggling with - but realised I wasn’t showing them - so had essentially created index.sdi.txt not index.sdi. Switching on being able to see file extensions in the file explorer - all became clear. Thank you.

Then be kind enough to mark the question as answered by clicking on the gray check mark at top left (only once even if seemingly nothing happens).

Hello,

you can create and edit a concordance file using the procedure described in LibreOffice Help - Edit Concordance File. This provides the following Edit dialog

and saves the file in .sdi format.

Hope that helps.