add 19
[goodguy/cin-manual-latex.git] / parts / Editing.tex
index 075083e010ad3ed6fc8ea4af624765228cc1fd3b..30d131d580f7e6d2e618d18a02dbb63fa2fd9a94 100644 (file)
@@ -1,9 +1,16 @@
 \chapter{Editing}%
 \label{cha:editing}
 
-Editing comprises both time and track space.  The timeline consists of the time certain media appear on the track going left to right and a set of tracks from the top to the bottom.  There are 2 methods of timeline editing --- drag and drop editing, also called \textit{arrow mode}, and cut and paste editing or \textit{I-beam mode}.  Cut and Paste is the default editing mode.  An additional, but not often considered editing method is called \textit{two-screen editing} where the Viewer is used to view media and then the desired media is transferred to the timeline.
+Editing comprises both time and track space.  The timeline consists of the time certain media appear on the track going left to right and a set of tracks from the top to the bottom.  There are 2 methods of timeline editing --- drag and drop editing, also called \textit{arrow mode}, and cut and paste editing or \textit{I-beam mode}.  Cut and Paste is the default editing mode.  An additional, but not often considered editing method is called \textit{two-screen editing} where the Viewer is used to view media and then the desired clip from the media is transferred to the timeline.
 
-The timeline is where all editing decisions are made.  This is a stack of tracks in the center of the main window.  It can be scrolled up, down, left and right with the scrollbars on the right and bottom.  It can also be scrolled up and down with a mouse wheel, or left and right while holding down the Ctrl key and using the mouse wheel.
+The timeline is where all editing decisions are made (figure~\ref{fig:timeline}).  This is a stack of tracks in the center of the main window.  It can be scrolled up, down, left and right with the scrollbars on the right and bottom.  It can also be scrolled up and down with a mouse wheel, or left and right while holding down the Ctrl key and using the mouse wheel.
+
+\begin{figure}[htpb]
+    \centering
+    \includegraphics[width=0.8\linewidth]{images/timeline.png}
+    \caption{Timeline editing session using the upcoming Cinfinity theme.}
+    \label{fig:timeline}
+\end{figure}
 
 The active region is the range of time which is affected by editing commands on the timeline.  The active region is determined first by the presence of in/out points on the timeline.  If those do not exist the highlighted region is used.  If no highlighted region exists, the insertion point is used as the start of the active region.  Some commands treat all the space to the right of the insertion point as active while others treat the active length as 0 if no end point for the active region is defined.
 
@@ -16,24 +23,23 @@ In the following editing sections, references to common operations are scattered
 
 On the left of the timeline is a region known as the patchbay.  The patchbay enables features specific to each track as described next.
 
+
 \begin{description}
     \item[Textbox] for naming the track.  The default names will usually be Video \#, Audio \#, or Mixer \# if using the multi-camera/mixer operations.  A \# will be designated for subsequent tracks as in 1, 2, 3 and so on.
     \item[Expander] which is a down arrow on the right side, is for viewing more options on the patchbay and for viewing the effects represented on the track.   You can just click on the expander to expand or collapse the patchbay and the track.  If it is pointing sideways, the track is collapsed.  If it is pointing down, the track is expanded.  Existing effects appear below the media for the track.
 \end{description}
 
-\begin{wrapfigure}[17]{O}{0.4\linewidth}
+\noindent Below the textbox name are several toggles referred to as \textit{attributes} for different features (currently there are 5 as shown in figure~\ref{fig:patchbay01}).  If the toggle button is shadowed by a color, the feature is enabled . If the toggle is the background color of most of the window, it is disabled. Click 
+on the toggle to enable/disable the feature.
+
+\begin{wrapfigure}[15]{O}{0.3\linewidth}
     \vspace{-2ex}
     \centering
     \includegraphics[width=0.79\linewidth]{images/patchbay01.png}
     \caption{Patchbay}
-    \label{fig:patchbay}
+    \label{fig:patchbay01}
 \end{wrapfigure}
 
-Below the textbox name are several toggles referred to as \textit{attributes} for different features (currently there are 5 as shown in figure~\ref{fig:patchbay}).
-
-
-
-If the toggle button is shadowed by a color, the feature is enabled . If the toggle is the background color of most of the window, it is disabled. Click on the toggle to enable/disable the feature.
 
 Several mouse operations speed up the configuration of several tracks at a time. Click on an attribute and drag the cursor across adjacent tracks to copy the same attribute to those tracks.  Hold down Shift while clicking a track's attribute to enable the attribute in the current track and toggle the attribute in all the other tracks. Or you can:
 
@@ -48,13 +54,16 @@ The \textit{attributes} are described here next.
 \begin{description}
     \item[Play Track] determines whether the track is rendered or not. If it is off, the track is not rendered.  For example if you turn it off in all the video tracks, the rendered media file will have only audio tracks.  If the track is chained to any other tracks by a shared track effect, the other tracks perform all the effects in this shared track, regardless of play status of the shared track that in this particular case affects the media output but not fade and effects.
     \item[Arm Track] determines whether the track is armed or not.  Only the armed tracks are affected by editing operations. Make sure you have enough armed destination tracks when you paste or splice material or some tracks in the material will get left out.  In addition to restricting editing operations, the armed tracks in combination with the active region determine where material is inserted when loading files.  If the files are loaded with one of the insertion strategies which do not delete the existing project, the armed  tracks will be used as destination tracks.
