This is not a direct question about Dynare, but perhaps someone can still help me. I am working on a model with price and wage mark-up shocks under Calvo pricing, and I want to derive the log-linearized price and wage Phillips curves. Unfortunately, I am having trouble understanding how the log-linearization of the FOCs works when the mark-up is not constant but time-varying. Does anyone know of a good source where the log-linearization for this case is explained in more detail?