Generate a yWriter project from an Aeon 3 timeline.
This project is maintained by peter88213
The aeon3yw Python script creates a yWriter 7 project from a csv file exported by Aeon Timeline 3.
The included installation script prompts you to create a shortcut on the desktop. You can launch the program by dragging a csv file and dropping it on the shortcut icon.
Alternatively, you can
usage: aeon3yw.pyw [--silent] Sourcefile
Sourcefile
The path of the .aeon or .csv file.
--silent
suppress error messages and the request to confirm overwriting
In the narrative of an “.aeon” project file, the top three levels of hierarchy are considered. There are two alternatives:
When using a “.csv” export file instead, the document structure is given by the label in the Narrative Position row:
The aeon3yw distribution comes with a “yWriter.aeonTpl” Aeon 3 template in the “sample” folder. You can install it via the Aeon Timeline Preferences.
The easiest way is to create new timelines based on this template. It provides the required narrative strucuture and the “Viewpoint” character role.
For existing timelines you have two choices:
Open the Timeline Settings.
In the “Narrative” settings select “Outline Style” as numbering system. Make sure that at least chapters are auto assigned to “folders”, and scenes are auto assigned to “other types”.
In the “Advanced settings” make sure a “Viewpoint” relationship exists for characters that can be assigned to events. The easiest way is to rename an existing relationship, e.g. “Observer”.
See below
You can override the default settings by providing a configuration file. Be always aware that faulty entries may cause program errors.
An optional global configuration file can be placed in the configuration directory in your user profile. It is applied to any project. Its entries override aeon3yw’s built-in constants. This is the path:
c:\Users\<user name>\.pywriter\aeon3yw\config\aeon3yw.ini
An optional project configuration file named aeon3yw.ini
can be placed in your project directory, i.e. the folder containing your yWriter and Timeline project files. It is only applied to this project. Its entries override aeon3yw’s built-in constants as well as the global configuration, if any.
The aeon3yw distribution comes with a sample configuration file located in the sample
subfolder. It contains aeon3yw’s default settings and options. You can copy this file to the global configuration folder and edit it.
#
number sign. In the example, they refer to the code line immediately above.This is the configuration explained:
[SETTINGS]
part_number_prefix = Part
# Prefix to the part number in the part's heading.
chapter_number_prefix = Chapter
# Prefix to the chapter number in the chapter's heading.
type_event = Event
# Label of the "Event" item type representing scenes. (.aeon only)
type_character = Character
# Label of the "Character" item type representing characters.
type_location = Location
# Label of the "Location" item type representing locations.
type_item = Item
# Label of the "Item" item type representing items.
character_label = Participant
# Label of the "Participant" role type representing a list of
# characters associated to an event.
location_label = Location
# Label of the "Location" role type representing a list of
# locations associated to an event.
item_label = Item
# Label of the "Item" role type representing a list of
# items associated to an event. (not part of the template)
part_desc_label = Label
# Label of the csv field whose contents are imported
# as the part's description to yWriter. (.csv only)
chapter_desc_label = Label
# Label of the csv field whose contents are imported
# as the chapter's description to yWriter. (.csv only)
scene_desc_label = Summary
# Label of the csv field whose contents are imported
# as the scene's description to yWriter. (.csv only)
scene_title_label = Label
# Label of the csv field whose contents are imported
# as the scene's title to yWriter. (.csv only)
notes_label = Notes
# Label of the "Notes" property of events and characters.
tag_label = Tags
# Label of the csv field whose contents are imported
# as the scene's tags to yWriter. (.csv only)
viewpoint_label = Viewpoint
# Label of the "Viewpoint" property of events.
character_bio_label = Summary
# Label of the csv field whose contents are imported
# as the character's biography to yWriter. (.csv only)
character_aka_label = Nickname
# Label of the "Nickname" property of characters.
character_desc_label1 = Characteristics
# Label of the character property imported as first part of
# the character description.
character_desc_label2 = Traits
# Label of the character property imported as second part of
# the character description.
character_desc_label3 =
# Label of the character property imported as third part of
# the character description.
location_desc_label = Summary
# Label of the csv field whose contents are imported
# as the location's description to yWriter. (.csv only)
Note: Your custom configuration file does not have to contain all the entries listed above. The changed entries are sufficient.
The column labels refer to timelines based on the “yWriter” template.
(*) Applies to the default configuration, but can be customized.
The setup script installs aeon3yw.pyw in the user profile. This is the installation path on Windows:
c:\Users\<user name>\.pywriter\aeon3yw