+\end{description}
+
+\begin{description}
     \item[Gang Fader] cause the fader to track the movement of whatever other fader you are adjusting by dragging either the fader or the curve on the track.  It doesn't affect the editing made with menu controls.  A fader is only ganged if the arm track is also on.  This is often used to adjust audio levels on all the tracks simultaneously.  Gang also causes Nudge parameters to synchronize across all the ganged tracks.
     \item[Draw Media] determines if picons or waveforms are drawn on the asset in the track.  You may want to disable this if you know that the media/format takes a long time to draw on the timeline.  By default it is set to on in order to see picons on the timeline.
-    \item[Don’t send to output] , more commonly called \textit{mute}, causes the output to be thrown away once the track is completely rendered. This happens whether or not \textit{Play track} is on.  For example if you mute all the video tracks, the rendered media file will have a blank video track.  Mute track is represented on the timeline with a line that has the default color of blue.  Use the pulldown View $\rightarrow$ Mute to have the line displayed.  It is a keyframable attribute, but Mute track keyframing is a toggle and it has only the two values of on or off. If a track is part of a shared track effect, the output of the track with the shared track effect is overlaid on the final output even though it is routed back to another track (the shared track).  Mute track is used to keep the track with the shared track effect from overlapping the output of the source track (the shared track) where the shared track effect is not present.
-    \item[Fader slider] fade values are represented on the timeline with a white curve that is keyframable.  All tracks have a fader, but the units of each fader depend on whether it is audio or video.  Audio fade values are in dB. They represent relative levels, where 0 is the unaltered original sound level, -40 is silence, -80 the minimum value set by default.  You can move fader and keyframes down to -80 but the parameter's curve won't go below -40.  For your convenience you can set a different fade range with the curve zoom.  Audio fader’s main purpose is to \textit{fade out} sound or to lower the sound level smoothly to silence, or \textit{fade in} to make sounds appear gradually instead of suddenly.  Video fade values are the percentage of opacity of the image in normal overlay mode, the percentage of the layer that is mixed into the render pipeline in the other overlay modes.
+    \item[Don’t send to output] , more commonly called \textit{mute}, causes the output to be thrown away once the track is completely rendered. This happens whether or not \textit{Play track} is on.  For example if you mute all the video tracks, the rendered media file will have a blank video track.  Mute track is represented on the timeline with a line that has the default color of pink/orange.  Use the pulldown View $\rightarrow$ Mute to have the line displayed.  It is a keyframable attribute, but Mute track keyframing is a toggle and it has only the two values of on or off. If a track is part of a shared track effect, the output of the track with the shared track effect is overlaid on the final output even though it is routed back to another track (the shared track).  Mute track is used to keep the track with the shared track effect from overlapping the output of the source track (the shared track) where the shared track effect is not present.
+    \item[Fader slider] fade values are represented on the timeline with a pink curve that is keyframable.  All tracks have a fader, but the units of each fader depend on whether it is audio or video.  Audio fade values are in dB. They represent relative levels, where 0 is the unaltered original sound level, -40 is silence, -80 the minimum value set by default.  You can move fader and keyframes down to -80 but the parameter's curve won't go below -40.  For your convenience you can set a different fade range with the curve zoom.  Audio fader’s main purpose is to \textit{fade out} sound or to lower the sound level smoothly to silence, or \textit{fade in} to make sounds appear gradually instead of suddenly.  Video fade values are the percentage of opacity of the image in normal overlay mode, the percentage of the layer that is mixed into the render pipeline in the other overlay modes.
     Click and drag the fader to fade the track in and out.  If it is ganged to other tracks of the same media type, with the arm option enabled, the other faders should follow.  Hold down the Shift key and drag a fader to center it on the original source value (0 for audio, 100 for video).
     \item[mixer] in the expanded patchbay for that track designate the multi-camera mixer mode.
-    \item[Overlay mode] in the expanded patchbay is used for porter-duff operations and is full explained in the section on Overlay Modes.
+    \item[Overlay mode] in the expanded patchbay is used for porter-duff operations and is full explained in \nameref{cha:overlays} chapter.
     \item[Nudge] is in the expanded patchbay.  The nudge value is the amount the track is shifted left or right during playback. The track is not displayed shifted on the timeline, but it is shifted when it is played back. This is useful for synchronizing audio with video, creating fake stereo, or compensating for an effect which shifts time, all without altering any edits (figure~\ref{fig:overlay}).
     
     \begin{figure}[htpb]
@@ -75,7 +84,7 @@ Several convenience functions are provided for automatically setting the panning
 
     \begin{description}
         \item[Audio$\rightarrow$Map 1:1] This maps every track to its own channel and wraps around when all the channels are allocated. It is most useful for making 2 tracks with 2 channels map to stereo and for making 6 tracks with 6 channels map to a 6 channel sound card.
-        \item[Audio$\rightarrow$Map 5.1:2] This maps 6 tracks to 2 channels. The project should have 2 channels when using this function. Go to Settings $\rightarrow$ Format to set the output channels to 2. This is most useful for down-mixing 5.1 audio to stereo.
+        \item[Audio$\rightarrow$Map 5.1:2] This maps 6 tracks to 2 channels. The project should have 2 channels when using this function. Go to Settings $\rightarrow$ Format to set the output channels to 2. This is most useful for down-mixing 5.1 audio to to stereo (for more information refer to Configuration, Settings and Preferences chapter 15.1).
     \end{description}
 
 \paragraph{Standard audio mappings} Although Cinelerra lets you map any audio track to any speaker, there are standard mappings you should use to ensure the media can be played back elsewhere. Also, most audio encoders require the audio tracks to be mapped to standard speaker numbers or they will not work.
@@ -104,7 +113,7 @@ The \textbf{Audio} and \textbf{Video pulldowns} each contain an option to add a
 \section{Two Screen Editing}%
 \label{sec:two_screen_editing}
 
