[xsl] using OR in a group-ending-with test

Subject: [xsl] using OR in a group-ending-with test
From: Jeff Wilson <jeffrey@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Aug 2011 12:51:37 -0700
Good afternoon,

I'm trying to get a group to end with either of two conditions.

This is the current group test:

<xsl:for-each-group select="following-sibling::w:p/w:pPr/w:pStyle/
@w:val[starts-with(.,'Feature')]/ancestor::w:p" group-ending-
with="w:p/w:pPr/w:pStyle/@w:val[not(starts-with(.,'Feature')) or
'FeatureType']">

The resulting xml runs includes every following-sibling in the
document, so I assume (and may be incorrect) that the problem is with
my ending-with test.

I apologize in advance for the length of this message.

The xml out of word is messy, but I'll include the relevant bits:

<pkg:xmlData>
<w:document mc:Ignorable="w14 wp14" xmlns:wpc="http://
schemas.microsoft.com/office/word/2010/wordprocessingCanvas"
xmlns:mo="http://schemas.microsoft.com/office/mac/office/2008/main";
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/
2006" xmlns:mv="urn:schemas-microsoft-com:mac:vml"
xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://
schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math";
xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://
schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/
wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-
com:office:word" xmlns:w="http://schemas.openxmlformats.org/
wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/
office/word/2010/wordml" xmlns:wpg="http://schemas.microsoft.com/
office/word/2010/wordprocessingGroup"
xmlns:wpi="http://schemas.microsoft.com/office/word/2010/
wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/
word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/
2010/wordprocessingShape">
<w:body>
<w:p w:rsidR="006B72DB" w:rsidRPr="009D2D97"
w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="H1"/>
</w:pPr>
<w:r w:rsidRPr="009D2D97">
<w:t>Menus and Settings</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Para"/>
</w:pPr>
<w:r>
<w:t xml:space="preserve">The menus within Revit MEP 2012 offer
access to many </w:t>
</w:r>
<w:r w:rsidRPr="00AD1EBD">
<w:t>tools for user interface settings. Right</w:t>
</w:r>
<w:r>
<w:t>-click context menus also contain various tools based on the
selected item.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Slug"/>
</w:pPr>
<w:r>
<w:t>Figure 1.12: Application menu</w:t>
</w:r>
<w:r>
<w:tab/>
<w:t>[f0112.tif]</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Para"/>
</w:pPr>
<w:r w:rsidRPr="00AF724E">
<w:t>Clicking the Options button opens the Options dialog box, which
has several tabs for different settings within Revit MEP 201</w:t>
</w:r>
<w:r>
<w:t xml:space="preserve">2. </w:t>
</w:r>
<w:proofErr w:type="gramStart"/>
<w:r>
<w:t xml:space="preserve">The General tab now contains a slider that
allows you to control how frequently your file will update when
working in a </w:t>
</w:r>
<w:proofErr w:type="spellStart"/>
<w:r>
<w:t>worksharing</w:t>
</w:r>
<w:proofErr w:type="spellEnd"/>
<w:r>
<w:t xml:space="preserve"> environment and utilizing the Model
Updates option of the new </w:t>
</w:r>
<w:proofErr w:type="spellStart"/>
<w:r>
<w:t>worksharing</w:t>
</w:r>
<w:proofErr w:type="spellEnd"/>
<w:r>
<w:t xml:space="preserve"> display features.</w:t>
</w:r>
<w:proofErr w:type="gramEnd"/>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Slug"/>
</w:pPr>
<w:r>
<w:t>Insert Graphic</w:t>
</w:r>
<w:r>
<w:tab/>
<w:t>[g0126.tif]</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRPr="00C0220D"
w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Para"/>
</w:pPr>
<w:r>
<w:t xml:space="preserve">The General tab is also where you define
your username for Revit MEP 2012. This is important for </w:t>
</w:r>
<w:proofErr w:type="spellStart"/>
<w:r>
<w:t>worksharing</w:t>
</w:r>
<w:proofErr w:type="spellEnd"/>
<w:r>
<w:t xml:space="preserve"> </w:t>
</w:r>
<w:proofErr w:type="gramStart"/>
<w:r>
<w:t>because  Revit</w:t>
</w:r>
<w:proofErr w:type="gramEnd"/>
<w:r>
<w:t xml:space="preserve"> uses this name to identify you for editing
requests, </w:t>
</w:r>
<w:proofErr w:type="spellStart"/>
<w:r>
<w:t>workset</w:t>
</w:r>
<w:proofErr w:type="spellEnd"/>
<w:r>
<w:t xml:space="preserve"> ownership, and element borrowing.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRPr="00751E7D"
w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Slug"/>
<w:rPr>
<w:b w:val="0"/>
</w:rPr>
</w:pPr>
<w:r>
<w:t>Figure 1.13: User Interface tab of the Options dialog box</w:t>
</w:r>
<w:r>
<w:tab/>
<w:t>[f0113.tif]</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Para"/>
</w:pPr>
<w:r>
<w:t xml:space="preserve">In addition, you can define the level of
information provided by tooltips from the Tooltip Assistance drop-
down menu. If you are still learning the function of different tools
within Revit MEP 2012, you may want to set this option to High so
that you will receive detailed descriptions of how tools work when
you hover over them with your mouse pointer. If you find that the
tooltips interfere with your workflow, you can set this option to </w:t>
</w:r>
<w:proofErr w:type="gramStart"/>
<w:r>
<w:t>None</w:t>
</w:r>
<w:proofErr w:type="gramEnd"/>
<w:r>
<w:t>.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Slug"/>
</w:pPr>
<w:r w:rsidRPr="00862900">
<w:t>Insert Graphic</w:t>
</w:r>
<w:r w:rsidRPr="00862900">
<w:tab/>
<w:t>[</w:t>
</w:r>
<w:r>
<w:t>g0127.tif]</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRPr="00862900"
w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeatureType"/>
</w:pPr>
<w:proofErr w:type="gramStart"/>
<w:r>
<w:t>t</w:t>
</w:r>
<w:r w:rsidRPr="00862900">
<w:t>ype</w:t>
</w:r>
<w:proofErr w:type="gramEnd"/>
<w:r w:rsidRPr="00862900">
<w:t>=general</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeatureTitle"/>
</w:pPr>
<w:r>
<w:lastRenderedPageBreak/>
<w:t>What Do I Type?</w:t>
</w:r>
<w:bookmarkStart w:id="0" w:name="_GoBack"/>
<w:bookmarkEnd w:id="0"/>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeaturePara"/>
</w:pPr>
<w:r>
<w:t>With Tooltip Assistance set to at least Minimal, you can see the
keyboard shortcut for a tool by hovering your mouse pointer over it.
The keyboard shortcut is shown in parentheses next to the name of the
tool.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRPr="009D2D97"
w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="H2"/>
</w:pPr>
<w:r w:rsidRPr="009D2D97">
<w:t>Keyboard Shortcuts</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Para"/>
</w:pPr>
<w:r>
<w:t>On the User Interface tab of the Options dialog box is a button
that enables you to customize your keyboard shortcuts. Clicking this
button activates the Keyboard Shortcuts dialog box. In this dialog
box, you can filter the commands to make the list easier to manage
and edit. You can even filter by specific tabs or menus, as shown in
Figure 1.14.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Slug"/>
</w:pPr>
<w:r>
<w:t>Figure 1.14: Filter options for the keyboard shortcuts list</w:t>
</w:r>
<w:r>
<w:tab/>
<w:t>[f0114.tif]</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRPr="00862900"
w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeatureType"/>
</w:pPr>
<w:proofErr w:type="gramStart"/>
<w:r>
<w:t>t</w:t>
</w:r>
<w:r w:rsidRPr="00862900">
<w:t>ype</w:t>
</w:r>
<w:proofErr w:type="gramEnd"/>
<w:r w:rsidRPr="00862900">
<w:t>=general</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeatureTitle"/>
</w:pPr>
<w:r>
<w:t>Shortcut Access</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeaturePara"/>
</w:pPr>
<w:r>
<w:t>You can access the Keyboard Shortcuts dialog box by clicking the
User Interface button on the View tab. There is even a keyboard
shortcut for the Keyboard Shortcuts dialog box: KS.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Para"/>
</w:pPr>
<w:r>
<w:t>You can sort the list in ascending or descending alphabetical
order by clicking the desired column. Once you have located a command
for which you want to create a keyboard shortcut, you can select the
command to activate the.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="Para"/>
</w:pPr>
<w:r>
<w:t>You can export your keyboard shortcut settings by clicking the
Export button at the bottom of the Keyboard Shortcuts dialog box.
This will save your settings as an XML file that can be edited in a
spreadsheet program. Using a spreadsheet is another way to manage and
share your keyboard shortcuts. The XML file can then be imported into
Revit by using the Import button, allowing you to set a standard for
keyboard shortcuts in a multiuser work environment.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRPr="00862900"
w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeatureType"/>
</w:pPr>
<w:proofErr w:type="gramStart"/>
<w:r>
<w:t>t</w:t>
</w:r>
<w:r w:rsidRPr="00862900">
<w:t>ype</w:t>
</w:r>
<w:proofErr w:type="gramEnd"/>
<w:r w:rsidRPr="00862900">
<w:t>=</w:t>
</w:r>
<w:proofErr w:type="spellStart"/>
<w:r>
<w:t>c</w:t>
</w:r>
<w:r w:rsidRPr="00862900">
<w:t>ase</w:t>
</w:r>
<w:r>
<w:t>S</w:t>
</w:r>
<w:r w:rsidRPr="00862900">
<w:t>tudy</w:t>
</w:r>
<w:proofErr w:type="spellEnd"/>
<w:r w:rsidRPr="00862900">
<w:t></w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeatureTitle"/>
</w:pPr>
<w:r>
<w:t>Common Shortcuts</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeaturePara"/>
</w:pPr>
<w:r w:rsidRPr="00DD090F">
<w:t xml:space="preserve">Clark is responsible for teaching </w:t>
</w:r>
<w:r>
<w:t>a Revit MEP 2012 class. He has established keyboard shortcuts
that fit his workflow best and allow for efficient use of the
software. Because he is so familiar with these shortcuts, he wants to
share them with his students so that they will all be using the same
ones during class.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeatureSlug"/>
</w:pPr>
<w:r>
<w:lastRenderedPageBreak/>
<w:t>Insert Graphic</w:t>
</w:r>
<w:r>
<w:tab/>
<w:t>[g0</w:t>
</w:r>
<w:r>
<w:t>1</w:t>
</w:r>
<w:r>
<w:t>02.tif]</w:t>
</w:r>
</w:p>
<w:p w:rsidR="006B72DB" w:rsidRDefault="006B72DB" w:rsidP="006B72DB">
<w:pPr>
<w:pStyle w:val="FeaturePara"/>
<w:rPr>
<w:rStyle w:val="UserInput"/>
</w:rPr>
</w:pPr>
<w:r>
<w:t>Clark exports his shortcut settings to a file, which he imports
into Revit MEP 2012 on the computers in the classroom. Prior to
importing the custom settings, he exported the default settings so
that they can be used later if necessary. During class he notes that
the settings provided are preferred, but each student can further
customize them if doing so results in improved efficiency.</w:t>
</w:r>
</w:p>
<w:p w:rsidR="00AF4B91" w:rsidRDefault="00AF4B91"/>
<w:sectPr w:rsidR="00AF4B91" w:rsidSect="00AF4B91">
<w:pgSz w:w="12240" w:h="15840"/>
<w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800"
w:header="720" w:footer="720" w:gutter="0"/>
<w:cols w:space="720"/>
<w:docGrid w:linePitch="360"/>
</w:sectPr>
</w:body>
</w:document>
</pkg:xmlData>

