[Ipe-discuss] feature suggestion: 'automatic bookmarking' for presentations

Otfried Cheong otfried at ipe.airpost.net
Thu May 20 05:31:03 CEST 2010


On 05/19/2010 06:08 PM, Alexander Wolff wrote:
> i think the following feature would be useful for making presentations
> with ipe:
>
> allow the user to customize ipe such that, whenever (s)he edits the
> title of a page, the check box "section: use title" is checked
> automatically.

Sounds reasonable.  Here's a simple patch in the meantime:

--- actions.lua	(revision 424)
+++ actions.lua	(working copy)
@@ -1099,6 +1099,10 @@
    if not d:get("tsubsection") then
      final.subsection = d:get("subsection")
    end
+  if prefs.automatic_use_title and ti.title ~= final.title then
+    final.section = true
+    final.tsection = true
+  end
    local t = { label="change title and sections of page " .. self.pno,
  	      pno = self.pno,
  	      vno = self.vno,


Otfried




More information about the Ipe-discuss mailing list