-This is a fast way to construct a program out of movie files. The idea consists of viewing a movie file in one window and viewing the program in another window. Subsections of the movie file are defined in the viewer window and transferred to the end of the program in the program window.  Two screen editing can be done simply by using keyboard shortcuts.  To get familiar with which keys to use, move the mouse pointer over the transport panel and a tooltip appears, showing what key is bound to that button.
+This is a fast way to construct a program out of movie files (in other programs is called \textit{three points editing}). The idea consists of viewing a movie file in one window and viewing the program in another window. Subsections of the movie file are defined in the viewer window and transferred to the end of the program in the program window.  Two screen editing can be done simply by using keyboard shortcuts.  To get familiar with which keys to use, move the mouse pointer over the transport panel and a tooltip appears, showing what key is bound to that button.
 
 To begin a two screen editing session, load your media resources by using the main menu \textbf{File pulldown} and choose \textit{Load files}; make sure the insertion mode is set to \textit{Create new resources only}.  This insertion strategy is to ensure that the timeline stays unchanged while new resources are brought in. Go to the Resources window and select the Media folder. The newly loaded resources will appear. Double click on a resource or drag it from the media side of the window over to the Viewer window.
 
@@ -116,6 +125,8 @@ Now to start your 2 screen editing, in the viewer window, define a clip from the
     \item Set the starting point with the In pointer button.  You will see a left hand bracket on the timebar.
     \item Move your cursor to the ending point of the clip you want to use.
     \item Set the ending point with the Out pointer right hand bracket.
+    \item You will see a colored bar inside the brackets for easier viewing.
+    \item Drag the In/Out point with the mouse to conveniently change their position.
 \end{enumerate}
 
 \noindent These In/Out points define a clip.  You can now use this in a couple of different ways.
@@ -130,6 +141,7 @@ To overwrite exactly on a precise region of the timeline:
 \begin{enumerate} [noitemsep]
     \item Arm only tracks to change.
     \item Define the destination region on the timeline with [ and ], the In and Out points.
+    \item You can achieve maximum precision by setting the active region in the zoom panel.
     \item Define the clip you want to use in the viewer with [ and ], the In and Out points.
     \item Overwrite from Viewer to the timeline.
 \end{enumerate}
@@ -141,10 +153,31 @@ If the destination region is longer than the clip defined in the viewer, the des
 
 \paragraph{Copy} The copy icon, or shortcut letter “c”, copies the selection into the copy buffer.
 
+\subsection{Use Case – Working with Sequences}
+\label{sub:use_case_working_sequences}
+
+\textit{From the Viewer to the Timeline with the sequences imported 
+in a Master Project.}
+
+A convenient methodology for working on a Master project along with 1 or more previously saved Sub projects or \textit{sequences} use case is described here.  A sequence is an edited assembly of audio and video clips generally consisting of a series of videos that relate to the same activity. This use case explains how to work this way and some things you need to be aware of.
+
+\begin{enumerate}
+    \item First load your Master project, which you worked on and saved earlier as an \texttt{.xml} file, using an Insertion strategy of \textit{Replace current project}.  Generally this Master project consists of media with any of the attributes of clips, autos, possibly keyframes, and effects.  You will see your project on the main timeline and the Media files that are part of this Master project will be displayed in the Resources window in the Media folder.
+    \item Previously you may have also saved a Sub project, which will now be referred to as a Sequence, as an \texttt{.xml} file that may contain any of the same such things: media, clips, autos, keyframes, effects.  Second you will want to load the Sequence using an Insertion strategy of \textit{Create new resources only}.  When you do the load, this Sequence will show as a file in the Resources window in the Clips folder.  The actual media will show in the Media folder.
+    \item Now Drag and Drop the Sub project from the Clips folder to the Viewer.
+    \item Set In and Out Pointers in the Viewer to the region of interest in the Sub project and in the Timeline of the Main window of your Master project, move the cursor position to where you would like to insert this In/Out section.
+    \item Click on the \textit{Splice (v)} button in the Viewer to insert this section into the Master project timeline.  All of the attributes of the selected Sub project section will now be inserted in the main timeline to include the autos, keyframes, effects, and labels.
+    \item Alternatively, if you click on the \textit{Overwrite (b)} button in the Viewer, you can see the Sub project In/Out section in the timeline, but without its autos, effects, keyframes, etc.  If in the timeline there were some autos, effects, and keyframes in that Master project, they will be in effect for the new section.   
+\end{enumerate}
+
+You can see the advantages of using Splice versus Overwrite to either insert (splice) with all of the attributes of a specific section of your Sequence or to overwrite without the attributes to allow for the smooth operation on the timeline by retaining the timeline’s attributes at that point.
+
+NOTE: for correct operation of this use case, you should have the same (or more) number of tracks in the Master project as you do in the Sequence.  To avoid having to know how many tracks you need, you can use the Nest feature as described in the Nesting section (\ref{sub:nesting}).
+
 \section{Cut and Paste Editing}%
 \label{sec:cut_paste_editing}
 
-This is the more traditional method of editing and therefore is the default.  To enable the cut and paste editing mode on the timeline, select the I-beam toggle on the control bar at the top of the main program window. You can copy edits in the same track, copy from different tracks in the same instance, start a second instance of Cinelerra and copy from one instance to the other or load a media file into the Viewer and copy from there.
+This is the more traditional method of editing in Cinelerra and therefore is the default.  To enable the cut and paste editing mode on the timeline, select the I-beam toggle on the control bar at the top of the main program window. You can copy edits in the same track, copy from different tracks in the same instance, start a second instance of Cinelerra and copy from one instance to the other or load a media file into the Viewer and copy from there.
 
 To start editing, load some files onto the timeline.  Select a region of the timeline by click dragging on it and select the cut button to cut it. Move the insertion point to another point in the timeline and select the paste button.  Assuming no In/Out points are defined on the timeline this performs a cut and paste operation.
 
