novelyst_timeline

A Timeline converter plugin for novelyst

View the Project on GitHub

Project homepage > Instructions for use


A novelyst plugin providing synchronization with Timeline.


Installation

Note: If you install novelyst at a later time, you can always install the plugin afterwards by running the novelyst_timeline setup script again.

The plugin adds a Timeline entry to the novelyst Tools menu, and a Timeline plugin Online Help entry to the Help menu.

Launch from novelyst

The plugin’s features are accessible via the Tools > Timeline submenu in novelyst.

The submenu has the following entries:

Custom configuration

You can override the default settings by providing a configuration file. Be always aware that faulty entries may cause program errors or unreadable Timeline projects. If you change a configuration inbetween, previously synchronized projects might no longer match.

Global configuration

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 novelyst_timeline’s built-in constants. This is the path: c:\Users\<user name>\.pywriter\yw-timeline\config\yw-timeline.ini

The setup script installs a sample configuration file containing novelyst_timeline’s default values. You can modify or delete it.

Local project configuration

An optional project configuration file named yw-timeline.ini can be placed in your project directory, i.e. the folder containing your novelyst and Timeline project files. It is only applied to this project. Its entries override novelyst_timeline’s built-in constants as well as the global configuration, if any.

How to provide/modify a configuration file

The novelyst_timeline distribution comes with a sample configuration file located in the sample subfolder. It contains novelyst_timeline’s default settings and options. This file is also automatically copied to the global configuration folder during installation. You best make a copy and edit it.

This is the configuration explained:

[SETTINGS]

scene_label = Scene

# Events with this label become scenes in a newly created 
# novelyst project. 

default_date_time = 2021-07-26 00:00:00

# Date/time stamp for imported novelyst scenes without
# date/time set. When converting between specific
# date/time and unspecific D/H/M, this time stamp is used
# as a reference.

scene_color = 170,240,160

# Color for events imported as scenes from novelyst.

[OPTIONS]

ignore_unspecific = No

# No:  Transfer all Scenes from novelyst to Timeline. Events
#      assigned to scenes having no specific date/time stamp
#      get the default date plus the unspecific 'D' as start
#      date, and 'H':'M' as start time.
# Yes: Only transfer Scenes with a specific date/time stamp
#      from novelyst to Timeline.

dhm_to_datetime = No

# Yes: Convert novelyst unspecific D/H/M to specific date/time
#      when synchronizing from Timeline.
#      Use the date from default_date_time as a reference.
#      Time is 'H':'M'.
# Precondition:
#      datetime_to_dhm = No

datetime_to_dhm = No

# Yes: Convert novelyst spcific date/time to unspecific D/H/M
#      when synchronizing from Timeline. Use the date from
#      default_date_time as a reference. H, M are taken from
#      the scene time.
# Precondition:
#      dhm_to_datetime = No

How to reset the configuration to defaults

Just delete your global and local configuration files.

Conventions

General

On the novelyst side

On the Timeline side

Synchronization of unspecific date/time in novelyst with specific date/time in Timeline.

Day/Hour/Minute is converted to specific Timeline start/end date/time stamps, using the duration and the default date/time.

The other way around (Timeline to novelyst), there are three options:

D/H/M refers to the default date/time stamp that can be set in the configuration.

Known limitations


License

This is Open Source software, and the novelyst_timeline plugin is licensed under GPLv3. See the GNU General Public License website for more details, or consult the LICENSE file.