Here is the xsl I'm currently testing (I only included the "Features"
template):

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:xs="http://www.w3.org/2001/XMLSchema"; version="2.0"
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/
main" xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/"; xmlns:pkg="http://
schemas.microsoft.com/office/2006/xmlPackage">
 <xsl:template match="/">
  <xsl:text>&#xA;</xsl:text>
  <xsl:apply-templates />
 </xsl:template>

 <xsl:template match="/pkg:package/pkg:part/pkg:xmlData/w:document/
w:body/w:p" name="Main">
  <xsl:choose>
   <xsl:when test="w:pPr/w:pStyle[@w:val='FeatureType']">
    <xsl:call-template name="Features"/>
   </xsl:when>
   <xsl:when test="w:pPr/w:pStyle/@w:val[starts-with(.,'Feature')]">
    <xsl:text></xsl:text>
   </xsl:when>
   <xsl:when test="w:pPr/w:pStyle/@w:val[contains(.,'Slug')]">
    <xsl:call-template name="Slug"/>
   </xsl:when>
   <xsl:otherwise>
    <xsl:call-template name="Paragraphs"/>
   </xsl:otherwise>
  </xsl:choose>

</xsl:template>

 <xsl:template name="Features">
     <xsl:element name="AnchoredFeature">
      <xsl:attribute name="aid:pstyle" select="'_AnchoredFeature'"/