@@ -188,7 +221,8 @@ pasted one after the other, keeping the same order they have on the stack.
 
 \paragraph{Split --- blade cut and hard edges:} You can cut the tracks into 2 pieces on the timeline by putting the hairline cursor on the place you want to do a cut and then using the character “x” or the scissors tool (figure~\ref{fig:cut}). 
 
-\begin{wrapfigure}[16]{O}{0.3\textwidth}
+\begin{wrapfigure}[16]{O}{0.3\linewidth}
+    \vspace{1ex}
     \centering
     \includegraphics[width=0.9\linewidth]{images/cut.png}
     \caption{Blade cut}
@@ -196,7 +230,7 @@ pasted one after the other, keeping the same order they have on the stack.
 \end{wrapfigure}
 
  A \textit{cut} uses a non-empty selection region, where the \textit{blade cut} or \textit{split} has no duration in the selection, just a hairline.  As usual the use of cut when a selection is set, deletes/cuts the highlighted area.  In the case where an In point or an Out point exists on the timeline, the clip is split at the location of the In/Out point since it has priority over the cursor location.  A blade cut simply splits the edit into two edits.  In order to have the video and audio aligned, it works best to have Settings $\rightarrow$ Align cursor on frames.  When a blade cut occurs, the edges are created as \textit{hard edges}.  These are edges that cannot be deleted by track optimizations.
-
+Cinelerra has built-in optimization on the timeline.  So that whenever two parts on the timeline are sequential frames, it automatically optimizes by making them into 1 item.  So if you are cutting, dragging, editing, or whatever and somehow frame \# 40 ends up right next to frame \# 41, it optimizes them together.  This optimization affects many areas throughout the program code.
 When you do a blade cut/split, all armed tracks will be included in the cut and green-colored triangles will show on the bottom of the track on both the left and the right side of the cut.  This is a \textit{hard edge} marker toggle, as opposed to the soft edge designation for an ordinary edit.  The \textit{hard edge} marker can be toggled off/on if so desired.  In order to not interfere with the usual drag handles, only a few pixels are used for the toggle so you have to be sure you have the cursor right over the hard edge triangle  --- when in position, it will be obvious because you can see an arrow pointing to the corner.  Use Shift-left mouse button 1 to toggle off/on the hard edge marker on all tracks simultaneously.
 
 \section{Drag and Drop Editing}%
@@ -218,16 +252,16 @@ clips onto the timeline.
 
 Cinelerra fills out the audio and video tracks below the dragging cursor with data from the file. This affects what tracks you should create initially and which track to drag the media onto. To drag and drop a file on the Program window, you need to create on the timeline the same set of tracks as your media file.
 
-When you drag your chosen media from the media folder to the timeline, your mouse pointer will drag a thumbnail and, once over the timeline, the outline of a white rectangle, as big as the edit you are going to have appears.  Drag the media to the desired position of an empty track of the timeline and drop it.  If there are other edits on that track, when you move the white outline over an edit, you will see a bow tie symbol $\rhd\lhd$ appearing at edit boundaries. If you drop the media there, the new edit will start from the edit boundary indicated by the center of the bow tie $\rhd\lhd$.
+When you drag your chosen media from the media folder to the timeline, your mouse pointer will drag a thumbnail and, once over the timeline, the outline of a white rectangle, as big as the edit you are going to have appears.  Drag the media to the desired position of an empty track of the timeline and drop it.  If there are other edits on that track, when you move the white outline over an edit, you will see a bow tie symbol $\bowtie$ appearing at edit boundaries. If you drop the media there, the new edit will start from the edit boundary indicated by the center of the bow tie $\bowtie$.
 
 Since the mouse pointer is in the middle of the white outline, when this rectangle is bigger than the visible part of the timeline, it is quite cumbersome to precisely insert it for long media. Lengthening the duration visible in the timeline by changing the sample zoom in the zoom panel will reduce the size of the white rectangle, making a precise insertion possible.
 
 \noindent When you drag and drop edits within the timeline:
 
 \begin{itemize}
-    \item If you drop an edit when bow ties $\rhd\lhd$ are shown, that edit will be cut and pasted starting at the edit
-    boundary indicated by the center of the bow tie $\rhd\lhd$.  Following edits on the same track will move.
-    \item If you drop an edit when there are no bow ties $\rhd\lhd$ shown, the original edit will be muted and pasted
+    \item If you drop an edit when bow ties $\bowtie$ are shown, that edit will be cut and pasted starting at the edit
+    boundary indicated by the center of the bow tie $\bowtie$.  Following edits on the same track will move.
+    \item If you drop an edit when there are no bow ties $\bowtie$ shown, the original edit will be muted and pasted
     where you dropped it. No edits will move. A silence will appear in place of the original edit.
     \item If you have more armed tracks on the timeline than in the asset you are dragging, only the following
     edits of the tracks affected by the drag and drop operation will move to the right. This will cause loss
@@ -251,7 +285,8 @@ The \textit{edits} popup is activated on a track and a red and yellow colored re
 \begin{center}
     \begin{tabular}{l p{12.9cm}}
         \toprule
