updates on markup import (including figures and footnotes)