><xsl:attribute name="id"><xsl:text>#BASENAME#-feat-</
xsl:text><xsl:number format="0001" count="*"/></
xsl:attribute><xsl:text>&#xA;</xsl:text>
      <xsl:element name="table">
       <xsl:attribute name="aid5:tablestyle" select="'FeatureTable'"/>
       <xsl:attribute name="aid:table" select="'table'"/>
       <xsl:attribute name="aid:tcols" select="1"/>
       <xsl:attribute name="aid:trows" select="1"/>
       <xsl:text>&#xA;</xsl:text>
       <xsl:element name="Cell">
        <xsl:attribute name="aid:table" select="'cell'"/>
        <xsl:attribute name="aid:ccolwidth" select="387"/>
        <xsl:attribute name="aid5:cellstyle" select="'FeatureCell'"/>
        <xsl:for-each-group select="following-sibling::w:p/w:pPr/
w:pStyle/@w:val[starts-with(.,'Feature')]/ancestor::w:p" group-ending-
with="w:p/w:pPr/w:pStyle/@w:val[not(starts-with(.,'Feature')) or
'FeatureType']">
         <xsl:for-each select="current-group()">
<xsl:choose>
 <xsl:when test="w:pPr/w:pStyle[@w:val='FeatureSlug']">
  <xsl:call-template name="Graphic"/>
 </xsl:when>
 <xsl:otherwise>
 <xsl:element name="{w:pPr/w:pStyle/@w:val}"><xsl:attribute