-        \textbf{Key} & \textbf{Operations} \\ \hline
+        \textbf{Key} & \textbf{Operations} \\
+        \midrule
         Drag & Hold down the Ctrl key while dragging to move a single edit elsewhere. \\
         Left mouse button & Selects and highlights the edit under the cursor with a red selection box. Left mouse button also will toggle that clip selection off if it is on. \\
         \bottomrule
@@ -284,8 +319,8 @@ The copy/paste behavior respects the armed/disarmed tracks state.  A paste of au
 
 Attaching transitions to multiple selected edits via the Video or Audio pulldowns is also available.  The new transitions are attached at the start of the edits, and will replace any existing attached transitions.
 
-\subsection{Copy/Paste Behavior}%
-\label{sub:copy_paste_behavior}
+\subsection{Grouping edits}%
+\label{sub:grouping_edits}
 
 Cinelerra recognizes as a group, the edits of different armed tracks that have aligned beginnings, regardless of whether they have the same source or aligned ends.  You can drag these edits around on the timeline to construct your movie by rearranging scenes. If more than one track is armed, Cinelerra will drag any edits which start on the same positions the edit the mouse pointer is currently over. \\
 Another method of Grouping of edits is performed as follows:
@@ -341,7 +376,8 @@ This feature provides the following capabilities:
     \item You can see which parts of that particular media are already used so you do not reuse that same 
     piece again.
 \end{itemize}
-Figure~\ref{fig:inter-view01} shows an example of the Inter-View mode mapping preview mini-window..
+Figure~\ref{fig:inter-view01} shows an example of the Inter-View mode mapping preview mini-window.
+
 \begin{figure}[htpb]
     \centering
     \includegraphics[width=0.8\linewidth]{images/inter-view01.png}
@@ -353,11 +389,9 @@ Explanation of how to use Inter-View mode will be described here next.
 
 \begin{itemize}
     \item Do your editing as usual on the timeline until you are ready to see what is used or unused.
-    \item Make sure you are in Preview mode in the Resources window; you enable this mode using the menu
-        \textit{Full play} to the left of the word Search \quad
-        \includegraphics[height=\baselineskip]{images/fullplay.png}.
-    \item Middle mouse click on a thumbnail in the Resources window and a popup occurs of that media with a
-        white colored bar at the top and a red colored bar at the bottom with black sections.
+    \item Make sure you are in any of the Preview modes in the Resources window; you enable the mode using the pulldown to the left of the word Search.  The option looks like this
+    \quad \includegraphics[height=\baselineskip]{images/fullplay.png}.   \item Middle mouse click on a thumbnail in the Resources window and a popup occurs of that media with a
+    white colored bar at the top and a red colored bar at the bottom with black sections.
 \end{itemize}
 
 The red/white bars represent the presence and the black sections represent the absence of where that media is used on the timeline.  To get to a bigger representation, use the “f” key for a full screen.  Now
@@ -482,65 +516,63 @@ A description of the fundamental/common terminology for choices follows.
     \item[Edge Left / Right] moves the edge of the clips.
     \item[No effect] no changes are made.  You might want to use this choice to prevent accidental movements.
 \end{description}
-The next two tables displays the options and results with the Key Table here first.
+The next table displays the options and results with the Key Table here first.
+
+\begin{lstlisting}[language=bash]
+    s = src media start\\
+    p = proj position \\
+    l = length \\
+    c = cut distance \\
+    rest == p+=c: for rest of clips \\
+    01 = flags edits_moved, rest_moved
+\end{lstlisting}
 
-\vspace{1ex} 
-\noindent s = src media start\\
-p = proj position \\
-l = length \\
-c = cut distance \\
-rest == p+=c: for rest of clips \\
-01 = flags edits\_moved, rest\_moved
 
