makes 5 dozen cookies; adapted from Nick Malgieri's original in Baking with Julia
Put the flour, salt, baking powder, sugar, and butter in a food processor and pulse until butter is cut into the dry ingredients, about 40 times.
Add the eggs and pulse until the dough forms a ball on the blade. If the dough is dry, your eggs might have been on the small side, so mix another egg in a small bowl with a fork and dribble in additional egg bit by bit, pulse, just until the dough comes together on the blade.
Turn the dough out onto a lightly floured counter and knead briefly until it forms a smooth dough. Shape the dough into a log, wrap it in plastic wrap, and set aside while you make the filling. (Don't wash the food processor, as you can use it for the filling.)
Cut off the stems from the figs and quarter the fruit. Add to food processor along with the almonds, orange marmalade, chocolate, liquor, and cinnamon. Pulse until finely chopped. Scrape the filling onto a lightly floured surface and shape it into a log. Divide into 12 pieces.
Preheat oven to 350°F and line baking sheet with a sheet of parchment or Silpat.
Pat or roll each dough piece into an approximate 12-inch by 3-inch rectangle. Roll a piece of filling into an equally long rope and place it on the dough. Bring up each side of the dough and pinch to seal. Roll to smooth and slightly elongate each cylinder, to about 15-inches. Cut into 2.5- to 3-inch lengths. Slash from each end to just shy of the midpoint then spread the "legs" to make an X.
Continue with each piece dough and filling.
Bake for 15–20 minutes, until golden brown and exposed filling is beginning to caramelize. Transfer to rack to cool then dust with powdered sugar.