name="aid:pstyle" select="w:pPr/w:pStyle/@w:val"/>
      <xsl:for-each select="w:r/w:t">
      <xsl:choose>
       <xsl:when test="../w:rPr/w:i">
        <xsl:element name="i">
         <xsl:apply-templates/>
        </xsl:element>
       </xsl:when>
       <xsl:when test="../w:rPr/w:b">
        <xsl:element name="b">
         <xsl:apply-templates/>
        </xsl:element>
       </xsl:when>
       <xsl:when test="../w:rPr/w:rStyle">
        <xsl:element name="{../w:rPr/w:rStyle/@w:val}">
         <xsl:attribute name="aid:cstyle">
          <xsl:value-of select="../w:rPr/w:rStyle/@w:val"/>
         </xsl:attribute>
         <xsl:apply-templates/>
        </xsl:element>
       </xsl:when>
       <xsl:otherwise>
        <xsl:apply-templates/>
       </xsl:otherwise>
      </xsl:choose>
     </xsl:for-each>
         </xsl:element><xsl:text>&#xA;</xsl:text>
</xsl:otherwise>
</xsl:choose>
         </xsl:for-each>
    </xsl:for-each-group>
       </xsl:element>
       </xsl:element>
      </xsl:element><xsl:text>&#xA;</xsl:text>
 </xsl:template>