-{\small
-\begin{verbatim}
-                                   drag left       drag right
-curr s+=c,l-=c; +rest                 <               >     ... rest
-+-------------+    all left      +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +abc|012345|xyz++abc|2345|xyz+
-+-------------+            11    +-------------+ +-------------+
-curr l+=c; +rest                          <               >  ... rest
-+-------------+  ripple right    +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +abc|1234|xyz+  +abc|123456|xyz+
-+-------------+            01    +-------------+ +-------------+
-
-prev l+=c; curr ps+=c,l-=c            <              >
-+-------------+    roll left     +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +ab|012345|xyz+ +abcd|2345|xyz+
-+-------------+            00    +-------------+ +-------------+
-|curr l+=c; next ps+=c,l-=c                <               >
-+-------------+    roll right    +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +abc|1234|wxyz+ +abc|123456|yz+
-+-------------+            00    +-------------+ +-------------+
-
-s-=c                                  <              >
-+-------------+    slip left     +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +abc|23456|xyz+ +abc|01234|xyz+
-+-------------+            10    +-------------+ +-------------+
-s-=c                                      <               >
-+-------------+    slip right    +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +abc|23456|xyz+ +abc|01234|xyz+
-+-------------+            10    +-------------+ +-------------+
-
-prev l+=c; curr p+=c; next ps+=c,l-=c <              >
-+-------------+   slide left     +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +ab|12345|wxyz+ +abcd|12345|yz+
-+-------------+            10    +-------------+ +-------------+
-prev l+=c; curr p+=c; next ps+=c,l-=c     <               >
-+-------------+   slide right    +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +ab|12345|wxyz+ +abcd|12345|yz+
-+-------------+            10    +-------------+ +-------------+
-
-curr s-=c,l+=c; +rest                 <               >      ... rest
-+-------------+    edge left     +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +abc|2345|xyz+  +abc|012345|xyz+
-+-------------+            11    +-------------+ +-------------+
-curr l+=c; +rest                          <               >  ... rest
-+-------------+    edge right    +-------------+ +-------------+
-+abc|12345|xyz+ ---------------> +abc|1234|xyz+  +abc|123456|xyz+
-+-------------+            01    +-------------+ +-------------+
-\end{verbatim}
-}
+\begin{longtable}{c c c c c}
+    \toprule
+    & & \textbf{Drag Left} & \textbf{Drag Right} & \\
+    \midrule
+    \endhead
+    \multicolumn{2}{c}{\textit{curr s += c, l -= c; + rest}} & $\leftarrow$ & $\rightarrow$ & \textit{rest} \\
+    abc12345xyz & \textbf{Ripple} left edge 11 $\rightarrow$ & abc012345xyz & abc2345xyz & \\
+    \midrule
+    \multicolumn{2}{c}{\textit{curr l += c; + rest}} & $\leftarrow$ & $\rightarrow$ & \textit{rest} \\
+    abc12345xyz & \textbf{Ripple} right edge 01 $\rightarrow$ & abc1234xyz & abc123456xyz & \\
+    \midrule
+    \multicolumn{2}{c}{\textit{prev l += c; curr ps+= c, l -= c}} & $\leftarrow$ & $\rightarrow$ & \\
+    abc12345xyz & \textbf{Roll} left edge 00 $\rightarrow$ & ab012345xyz & abcd2345xyz & \\
+    \midrule
+    \multicolumn{2}{c}{\textit{curr l += c; next ps+= c, l -= c}} & $\leftarrow$ & $\rightarrow$ & \\
+    abc12345xyz & \textbf{Roll} right edge 00 $\rightarrow$ & abc1234wxyz & abc123456yz & \\
+    \midrule
+    \multicolumn{2}{c}{\textit{s -= c}} & $\leftarrow$ & $\rightarrow$ & \\
+    abc12345xyz & \textbf{Slip} left edge 10 $\rightarrow$ & abc23456xyz & abc01234xyz & \\
+    \midrule
+    \multicolumn{2}{c}{\textit{s -= c}} & $\leftarrow$ & $\rightarrow$ & \\
+    abc12345xyz & \textbf{Slip} right edge 10 $\rightarrow$ & abc23456xyz & abc01234xyz & \\
+    \midrule
+    \multicolumn{2}{c}{\textit{prev l += c; curr p+= c; next ps += c, l -= c}} & $\leftarrow$ & $\rightarrow$ & \\
+    abc12345xyz & \textbf{Slide} left edge 10 $\rightarrow$ & ab012345wxyz & abcd12345yz & \\
+    \midrule
+    \multicolumn{2}{c}{\textit{prev l += c; curr p+= c; next ps += c, l -= c}} & $\leftarrow$ & $\rightarrow$ & \\
+    abc12345xyz & \textbf{Slide} right edge 10 $\rightarrow$ & ab12345wxyz & abcd12345yz & \\
+    \midrule
+    \multicolumn{2}{c}{\textit{curr s -+= c, l += c; + rest}} & $\leftarrow$ & $\rightarrow$ & \textit{rest} \\
+    abc12345xyz & \textbf{Edge} left edge 11 $\rightarrow$ & abc2345xyz & abc0123456xyz & \\
+    \midrule
+    \multicolumn{2}{c}{\textit{curr l -+= c; + rest}} & $\leftarrow$ & $\rightarrow$ & \textit{rest} \\
+    abc12345xyz & \textbf{Edge} right edge 01 $\rightarrow$ & abc1234xyz & abc123456xyz & \\
+    \bottomrule
+\end{longtable}
+
+Next, a more immediate and colorful view shows these trimming options ((figure~\ref{fig:trim-color})).
+
+\begin{figure}[htpb]
+    \centering
+    \includegraphics[width=0.8\linewidth]{images/trim-color.png}
+    \caption{The 5 types of Trim: note the different lengths of the results.}
+    \label{fig:trim-color}
+\end{figure}
 
 \paragraph{How to do a J-cut or L-cut} A J-cut is a split edit film editing technique in which the audio from a following scene overlaps the picture from the preceding scene, so that the audio portion of the later scene starts playing before its picture as a lead-in to the visual cut.  An L-cut is a different split edit film editing technique in which the audio from preceding scene overlaps the picture from the following scene, so that the audio cuts after the picture, and continues playing over the beginning of the next scene (figure~\ref{fig:j-cut}). To do either a J-cut or an L-cut, you first shorten the first or second video a little.  Then you block the audio tracks from changing by disarming the appropriate tracks.  Finally use \textit{One Edit (roll)} the cutting edge off the videos.  Moving to the right creates a J-cut and moving to the left creates an L-cut.
 \begin{figure}[htpb]
@@ -584,21 +616,19 @@ Now to use this feature, create a track with edits that have trims on the left a
 
 \paragraph{Cutting/Snapping edits} cuts from an edit handle to the insert point. 
 There are Edit Panel buttons which normally are used to move to the previous or next edit handle/label.
-
-\begin{wrapfigure}[8]{O}{0.3\textwidth}
-    \vspace{-2ex}
+\begin{wrapfigure}[5]{r}{0.2\linewidth}
+    \vspace{-1ex}
     \centering
-    \includegraphics[width=0.99\linewidth]{images/snap.png}
+    \includegraphics[width=0.7\linewidth]{images/snap.png}
 \end{wrapfigure}
-
 They look like tags and the letter E on the menu bar and are oriented forward/backward.  These same buttons can be used to \textit{cut} from the insert pointer to the previous or next edit/label when the \texttt{ctrl+alt} keys are both pressed when the buttons are used.  They \textit{snap} off the media instead of doing the standard re-positioning.  This is useful to minimize the number of operations necessary to cut between edits/labels.
 
 Instead of using the edit panel buttons, you can more easily use the following keyboard shortcuts to perform the same functions:
 \begin{center}
     \begin{tabular}{l l l}
-        \toprule 
-        snap\_right\_edit &    ctrl+alt+ '.' \\
-        snap\_left\_edit &     ctrl+alt+ ',' \\
+        \toprule
+        snap\_right\_edit &    ctrl+alt+ '.' \\
+        snap\_left\_edit &     ctrl+alt+ ',' \\
         snap\_right\_label &   ctrl+alt +shift '.' &  shift+period is the > sign on US keyboards \\
         snap\_left\_label &    ctrl+alt +shift',' &  shift+comma is the < sign on US keyboards \\
         \bottomrule
@@ -624,10 +654,34 @@ It is somewhat important to note that nested assets and nested clips will have i
     \label{fig:nesting}
 \end{figure}
 
+\paragraph{Usage Examples of Nested Clips}
+
+\begin{description}
+    \item[Example 1:] You want to make a flashback/rewind at the end of your video
+that represents a quick summary of the entire video in black and white. On
+he timeline, you have 60 seconds of edits with clips, cuts, zoom in, zoom
+out and any other edits. Now you want to get this 60 seconds "compressed"
+to 10 seconds, play in reverse, and in black and white at the end of your
+    video.    
+    You would copy the 60 seconds in a clip, nest the clip in the Clip folder
+of the Resources window and drag it to the timeline. You will see only a
+clean clip without all of the edits that were used to create it because
+nesting display a clip without having to actually use the Render menu.
+    Now you can add a Reverse effect, Color3way plugin for black and white, and
+use the Speed auto to get the 60 seconds down to only 10 seconds.
+    \item[Example 2:] You are working on a complex project with a team in a separate
+location. You create some sub projects, i.e. sequences, that you or the
+team will use in the Master project to merge the sequences in the right
+order and to make the final color correction steps.
+\end{description}
+
+In each of the examples you can see the benefit of nesting to create clean
+looking timelines because of the automatic rendering capability of nesting.
+
 \subsection{Copy/Paste clips/medias across Multiple Instances}%
 \label{sub:copy_paste_multiple_instances}
 
-It is easy to copy/paste clips/media within a single instance of cinelerra or across multiple instances.  The reason this works is because there are hidden X cut butters and these are used to transmit EDL from 1 instance to another.
+It is easy to copy/paste clips/media within a single instance of cinelerra or across multiple instances.  The reason this works is because there are hidden X cut buffers and these are used to transmit EDL from 1 instance to another.
 
 \noindent Steps to copy from a source timeline and paste to a target timeline:
 
@@ -751,7 +805,7 @@ K4 "b"         # Overwrite
 \noindent To change any key value to an alternative value, just edit the file and make the changes.  Besides just keys and alphabetic letters of numbers, you can also use any cinelerra value that contains the combination with Shift, Alt, and Ctrl.  For keys that are not printable characters, you can look up the symbol name to use for a specific operation in the file called: \texttt{/usr/include/X11/keysymdef.h} .
 \noindent Some examples:
 
-\begin{lstlisting}[language=Bash]
+\begin{lstlisting}[language=bash]
 K10 Alt-XK_Left        # Go to previous edit \\
 K13 Ctrl-XK_Right      # Go to next label
 \end{lstlisting}
@@ -808,7 +862,7 @@ $ export SHUTTLE_CONFIG_FILE=/tmp/shuttlerc_test
 \subsection{Troubleshooting auxilliary information}%
 \label{sub:troubleshooting_auxilliary_information}
 
-In order to see if you hardware was recognized by the operating system, keyin:
+In order to see if you hardware was recognized by the operating system, key in:
 
 \begin{lstlisting}[language=Bash]
 $ lsusb -v -d 0b33:0030                # for the Shuttle Pro or PROv2 \\
@@ -822,17 +876,17 @@ $ lsusb -v -d 0b33:0020           # for the Shuttle Xpress
 
 
 \begin{enumerate}