</xsl:stylesheet>

This is what I'd like to have (what I'm getting includes ALL of the
Features in the first <AnchoredFeature> element, then all but the
first in the second <AnchoredFeature> element, etc:

<?xml version="1.0" encoding="UTF-8"?>
<H1 xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="H1" id="#BASENAME#-para-0001">Menus and Settings</H1>
<Para xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="Para" id="#BASENAME#-para-0002">The menus within Revit
MEP 2012 offer access to many tools for user interface settings.
Right-click context menus also contain various tools based on the
selected item.</Para>
<AnchoredFigure xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="_AnchoredFigure" id="#BASENAME#-fig-0003"><table
xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/";
aid5:tablestyle="FigureTable" aid:table="table" aid:tcols="2"
aid:trows="1">
<Cell aid5:cellstyle="CaptionCell"
aid:table="cell"><_FigureCaption>Figure 1.12: Application menu</
_FigureCaption></Cell><Cell aid5:cellstyle="FigureCell"
aid:table="cell"><img src="../image_fi//f0112.tif"/></Cell></table></
AnchoredFigure>
<Para xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="Para" id="#BASENAME#-para-0004">Clicking the Options
button opens the Options dialog box, which has several tabs for
different settings within Revit MEP 2012. The General tab now
contains a slider that allows you to control how frequently your file
will update when working in a worksharing environment and utilizing
the Model Updates option of the new worksharing display features.</Para>
<AnchoredGraphic xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="_AnchoredGraphic" id="#BASENAME#-graph-0005"><img src="../
image_fi//g0126.tif"/></AnchoredGraphic>
<Para xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="Para" id="#BASENAME#-para-0006">The General tab is also
where you define your username for Revit MEP 2012. This is important
for worksharing because  Revit uses this name to identify you for
editing requests, workset ownership, and element borrowing.</Para>
<AnchoredFigure xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="_AnchoredFigure" id="#BASENAME#-fig-0007"><table
xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/";
aid5:tablestyle="FigureTable" aid:table="table" aid:tcols="2"
aid:trows="1">
<Cell aid5:cellstyle="CaptionCell"
aid:table="cell"><_FigureCaption>Figure 1.13: User Interface tab of
the Options dialog box</_FigureCaption></Cell><Cell
aid5:cellstyle="FigureCell" aid:table="cell"><img src="../image_fi//
f0113.tif"/></Cell></table></AnchoredFigure>
<Para xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="Para" id="#BASENAME#-para-0008">In addition, you can
define the level of information provided by tooltips from the Tooltip
Assistance drop-down menu. If you are still learning the function of
different tools within Revit MEP 2012, you may want to set this
option to High so that you will receive detailed descriptions of how
tools work when you hover over them with your mouse pointer. If you
find that the tooltips interfere with your workflow, you can set this
option to None.</Para>
<AnchoredGraphic xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="_AnchoredGraphic" id="#BASENAME#-graph-0009"><img src="../
image_fi// g0127.tif"/></AnchoredGraphic>
<AnchoredFeature xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="_AnchoredFeature" id="#BASENAME#-feat-0010">
<table xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/";
aid5:tablestyle="FeatureTable" aid:table="table" aid:tcols="1"
aid:trows="1">
<Cell aid:table="cell" aid:ccolwidth="387"
aid5:cellstyle="FeatureCell"><FeatureTitle
aid:pstyle="FeatureTitle">What Do I Type? </FeatureTitle>
<FeaturePara aid:pstyle="FeaturePara">With Tooltip Assistance set to
at least Minimal, you can see the keyboard shortcut for a tool by
hovering your mouse pointer over it. The keyboard shortcut is shown
in parentheses next to the name of the tool.</FeaturePara>
</Cell></table></AnchoredFeature>
<H2 xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="H2" id="#BASENAME#-para-0013">Keyboard Shortcuts</H2>
<Para xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="Para" id="#BASENAME#-para-0014">On the User Interface tab
of the Options dialog box is a button that enables you to customize
your keyboard shortcuts. Clicking this button activates the Keyboard
Shortcuts dialog box. In this dialog box, you can filter the commands
to make the list easier to manage and edit. You can even filter by
specific tabs or menus, as shown in Figure 1.14.</Para>
<AnchoredFigure xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="_AnchoredFigure" id="#BASENAME#-fig-0015"><table
xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/";
aid5:tablestyle="FigureTable" aid:table="table" aid:tcols="2"
aid:trows="1">
<Cell aid5:cellstyle="CaptionCell"
aid:table="cell"><_FigureCaption>Figure 1.14: Filter options for the
keyboard shortcuts list</_FigureCaption></Cell><Cell
aid5:cellstyle="FigureCell" aid:table="cell"><img src="../image_fi//
f0114.tif"/></Cell></table></AnchoredFigure>
<AnchoredFeature xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="_AnchoredFeature" id="#BASENAME#-feat-0016">
<table xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/";
aid5:tablestyle="FeatureTable" aid:table="table" aid:tcols="1"
aid:trows="1">
<Cell aid:table="cell" aid:ccolwidth="387"
aid5:cellstyle="FeatureCell"><FeatureTitle
aid:pstyle="FeatureTitle">Shortcut Access</FeatureTitle>
<FeaturePara aid:pstyle="FeaturePara">You can access the Keyboard
Shortcuts dialog box by clicking the User Interface button on the
View tab. There is even a keyboard shortcut for the Keyboard
Shortcuts dialog box: KS.</FeaturePara>
</Cell></table></AnchoredFeature>
<Para xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="Para" id="#BASENAME#-para-0019">You can sort the list in
ascending or descending alphabetical order by clicking the desired
column. Once you have located a command for which you want to create
a keyboard shortcut, you can select the command to activate the.</Para>
<Para xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="Para" id="#BASENAME#-para-0020">You can export your
keyboard shortcut settings by clicking the Export button at the
bottom of the Keyboard Shortcuts dialog box. This will save your
settings as an XML file that can be edited in a spreadsheet program.
Using a spreadsheet is another way to manage and share your keyboard
shortcuts. The XML file can then be imported into Revit by using the
Import button, allowing you to set a standard for keyboard shortcuts
in a multiuser work environment.</Para>
<AnchoredFeature xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/";
aid:pstyle="_AnchoredFeature" id="#BASENAME#-feat-0021">
<table xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/";
aid5:tablestyle="FeatureTable" aid:table="table" aid:tcols="1"
aid:trows="1">
<Cell aid:table="cell" aid:ccolwidth="387"
aid5:cellstyle="FeatureCell"><FeatureTitle
aid:pstyle="FeatureTitle">Common Shortcuts</FeatureTitle>
<FeaturePara aid:pstyle="FeaturePara">Clark is responsible for
teaching a Revit MEP 2012 class. He has established keyboard
shortcuts that fit his workflow best and allow for efficient use of
the software. Because he is so familiar with these shortcuts, he
wants to share them with his students so that they will all be using
the same ones during class.</FeaturePara>
<AnchoredGraphic aid:pstyle="_AnchoredGraphic" id="#BASENAME#-
graph-0024"><img src="../image_fi//g0102.tif"/></AnchoredGraphic>
<FeaturePara aid:pstyle="FeaturePara">Clark exports his shortcut
settings to a file, which he imports into Revit MEP 2012 on the
computers in the classroom. Prior to importing the custom settings,
he exported the default settings so that they can be used later if
necessary. During class he notes that the settings provided are
preferred, but each student can further customize them if doing so
results in improved efficiency.</FeaturePara>
</Cell></table></AnchoredFeature>

Current Thread