-    \item From a terminal window as an ordinary user keyin:  lsusb  (the first character is a lower case L ---for
+    \item From a terminal window as an ordinary user key in:  lsusb  (the first character is a lower case L ---for
     list).  You will see something like the following depending on which usb device you have the
     ShuttlePro plugged into:
 \begin{lstlisting}[language=Bash]
 Bus 003 Device 002: ID 0b33:0030 Contour Design, Inc. ShuttlePro v2
 \end{lstlisting}
-    \item To make sure you have usbmon installed keyin:
+    \item To make sure you have usbmon installed key in:
 \begin{lstlisting}[language=Bash]
 $ sudo modprobe usbmon
 \end{lstlisting}
-    \item Next keyin the following:
+    \item Next key in the following:
 \begin{lstlisting}[language=Bash]
 $ sudo od -tx1 /dev/usbmon3
 \end{lstlisting}
@@ -897,29 +951,91 @@ event: (0, 0, 0x0)
 
 \noindent When done, you will have to Ctrl-C to get out of the program.
 
-\paragraph{Note 4} For developers, it is also possible to do the following for further in depth testing:
+\paragraph{Note 4} For developers, if you have a pre-UEFI Secure Boot kernel it is also possible to do the following for further in depth testing:
+
     \begin{lstlisting}[language=Bash]
-# to locate numerical value of the shuttle, e.g. 0003:0B33.0030.0006
-$ ls /sys/kernel/debug/hid   
-$ cat “/sys/kernel/debug/hid/0003:0B33.0030.0006/rdesc” # substitute your own numerical value
-$ cat “/sys/kernel/debug/hid/0003:0B33.0030.0006/events” # press keys to see the results
+ls /sys/kernel/debug/hid   \# to locate numerical value of the shuttle, e.g. 0003:0B33.0030.0006
+cat "/sys/kernel/debug/hid/0003:0B33.0030.0006/rdesc"  # substitute your own numerical value
+cat "/sys/kernel/debug/hid/0003:0B33.0030.0006/events"  # press keys to see the results
     \end{lstlisting}
+%\begin{enumerate}
+    %\item \texttt{ls /sys/kernel/debug/hid   \# to locate numerical value of the shuttle, e.g. 0003:0B33.0030.0006}
+    %\item \texttt{cat “/sys/kernel/debug/hid/0003:0B33.0030.0006/rdesc”    \# substitute your own numerical value}
+    %\item \texttt{cat “/sys/kernel/debug/hid/0003:0B33.0030.0006/events”  \# press keys to see the results}
+%\end{enumerate}
 
 \subsection{Shuttle key default arrangement for Cinelerra / Composer / Viewer:}%
 \label{sub:shuttle_key_default_cinelerra}
 
-The following is the default setting for the ShuttlePROv2 and ShuttleXpress:
-
-\vspace{1ex} \textbf{ShuttlePROv2:}
-
-\begin{figure}[H]
-    \centering
-    \includegraphics[width=1.0\linewidth]{images/shuttle-prov2.png}
-\end{figure}
+The following is the default setting for the ShuttlePROv2 and ShuttleXpress (table~\ref{tab:shuttleprov2} and table~\ref{tab:xpress}):
 
-\vspace{1ex} \textbf{ShuttleXpress:}
+\begin{landscape}   
+    \begin{table}[htpb]
+        \centering
+        \caption{ShuttlePROv2 key default arrangement for Cinelerra / Composer / Viewer}
+        \label{tab:shuttleprov2}
+        \begin{tabular}{c c c c c c c}       
+            \toprule
+            K1 & K2 & & K3 & K4 & & \\
+            Label & Future use & & Future use & Clip & & \\
+                  & Splice (viewer) & & Copy  & Overwrite (viewer) & & \\
+                  \midrule
+            K5 & K6 & K7 & K8 & K9 & & \\
+            Home & Reverse & Stop & Play & End & & \\
+                 &         & Fullscreen & & & & \\
+                 &         & (viewer / compositor) & & & & \\
+                 \midrule
+            Home(Defaults) & MouseBtn1(D) & MouseBtn2(D) & MouseBtn3(D) & End(Defaults) & & \\
+            \midrule
+            \multicolumn{7}{c}{Shuttle Outer Wheel} \\
+            \multicolumn{7}{c}{Play forward (first row) or Play reverse (second row)} \\        
+            S1=Stop &   S2=1/2 &   S3=Normal  &  S4=2x  &  S5=4x  &  S6=8x &   S7=16x \\
+            S-1=Stop &  S-2=1/2 &  S-3=Normal &  S-4=2x &  S-5=4x &  S-6=8x  & S-7=16x \\
+            \midrule
+            K14        & & Jog Left & (Inner Wheel) & Jog Right & & K15 \\ 
+            Toggle In & & Frame reverse & & Frame forward & & Toggle Out \\
+                      & & Scroll up(Defaults) & & Scroll down(Defaults) & & \\
+                      \midrule
+                      & & K10  & &  K11 & & \\
+                      & & Previous Edit & & Next Edit & & \\
+                      & & Future Use(Viewer) & & Future Use(Viewer) & & \\
+                      \midrule
+                      & & K12  & &  K13 & & \\
+                      & & Previous Edit & & Next Edit & & \\
+                      & & Previous Label & & Next label & & \\
+                      \bottomrule
+        \end{tabular}
+    \end{table}
+\end{landscape}
+
+\begin{landscape}   
+    \begin{table}[htpb]
+        \centering
+        \caption{ShuttleXpress key default arrangement for Cinelerra / Composer / Viewer}
+        \label{tab:xpress}
+        \begin{tabular}{c c c c c c c}       
+            \toprule        
+            K5 & K6 & K7 & K8 & K9 & & \\
+            Home & Reverse & Stop & Play & End & & \\
+                 &         & Fullscreen & & & & \\
+                 &         & (viewer / compositor) & & & & \\
+                 \midrule
+            Home(Defaults) & MouseBtn1(D) & MouseBtn2(D) & MouseBtn3(D) & End(Defaults) & & \\
+            \midrule
+            \multicolumn{7}{c}{Shuttle Outer Wheel} \\
+            \multicolumn{7}{c}{Play forward (first row) or Play reverse (second row)} \\        
+            S1=Stop &   S2=1/2 &   S3=Normal  &  S4=2x  &  S5=4x  &  S6=8x &   S7=16x \\
+            S-1=Stop &  S-2=1/2 &  S-3=Normal &  S-4=2x &  S-5=4x &  S-6=8x  & S-7=16x \\
+            \midrule
+                     & & Jog Left & (Inner Wheel) & Jog Right & & \\ 
+                     & & Frame reverse & & Frame forward & & \\
+                     & & Scroll up(Defaults) & & Scroll down(Defaults) & & \\  
+                     \bottomrule      
+        \end{tabular}
+    \end{table}
+    \centering        
+
+
+
+\end{landscape}
 
-\begin{figure}[H]
-    \centering
-    \includegraphics[width=1.0\linewidth]{images/xpress.png}
-\end{figure}